XAgent

Configure Twitter MCP in Cursor

Add X MCP to Cursor in a few steps.

  1. Download and install x-mcp (see Install x-mcp). Ensure the binary is on your PATH or note its full path.
  2. In Cursor, open Settings → MCP (or Features → MCP). Add a new server, choose Command/Stdio, and set the command to x-mcp (or the full path to the binary).
  3. Pass your API key: in the server config, add an argument or environment variable (e.g. TWITTER_API_KEY) with your key from getxagent.com.
  4. Save and restart MCP if needed. Verify by asking Cursor to use a Twitter MCP tool (e.g. search tweets).

Get API Key

Configure Twitter MCP in Cursor | XAgent Docs