X launches hosted MCP servers for AI developer integration
In brief
- X launched hosted MCP servers at api.x.com/mcp and docs.x.com/mcp for seamless API access
- Over 200 endpoints exposed for search, user lookup, bookmarks, and article drafting
- xurl bridge manages OAuth 2.0 token caching and auto-refresh for credential management
- Compatible with Grok Build, Cursor, Claude Desktop, and VS Code GitHub Copilot
Simplifying AI Integration
X just made it dramatically easier for AI agents to talk to its platform. Before this launch, developers who wanted their AI agents to interact with X's API faced a choice: build custom integrations from scratch or rely on community-built MCP servers that X didn't officially maintain. Both paths meant overhead—time, complexity, and maintenance burden.
The hosted solution flips that script. Model Context Protocol functions as a universal adapter standardizing how AI models discover and invoke APIs in real time. Instead of each AI tool needing custom code to connect with every API, MCP creates a standard bridge.
How It Works
X's infrastructure handles the heavy lifting. The xurl bridge manages OAuth 2.0 authentication, caching tokens and auto-refreshing them without developers needing to babysit credentials. The hosted endpoints use Streamable HTTP transport with protocol version 2025-06-18.
Compatible clients span the major AI development ecosystem: Grok Build, Cursor, Claude Desktop, and Visual Studio Code with GitHub Copilot. That breadth matters. It means developers already invested in these tools can add X data access with minimal friction.
What's Available
The primary MCP server exposes over 200 X API endpoints covering search, user lookup, bookmarks, and article drafting. A secondary server at docs.x.com/mcp handles documentation retrieval, letting developers query X's API docs on the fly without leaving their IDE.
This moves the needle on developer experience. No local installation. No credential juggling. No building bespoke connectors. For teams building AI agents that need real-time X data, the friction dropped significantly.


