Twitter MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TWITTER_TOKEN | Yes | 6551 API Bearer Token (get from https://6551.io/mcp) | |
| TWITTER_API_BASE | No | Override REST API URL | |
| TWITTER_MAX_ROWS | No | Max results per query (default: 100) | 100 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_twitter_userA | Get Twitter/X user profile information by username. Args: username: Twitter username (without @, e.g. "elonmusk"). |
| get_twitter_user_by_idB | Get Twitter/X user profile information by user ID. Args: user_id: Twitter user ID (numeric string). |
| get_twitter_user_tweetsA | Get recent tweets from a specific Twitter/X user. Args: username: Twitter username (without @). limit: Maximum tweets to return (default 20, max 100). include_replies: Include reply tweets (default False). include_retweets: Include retweets (default False). |
| search_twitterA | Search Twitter/X for tweets matching criteria. Args: keywords: Search keywords. from_user: Filter tweets from specific user (without @). hashtag: Filter by hashtag (without #). min_likes: Minimum likes threshold. limit: Maximum tweets to return (default 20, max 100). |
| search_twitter_advancedB | Advanced Twitter/X search with multiple filters. Args: keywords: Search keywords. from_user: Filter tweets from specific user. to_user: Filter tweets to specific user. mention_user: Filter tweets mentioning specific user. hashtag: Filter by hashtag (without #). exclude_replies: Exclude reply tweets. exclude_retweets: Exclude retweets. min_likes: Minimum likes threshold. min_retweets: Minimum retweets threshold. min_replies: Minimum replies threshold. since_date: Start date (YYYY-MM-DD). until_date: End date (YYYY-MM-DD). lang: Language code (e.g. "en", "zh"). product: Sort by "Top" or "Latest" (default "Top"). limit: Maximum tweets to return (default 20, max 100). |
| get_twitter_follower_eventsB | Get follower/unfollower events for a Twitter/X user. Args: username: Twitter username (without @). is_follow: True for new followers, False for unfollowers. limit: Maximum events to return (default 20, max 100). |
| get_twitter_deleted_tweetsB | Get deleted tweets from a Twitter/X user. Args: username: Twitter username (without @). limit: Maximum tweets to return (default 20, max 100). |
| get_twitter_kol_followersC | Get KOL (Key Opinion Leader) followers for a Twitter/X user. Returns which influential accounts (KOLs) are following this user. Args: username: Twitter username (without @). |
| get_twitter_article_by_idC | Get Twitter article by ID. Args: article_id: Twitter article ID. |
| get_twitter_watchB | Get all Twitter monitoring users for the current user. Returns a list of Twitter accounts being monitored. |
| add_twitter_watchB | Add a Twitter user to monitoring list. Args: username: Twitter username to monitor (without @). |
| delete_twitter_watchC | Delete a Twitter user from monitoring list. Args: watch_id: The monitoring record ID to delete. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/6551Team/opentwitter-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server