Skip to content
Cursor

twitterapi for Cursor

io.github.pedrot95dev/twitterapi

Read/write X (Twitter) via twitterapi.io: mentions, thread context, create and delete tweets.

client:Cursor transport:stdio runtime:npm

Install twitterapi in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "twitterapi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pedrot95dev/twitterapi.mcp"
      ],
      "env": {
        "TWITTERAPI_IO_KEY": "<TWITTERAPI_IO_KEY>",
        "TWITTERAPI_IO_AUTH_TOKEN": "<TWITTERAPI_IO_AUTH_TOKEN>",
        "TWITTERAPI_IO_CT0": "<TWITTERAPI_IO_CT0>",
        "TWITTERAPI_IO_PROXY": "<TWITTERAPI_IO_PROXY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

twitterapi in other clients