Configure Twitter MCP in Cursor
Add X MCP to Cursor in a few steps.
- Download and install x-mcp (see Install x-mcp). Ensure the binary is on your PATH or note its full path.
- 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).
- 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.
- Save and restart MCP if needed. Verify by asking Cursor to use a Twitter MCP tool (e.g. search tweets).
Get API Key