XMCP - Call the X API
A local MCP server that loads the X API OpenAPI spec and turns 200+ operations into callable tools. Create posts, search, look up users, manage lists, and more.
Set up the XMCP server, the hosted Docs MCP, and the full X Developer Platform agent toolchain - llms.txt, skill.md, AGENTS.md, and the OpenAPI tool surface.
The X Developer Platform ships two Model Context Protocol servers. They are complementary and can run side by side.
| Server | What it does | Where it runs |
|---|---|---|
| XMCP | Calls X API endpoints - create posts, search, look up users, manage likes and lists | Local: http://127.0.0.1:8000/mcp |
| Docs MCP | Searches and reads the X API documentation | Hosted: https://docs.x.com/mcp |
Point an MCP-compatible client (Cursor, Windsurf, Claude, or your own agent) at one or both, and your assistant can look up documentation and call the live API.
Fresh Reference compiled 2026-05-24 from the official X Developer Platform documentation.