X (Twitter) MCP server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TWITTER_API_KEY | Yes | Your Twitter API key from the Twitter Developer Portal | |
| TWITTER_API_SECRET | Yes | Your Twitter API secret from the Twitter Developer Portal | |
| TWITTER_ACCESS_TOKEN | Yes | Your Twitter access token from the Twitter Developer Portal | |
| TWITTER_BEARER_TOKEN | Yes | Your Twitter bearer token from the Twitter Developer Portal | |
| TWITTER_ACCESS_TOKEN_SECRET | Yes | Your Twitter access token secret from the Twitter Developer Portal |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_user_profileB | Get detailed profile information for a user |
| get_user_by_screen_nameB | Fetches a user by screen name |
| get_user_by_idB | Fetches a user by ID |
| get_user_followersC | Retrieves a list of followers for a given user |
| get_user_followingB | Retrieves users the given user is following |
| get_user_followers_you_knowC | Retrieves a list of common followers (simulated) |
| get_user_subscriptionsC | Retrieves a list of users to which the specified user is subscribed (uses following as proxy) |
| post_tweetB | Post a tweet with optional media, reply, and tags |
| delete_tweetB | Delete a tweet by its ID |
| get_tweet_detailsB | Get detailed information about a specific tweet |
| create_poll_tweetC | Create a tweet with a poll |
| vote_on_pollC | Vote on a poll (mocked) |
| favorite_tweetD | Favorites a tweet |
| unfavorite_tweetC | Unfavorites a tweet |
| bookmark_tweetB | Adds the tweet to bookmarks |
| delete_bookmarkB | Removes the tweet from bookmarks |
| delete_all_bookmarksB | Deletes all bookmarks (simulated) |
| get_timelineB | Get tweets from your home timeline (For You) |
| get_latest_timelineB | Get tweets from your home timeline (Following) |
| search_twitterC | Search Twitter with a query |
| get_trendsB | Retrieves trending topics on Twitter |
| get_highlights_tweetsC | Retrieves highlighted tweets from a user's timeline (simulated) |
| get_user_mentionsB | Get tweets mentioning a specific user |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 23 tools
Most tools have distinct purposes targeting specific resources and actions, such as get_user_by_id vs. get_user_by_screen_name for user lookup, and bookmark_tweet vs. favorite_tweet for engagement. However, there is some overlap between get_latest_timeline and get_timeline, which both retrieve home timeline tweets with only subtle differences ('Following' vs. 'For You'), potentially causing confusion for an agent.
Tool names follow a highly consistent verb_noun pattern throughout, such as get_user_by_id, delete_tweet, and post_tweet. All names use snake_case uniformly, and verbs like 'get', 'create', 'delete', and 'post' are applied predictably across similar resources, making the set easy to navigate and understand.
With 23 tools, the count is on the higher side for a Twitter API server, bordering on heavy but still within a reasonable scope given the platform's complexity. It covers many aspects like tweets, users, and engagement, but may feel slightly bloated compared to a more streamlined set of 10-15 core tools.
The tool set provides comprehensive coverage for core Twitter operations, including CRUD for tweets (post, delete), user lookup (by ID, screen name), engagement (favorite, bookmark), and timelines. Minor gaps exist, such as no direct tools for managing lists or sending direct messages, but agents can work around these with the available tools for most common workflows.