x-v2-server
3
X(Twitter) V2 MCP Server is an MCP server implementation designed to facilitate interactions with the Twitter/X API v2. It enables advanced functionalities such as retrieving and posting tweets and managing Twitter lists, making it useful for AI assistants.
X(Twitter) V2 MCP Server
An MCP server implementation offering tools for interacting with the Twitter/X API v2. It enables AI assistants to retrieve tweets, post new content, reply to tweets, quote tweets, and more programmatically.
Tools
- get_tweets_by_userid: Retrieve tweets from a user's timeline.
- get_tweet_by_id: Retrieve a tweet by its ID.
- get_user_mentions: Retrieve tweets mentioning a user.
- quote_tweet: Create a quote tweet.
- reply_to_tweet: Reply to a tweet.
- post_tweet: Post a new tweet.
- like_tweet: Like a tweet.
- follow_user: Follow a user.
- unfollow_user: Unfollow a user.
- get_user_by_username: Get user information by username.
- search_tweets: Search for tweets.
- get_trending_topics: Get trending topics for a location.
- create_list: Create a Twitter list.
- add_list_member: Add a user to a list.
- remove_list_member: Remove a user from a list.
- get_owned_lists: Get lists owned by the user.
Env Configuration
Configure the application with tokens obtained from the X Developer Dashboard for API authentication.