Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.x.com/llms.txt

Use this file to discover all available pages before exploring further.

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 and read these docs on the fly. OpenAPI Spec — Machine-readable API definition (https://api.x.com/2/openapi.json) 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 / llms-full.txt — Documentation index and full-content Markdown files for LLMs to ingest. skill.md — Capability summary (agentskills.io) that tells agents exactly what actions, parameters, and constraints exist. Docs MCP — Search and read any documentation page directly 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