Use the X API from AI tools
Give your AI agent the ability to call X API endpoints directly.MCP Servers
XMCP exposes 200+ X API endpoints as callable MCP tools. Docs MCP lets agents search these docs.
OpenAPI Spec
Machine-readable API definition for auto-generating clients or feeding into agents.
| Resource | What it does | URL |
|---|---|---|
| XMCP | MCP server — agents can create posts, search, look up users, etc. | github.com/xdevplatform/xmcp |
| OpenAPI Spec | Machine-readable API definition for code generation and agent tooling | api.x.com/2/openapi.json |
Read X API docs from AI tools
Give your AI agent context on how the X API works.llms.txt
Documentation index and full-content files for LLMs to ingest.
skill.md
Capability summary that tells agents what actions are possible with the X API.
Docs MCP
Search and read documentation pages from your AI assistant via MCP.
| Resource | What it does | URL |
|---|---|---|
| llms.txt | Documentation index — page titles, URLs, and descriptions | docs.x.com/llms.txt |
| llms-full.txt | Complete docs in a single file for full-context loading | docs.x.com/llms-full.txt |
| skill.md | Capability summary — actions, inputs, and constraints | docs.x.com/skill.md |
| Docs MCP | MCP server — agents can search and read doc pages on the fly | docs.x.com/mcp |