X(Twitter) MCP Server
The X(Twitter) MCP Server allows you to create, manage, and publish X/Twitter posts directly through Claude chat.
Create single draft tweets
Create draft tweet threads
List all existing drafts
Publish drafts to X/Twitter
Delete drafts from the system
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) MCP ServerTweet 'Just launched our new AI feature - check it out! 🚀 #AI #Tech'"
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 server
An MCP server to create, manage and publish X/Twitter posts directly through Claude chat.
Quick Setup
Installing via Smithery
To install X(Twitter) MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install x-mcp --client claudeManual Installation
Clone the repository:
git clone https://github.com/yourusername/x-mcp.gitInstall UV globally using Homebrew in Terminal:
brew install uvCreate claude_desktop_config.json:
For MacOS: Open directory
~/Library/Application Support/Claude/and create the file inside itFor Windows: Open directory
%APPDATA%/Claude/and create the file inside it
Add this configuration to claude_desktop_config.json:
{
"mcpServers": {
"x_mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/x-mcp",
"run",
"x-mcp"
],
"env": {
"TWITTER_API_KEY": "your_api_key",
"TWITTER_API_SECRET": "your_api_secret",
"TWITTER_ACCESS_TOKEN": "your_access_token",
"TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret"
}
}
}
}Get your X/Twitter API credentials:
Go to X API Developer Portal
Create a project
In User Authentication Settings: Set up with Read and Write permissions, Web App type
Set Callback URL to
http://localhost/and Website URL tohttp://example.com/Generate and copy all keys and tokens from Keys and Tokens section
Update the config file:
Replace
/path/to/x-mcpwith your actual repository pathAdd your X/Twitter API credentials
Quit Claude completely and reopen it
Related MCP server: thread-storm
Usage Examples
"Tweet 'Just learned how to tweet through AI - mind blown! 🤖✨'"
"Create a thread about the history of pizza"
"Show me my draft tweets"
"Publish this draft!"
"Delete that draft"
Troubleshooting
If not working:
Make sure UV is installed globally (if not, uninstall with
pip uninstall uvand reinstall withbrew install uv)Or find UV path with
which uvand replace"command": "uv"with the full pathVerify all X/Twitter credentials are correct
Check if the x-mcp path in config matches your actual repository location
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables Claude to interact with Twitter, allowing for posting tweets and searching Twitter content.Last updated2448402MIT
- Alicense-qualityDmaintenanceMCP server for publishing threads to Threads and Twitter/X simultaneously from Claude Code. Journal your thoughts, convert them to viral threads, and post everywhere at once.Last updatedMIT
- Alicense-qualityDmaintenanceA Model Context Protocol (MCP) server that enables Claude to automate Twitter posting with AI-generated images and thread support.Last updated6MIT
- FlicenseAqualityBmaintenanceA local MCP server that lets Claude post to social media via upload-post.com — text, photos, and videos across 13 platforms.Last updated17
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server for Grok Imagine AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vidhupv/x-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server