Skip to main content
Resources for connecting AI tools to the X API and its documentation.

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.
ResourceWhat it doesURL
XMCPMCP server — agents can create posts, search, look up users, etc.github.com/xdevplatform/xmcp
OpenAPI SpecMachine-readable API definition for code generation and agent toolingapi.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.
ResourceWhat it doesURL
llms.txtDocumentation index — page titles, URLs, and descriptionsdocs.x.com/llms.txt
llms-full.txtComplete docs in a single file for full-context loadingdocs.x.com/llms-full.txt
skill.mdCapability summary — actions, inputs, and constraintsdocs.x.com/skill.md
Docs MCPMCP server — agents can search and read doc pages on the flydocs.x.com/mcp