X (Twitter)
JSON →An MCP server for interacting with the X (Twitter) API, requiring developer credentials.
Install
npx -y @smithery/cli Tools · 20
- 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
Environment variables
TWITTER_API_KEYTWITTER_API_SECRETTWITTER_ACCESS_TOKENTWITTER_ACCESS_TOKEN_SECRETTWITTER_BEARER_TOKENTWITTER_OAUTH2_USER_ACCESS_TOKENYOUR_CLIENT_IDYOUR_CLIENT_SECRETYOUR_KEYYOUR_SECRETYOUR_TOKENYOUR_TOKEN_SECRET
Links
★ 31 GitHub stars