Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port to run the MCP server on (default: 3000) | |
| NODE_ENV | No | Environment (development, production) | |
| LOG_LEVEL | No | Logging level (error, warn, info, debug) | |
| AUTH_METHOD | No | Authentication method to use: 'cookies', 'credentials', or 'api' | |
| TWITTER_EMAIL | No | Your Twitter email address (optional for credentials authentication) | |
| TWITTER_API_KEY | No | Your Twitter API key (for API authentication) | |
| TWITTER_COOKIES | No | JSON array of Twitter cookies strings (required for cookie authentication). Essential cookies are auth_token, ct0, and twid. | |
| TWITTER_PASSWORD | No | Your Twitter password (for credentials authentication) | |
| TWITTER_USERNAME | No | Your Twitter username (for credentials authentication) | |
| TWITTER_2FA_SECRET | No | Your Twitter 2FA secret (required if 2FA is enabled for credentials authentication) | |
| TWITTER_ACCESS_TOKEN | No | Your Twitter access token (for API authentication) | |
| TWITTER_API_SECRET_KEY | No | Your Twitter API secret key (for API authentication) | |
| TWITTER_ACCESS_TOKEN_SECRET | No | Your Twitter access token secret (for API authentication) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_user_tweets | Fetch tweets from a specific user |
| get_tweet_by_id | Fetch a specific tweet by ID |
| search_tweets | Search for tweets by keyword |
| send_tweet | Post a new tweet |
| send_tweet_with_poll | Post a tweet with a poll |
| like_tweet | Like a tweet |
| retweet | Retweet a tweet |
| quote_tweet | Quote a tweet |
| get_user_profile | Get a user's profile information |
| follow_user | Follow a Twitter user |
| get_followers | Get a user's followers |
| get_following | Get users a user is following |
| grok_chat | Chat with Grok via Twitter |
| health_check | Check the health of the Twitter MCP server |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |