Connect X Docs to your agents
A trial starts first, then a project installs X Docs from its marketplace.
X Docs MCP server
Let agents read X Docs and the OpenAPI specs before writing X API code
Install the X Docs MCP server in an Aldena project, with no account, and agents search X's developer docs and browse its pages and OpenAPI specs like files.
- Sign-in
- None
- Installs as
x-docs- Transport
- Streamable HTTP
X publishes its developer documentation through a hosted MCP server, and it installs with no account or key. It has three tools: search_x searches docs, guides, code examples and API references, query_docs_filesystem_x lets the agent browse every docs page and OpenAPI spec as a read-only virtual file tree, and submit_feedback reports a page that is wrong or out of date.
In an Aldena project the server is reference material for agents writing code against X. An engineering agent adding a feature that reads posts searches the docs for the endpoint, opens its OpenAPI spec to get the exact fields, writes the client and types in its conversation's sandbox, and opens a pull request through the GitHub connector. When a request fails, the agent checks the documented rate limits and error codes before changing anything. Teams building integrations often pair it with the Context7 MCP server for the libraries around the API.
The two lookup tools start on allow and submit_feedback on ask in the project's permissions.
With X Docs, your agents can
Search X's developer documentation, guides and code examples
Browse X's docs and OpenAPI specs as a read-only file tree
Report a wrong or outdated docs page to X's docs team
Try asking
Things to ask an agent in a project chat once it's installed.
“Search the X docs for how pagination works on the recent search endpoint and update our fetcher to follow next_token.”
“Find the OpenAPI spec for the X API users lookup endpoint in the X docs and generate TypeScript types for its response.”
“Look up the X API rate limits for posting in the X docs and tell me how our queue should space out requests.”
X Docs MCP tools
| Tool | What it does | Access |
|---|---|---|
search_xSearches X's knowledge base for docs, code examples, API references and guides | Searches X's knowledge base for docs, code examples, API references and guides | Read |
query_docs_filesystem_xRuns read-only, shell-like queries over a virtual tree of X's docs and OpenAPI specs | Runs read-only, shell-like queries over a virtual tree of X's docs and OpenAPI specs | Read |
submit_feedbackReports an incorrect, outdated or confusing docs page to X's docs team | Reports an incorrect, outdated or confusing docs page to X's docs team | Write |
Server
- Server URL
https://docs.x.com/mcp- Website
- developer.x.com
- MCP docs
- X Docs MCP docs
How to connect X Docs
- Open Marketplace
In a project, open Settings → Connectors → MCP servers and press Marketplace.
- Install X Docs
Search for X Docs and press Install. Aldena adds it as
x-docs. - Nothing to sign in to
Aldena installs X Docs with no sign-in or key, so its tool calls carry no credentials.
- Let agents use it
Agents find its tools with
mcp_searchand call them withmcp_call. Each tool gets its own row in the project's permissions.
Related MCP servers
FAQ
What is query_docs_filesystem_x?
A read-only, shell-like view of X's documentation. The docs pages and OpenAPI specs sit in a virtual, in-memory file tree, and the agent lists and reads them with familiar commands. Nothing runs on a real machine, and the tool can't touch your sandbox or any other files.
Which X Docs tools need approval in Aldena?
Only submit_feedback. X marks search_x and query_docs_filesystem_x read-only, so they start on allow and an agent looks things up without waiting. submit_feedback sends a report to X's docs team, so it starts on ask in the project's permissions.
Why use X Docs instead of letting the agent guess?
The X API has changed a lot over the years, and a model's memory mixes old and new versions. Reading the current docs and OpenAPI specs gives the agent the endpoint, fields and limits as they are today, so the code works against the API X actually serves.
Ready when you are
Spin up your first project.
One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.