MCP Servers / communication / X (Twitter)

X (Twitter)

JSON →
stdionone★ 31communication

An MCP server for interacting with the X (Twitter) API, requiring developer credentials.

Install
How to run this server
[ { "cmd": "npx -y @smithery/cli", "imports": [] } ]
server path: x-twitter-3
Tools
What this server exposes
get_user_profile
Retrieve a user's profile information by username or user ID
get_user_tweets
Fetch recent tweets from a specific user's timeline
search_tweets
Search for tweets matching a query string
get_tweet
Retrieve a single tweet by its ID
post_tweet
Post a new tweet to the authenticated user's account
delete_tweet
Delete a tweet by its ID
like_tweet
Like a tweet by its ID
unlike_tweet
Unlike a tweet by its ID
retweet
Retweet a tweet by its ID
unretweet
Unretweet a tweet by its ID
follow_user
Follow a user by their username or user ID
unfollow_user
Unfollow a user by their username or user ID
get_user_followers
Get a list of followers for a specified user
get_user_following
Get a list of users that a specified user is following
get_trends
Get current trending topics for a specific location (WOEID)
get_mentions
Get mentions of the authenticated user
send_direct_message
Send a direct message to a user
get_direct_messages
Get direct messages for the authenticated user
get_list_tweets
Get tweets from a Twitter list by list ID
get_user_liked_tweets
Get tweets liked by a specific user
Configuration
Environment & auth
authnone
envTWITTER_API_KEY
envTWITTER_API_SECRET
envTWITTER_ACCESS_TOKEN
envTWITTER_ACCESS_TOKEN_SECRET
envTWITTER_BEARER_TOKEN
envTWITTER_OAUTH2_USER_ACCESS_TOKEN
envYOUR_CLIENT_ID
envYOUR_CLIENT_SECRET
envYOUR_KEY
envYOUR_SECRET
envYOUR_TOKEN
envYOUR_TOKEN_SECRET
Resources
X (Twitter) — MCP Server · libregistry