This Twitter MCP server, developed by Dennison Bertram, enables Large Language Models (LLMs) to interact with Twitter (X) through the Model Context Protocol. Built with TypeScript and leveraging the Twitter API v2, it provides tools for posting tweets, searching tweets, and replying to tweets. The implementation stands out by offering a straightforward setup process and integration with Claude Desktop, making it accessible for users without extensive technical knowledge. It's particularly useful for AI assistants or applications needing to automate Twitter interactions, conduct social media research, or manage Twitter accounts programmatically, enabling tasks like sentiment analysis, trend monitoring, or automated customer engagement.
Post a new tweet. Parameters: text (string)
Post a tweet with media attachment. Parameters: text (string), mediaPath (string), mediaType (string), altText (optional string)
Get a specific tweet by ID. Parameters: tweetId (string), tweetFields (array of strings)
Reply to an existing tweet. Parameters: tweetId (string), text (string)
Delete a tweet. Parameters: tweetId (string)
Search for tweets. Parameters: query (string), maxResults (integer), tweetFields (array of strings)
Get analytics for a hashtag. Parameters: hashtag (string), startTime (string), endTime (string)
Get user information. Parameters: username (string), fields (array of strings)
Get user's tweets. Parameters: username (string), maxResults (integer), tweetFields (array of strings)
Get user's followers. Parameters: username (string), maxResults (integer), userFields (array of strings)
Get accounts a user follows. Parameters: username (string), maxResults (integer), userFields (array of strings)
Like a tweet. Parameters: tweetId (string)
Unlike a tweet. Parameters: tweetId (string)
Retweet a tweet. Parameters: tweetId (string)
Undo a retweet. Parameters: tweetId (string)
Get users who retweeted a tweet. Parameters: tweetId (string), maxResults (integer), userFields (array of strings)
Get tweets liked by a user. Parameters: userId (string), maxResults (integer), tweetFields (array of strings)
Create a new list. Parameters: name (string), description (string), isPrivate (boolean)
Add a user to a list. Parameters: listId (string), username (string)
Remove a user from a list. Parameters: listId (string), username (string)
Get members of a list. Parameters: listId (string), maxResults (integer), userFields (array of strings)
No reviews yet. Be the first to review!
Sign in to join the conversation