Skip to content

X MCP & Agent ToolingConnect AI tools to the X API

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.

Two servers, one platform

The X Developer Platform ships two Model Context Protocol servers. They are complementary and can run side by side.

ServerWhat it doesWhere it runs
XMCPCalls X API endpoints - create posts, search, look up users, manage likes and listsLocal: http://127.0.0.1:8000/mcp
Docs MCPSearches and reads the X API documentationHosted: 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.