Skip to main content
Glama
6551Team

Twitter MCP Server

by 6551Team

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TWITTER_TOKENYes6551 API Bearer Token (get from https://6551.io/mcp)
TWITTER_API_BASENoOverride REST API URL
TWITTER_MAX_ROWSNoMax results per query (default: 100)100

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_twitter_user

Get Twitter/X user profile information by username.

Args: username: Twitter username (without @, e.g. "elonmusk").

get_twitter_user_by_id

Get Twitter/X user profile information by user ID.

Args: user_id: Twitter user ID (numeric string).

get_twitter_user_tweets

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_twitter

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_advanced

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_events

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_tweets

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_followers

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_id

Get Twitter article by ID.

Args: article_id: Twitter article ID.

get_twitter_watch

Get all Twitter monitoring users for the current user.

Returns a list of Twitter accounts being monitored.

add_twitter_watch

Add a Twitter user to monitoring list.

Args: username: Twitter username to monitor (without @).

delete_twitter_watch

Delete a Twitter user from monitoring list.

Args: watch_id: The monitoring record ID to delete.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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