Connect Grok, Cursor, or any MCP-compatible AI tool to the X API.
The server itself is hosted at api.x.com/mcp, so there is nothing to run, but you do still authenticate. For read-only you create an X app in the developer portal and pass an app-only bearer token.
For read and write with your own account, it is OAuth2 plus a local xurl bridge spawned through npx, which pops a one-time browser login and then caches and refreshes the token after that.
That bridge is the piece that actually connects Grok, Cursor, or any MCP client to the API.