Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@X (Twitter) MCPPost a tweet saying 'Hello world from my new MCP integration!'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
X (Twitter) MCP
A simple Model Context Protocol server for Twitter/X. Post tweets, threads, and get metrics.
Features
Tool | Description |
| Verify auth, get your profile info |
| Post a single tweet (max 280 chars) |
| Post a thread (separate tweets with |
| Get tweet details and metrics |
| Delete a tweet |
| Reply to a tweet |
Requirements
Python 3.10+
Twitter API credentials (OAuth 1.0a)
Setup
1. Get Twitter API Credentials
Go to Twitter Developer Portal
Create a project and app
Enable OAuth 1.0a with read and write permissions
Generate Access Token and Secret
2. Install
3. Configure
Edit .env with your credentials:
4. Add to Claude Code
Add to your .mcp.json or Claude Code config:
Usage
Post a tweet
Post a thread
Separate tweets with \n\n---\n\n:
Get tweet metrics
Returns likes, retweets, replies, impressions, quotes, and bookmarks.
Roadmap
Upload media (images, video)
Quote tweet
Batch metrics
License
MIT