Configure X MCP in Claude Desktop
Add Twitter MCP to Claude Desktop.
- Download and install x-mcp (see Install x-mcp). Ensure the binary is on your PATH or note its full path.
- In Claude Desktop, open Settings → Developer → MCP Servers. Add a new server with the command set to x-mcp (or full path) and pass your API key via environment (e.g. TWITTER_API_KEY) or args.
- Save and restart Claude Desktop. Try a request that uses Twitter (e.g. search tweets) to verify.
Get API Key