X Launches Hosted MCP Servers: Connect Cursor, Claude, and Grok to the X API
X shipped hosted MCP at api.x.com/mcp and docs.x.com/mcp β search posts, trends, bookmarks, and publish Articles from Cursor, Claude, Grok, or VS Code via xurl OAuth.
June 30, 2026:@XDevelopers announced hosted MCP servers β agents can call the X API without building a custom integration. Elon Musk quoted the thread: "Try it out." The same week Cursor shipped its iOS app, X closed the loop on real-time social data inside agent workflows.
If you already use MCP in Cursor or Claude Code, this is the first first-party hosted MCP from a major platform at production scale β search posts, pull trends, manage bookmarks, even draft and publish Articles, all with your account's OAuth permissions.
Browse more MCP servers:explainx.ai/mcp-servers β our searchable directory with categories from devtools to CRM.
Why hosted MCP matters
Until now, giving an agent live X data meant: register a developer app, wire REST endpoints, handle rate limits, refresh tokens, and wrap everything in a custom MCP server you maintain. That is exactly the NΓM problem Model Context Protocol was designed to collapse.
X's move is different from a random npm package:
Hosted Streamable HTTP at api.x.com/mcp (protocol 2025-06-18, serverInfo: xmcp)
Official docs MCP so agents look up endpoint schemas without hallucinating parameters
First-class client configs for Cursor, Claude, Grok Build, and VS Code in the official guide
For teams building agentic research loops, social listening, or content pipelines β the agent can query the same real-time graph humans scroll, with structured tools instead of scraped HTML.
Architecture β why you still run xurl mcp
X's OAuth requires your own developer app. There is no dynamic client registration, and api.x.com/mcp does not advertise native MCP OAuth discovery. So X ships a local bridge:
On first use, your browser opens for OAuth β complete once
Pair with Cursor for iOS and you can monitor agent runs on your phone while the desktop session calls X tools.
Startup timeout: if the client times out waiting for browser login, set startup timeout β₯ 300 seconds in clients that support it (Grok Build documents this explicitly).
Restart Claude Desktop. X tools appear in the tools menu. See our full Claude Code MCP servers guide for project-level configs and /mcp troubleshooting.
Use both servers together: docs MCP when the agent needs parameter shapes; xapi when it needs live data.
App-only shortcut (read-only, no bridge)
For read endpoints only, advanced users can point a client directly at the URL with a static App-only Bearer token β no auto-refresh, no user context:
X MCP is the data layer β Cursor iOS is the control layer β Grok is the model layer. Together they sketch the SpaceX-adjacent agent stack without waiting for Composer 3.
X MCP server URLs, xurl bridge behavior, and OAuth requirements accurate as of June 30, 2026 per docs.x.com/tools/mcp. Verify current setup steps before production use.