Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| X_MCP_GROUPS | No | Comma-separated list of tool groups for custom profile (e.g., 'research,engage,publish'). | research |
| X_MCP_PROFILE | No | Permission profile to use (researcher, creator, manager, automation, custom). | researcher |
| TWITTER_API_KEY | Yes | Twitter/X API Key from developer.twitter.com | |
| TWITTER_API_SECRET | Yes | Twitter/X API Secret from developer.twitter.com | |
| X_MCP_ENABLED_TOOLS | No | Comma-separated list of specific tools to force-enable. | |
| TWITTER_ACCESS_TOKEN | Yes | Twitter/X Access Token from developer.twitter.com | |
| TWITTER_BEARER_TOKEN | Yes | Twitter/X Bearer Token from developer.twitter.com | |
| X_MCP_DISABLED_TOOLS | No | Comma-separated list of specific tools to disable. | |
| TWITTER_ACCESS_TOKEN_SECRET | Yes | Twitter/X Access Token Secret from developer.twitter.com |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tasks | {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
},
"prompts": {
"get": {}
},
"resources": {
"read": {}
}
}
} |
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_user_profile | Get detailed profile information for a user |
| get_user_by_screen_name | Fetches a user by screen name |
| get_user_by_id | Fetches a user by ID |
| get_user_followers | Retrieves a list of followers for a given user |
| get_user_following | Retrieves users the given user is following |
| get_user_followers_you_know | Retrieves common followers between you and a user |
| get_user_subscriptions | Retrieves users a user is subscribed to |
| get_tweet_details | Get detailed information about a specific tweet |
| get_user_tweets | Get tweets posted by a specific user |
| get_liked_tweets | Get tweets liked by a specific user |
| get_timeline | Get tweets from your home timeline (For You) |
| get_latest_timeline | Get tweets from your home timeline (Following) |
| get_user_mentions | Get tweets mentioning a specific user |
| get_highlights_tweets | Retrieves highlighted tweets from a user's timeline |
| search_twitter | Search Twitter with a query, includes engagement metrics and author info |
| search_articles | Search for tweets that contain X articles on a topic |
| get_trends | Retrieves trending topics on Twitter |
| get_article | Fetch full content of an X/Twitter article from a tweet or article URL |
| favorite_tweet | Like a tweet |
| unfavorite_tweet | Unlike a tweet |
| bookmark_tweet | Add a tweet to bookmarks |
| delete_bookmark | Remove a tweet from bookmarks |
| get_bookmarks | Get your bookmarked tweets |
| delete_all_bookmarks | Delete all bookmarks |
| retweet | Retweet a tweet |
| unretweet | Remove a retweet |
| get_retweets | Get users who retweeted a tweet |
| post_tweet | Post a tweet with optional media, reply, and tags |
| delete_tweet | Delete a tweet by its ID |
| quote_tweet | Quote tweet with your comment |
| create_thread | Post a thread of multiple tweets |
| create_poll_tweet | Create a tweet with a poll |
| vote_on_poll | Vote on a poll (not supported by API) |
| follow_user | Follow a user |
| unfollow_user | Unfollow a user |
| block_user | Block a user |
| unblock_user | Unblock a user |
| get_blocked_users | Get list of blocked users |
| mute_user | Mute a user |
| unmute_user | Unmute a user |
| get_muted_users | Get list of muted users |
| get_conversation | Get full conversation/thread for a tweet |
| get_replies | Get replies to a specific tweet |
| get_quote_tweets | Get tweets that quote a specific tweet |
| hide_reply | Hide a reply to your tweet |
| unhide_reply | Unhide a previously hidden reply |
| create_list | Create a new list |
| delete_list | Delete a list |
| update_list | Update a list's name, description, or privacy |
| get_list | Get details about a specific list |
| get_user_lists | Get lists owned by a user |
| get_list_tweets | Get tweets from a list's timeline |
| get_list_members | Get members of a list |
| add_list_member | Add a user to a list |
| remove_list_member | Remove a user from a list |
| follow_list | Follow a list |
| unfollow_list | Unfollow a list |
| pin_list | Pin a list to your profile |
| unpin_list | Unpin a list from your profile |
| send_dm | Send a direct message to a user |
| get_dm_conversations | Get your DM conversations |
| get_dm_events | Get messages in a DM conversation |
| get_me | Get your own user profile |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |