X-MCP Server enables direct Twitter/X post management and publishing through Claude chat interactions
X-MCP Server enables direct Twitter/X post management and publishing through Claude chat interactions.
Social Media Management
Configuration Setup
{
"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"
}
}
}
}
Installation
# Using Smithery (recommended)
npx -y @smithery/cli install x-mcp --client claude
# Manual installation
brew install uv
git clone https://github.com/vidhupv/x-mcp.git
| Platform | Config Location | |----------|----------------| | macOS | ~/Library/Application Support/Claude | | Windows | %APPDATA%/Claude |
The server requires X/Twitter API credentials with Read and Write permissions, configured through the X API Developer Portal.