XAgent

Configure X MCP in Claude Desktop

Add Twitter MCP to Claude Desktop.

  1. Download and install x-mcp (see Install x-mcp). Ensure the binary is on your PATH or note its full path.
  2. 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.
  3. Save and restart Claude Desktop. Try a request that uses Twitter (e.g. search tweets) to verify.

Get API Key

Configure X MCP in Claude Desktop | XAgent Docs