by vidhupv
Create, manage, and publish X/Twitter posts directly through Claude chat.
Enables users to compose tweets, build threads, handle drafts, publish, and delete posts on X/Twitter via conversational commands in Claude.
npx -y @smithery/cli install x-mcp --client claude
brew install uv
), and run it with the provided configuration.claude_desktop_config.json
in the Claude data folder.mcpServers
that points to the server executable (see serverConfig
below).What credentials are required? You need the API key, API secret, access token, and access token secret from the X/Twitter Developer Portal.
Do I need to install UV?
Yes, the manual setup runs the server with UV. Install it globally via Homebrew (brew install uv
).
Can I use Smithery instead?
Absolutely – the one‑line npx
command installs and registers the server automatically.
Where do I place the configuration file?
~/Library/Application Support/Claude/
%APPDATA%/Claude/
What if the server does not start? Verify UV is in your PATH, confirm the repository path in the config, and double‑check all API credentials.
An MCP server to create, manage and publish X/Twitter posts directly through Claude chat.
To install X(Twitter) MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install x-mcp --client claude
git clone https://github.com/yourusername/x-mcp.git
brew install uv
Create claude_desktop_config.json:
~/Library/Application Support/Claude/
and create the file inside it%APPDATA%/Claude/
and create the file inside itAdd 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:
http://localhost/
and Website URL to http://example.com/
Update the config file:
/path/to/x-mcp
with your actual repository pathQuit Claude completely and reopen it
If not working:
pip uninstall uv
and reinstall with brew install uv
)which uv
and replace "command": "uv"
with the full pathPlease log in to share your review and rating for this MCP.
{ "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>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by lharries
Enables searching, reading, and sending personal WhatsApp messages and media through a Model Context Protocol (MCP) server, storing all data locally in SQLite and exposing controlled tools for LLMs like Claude.
by iFurySt
Provides authenticated access to XiaoHongShu (RedNote) notes, supporting keyword search, note retrieval by URL, and cookie persistence via a Model Context Protocol server.
by korotovsky
Provides a powerful Model Context Protocol interface for Slack workspaces, enabling message retrieval, search, and optional posting via Stdio or SSE transports without requiring bot permissions.
by ZubeidHendricks
Provides a standardized interface for interacting with YouTube content, enabling video retrieval, transcript access, channel and playlist management, and advanced analytics through the Model Context Protocol.
by InditexTech
Provides Microsoft Teams integration via the Model Context Protocol, enabling reading, creating, replying to messages and mentioning members.
by chigwell
Provides a full‑featured Telegram integration for MCP‑compatible clients, enabling programmatic access to chats, messages, contacts, profile management, and group administration.
by EnesCinr
Interact with Twitter to post tweets and search tweets programmatically via an MCP server.
by chaindead
Manages Telegram dialogs, messages, drafts, and read statuses via the Model Context Protocol, enabling AI assistants to query and interact with Telegram accounts.
by carterlasalle
Securely interfaces with the macOS Messages database via MCP, enabling LLMs to query, analyze, filter, and send iMessage or SMS communications with built‑in phone number validation, attachment handling, and group chat support.