X shipped an official hosted MCP server on 30 June 2026 at api.x.com/mcp, putting more than 200 X API endpoints behind a single Streamable HTTP endpoint. Any MCP client — Claude, Cursor, Grok or your own — can search posts, resolve users, read engagement, manage bookmarks, pull trends and publish articles using your own X developer credentials.
https://api.x.com/mcp
Claude Sonnet 5
Chat with 60+ AI models on the same workflow — switch to a different model mid-conversation and re-run the same prompt, or use Compare mode to put several side-by-side and balance quality vs. cost.
Your own X developer app. Either a Bearer token from the app’s Keys and Tokens page, or OAuth 2.0 PKCE via X’s `xurl mcp` bridge for full account-scoped access with automatic token refresh.
How models use it and what it is built for.
The X MCP server is maintained by the X Developer Platform (repository xdevplatform/xmcp) and wraps the X API as MCP tools rather than raw REST calls, so a model can discover what is callable instead of being handed documentation. Reads cover full-archive post search, user and profile lookups, and engagement lists — who liked, reposted or quoted a given post — plus trends and news. Writes cover bookmarks and article publishing, and are rate-limited more strictly than reads. Authentication is your own developer app: either a static Bearer token from the app’s Keys and Tokens page, or OAuth 2.0 PKCE through X’s `xurl mcp` bridge, which refreshes tokens automatically so calls run with your account’s permissions.
Typical tools an AI model can call. Exact names vary by version.
Copy any of these into MCP Agent Studio after connecting.
Search the last 30 days for posts mentioning our product and group them by sentiment.
Who reposted our launch announcement, and which of them have over 10k followers?
What is trending in the developer community today? Summarise the top five threads.
Pull my bookmarks from this week and turn them into a reading list with one-line summaries.
This is not a single-model product: you get the same MCP connection with 40+ models (Claude, GPT, Gemini, DeepSeek, open-weight, and more), you can switch mid-conversation, and you can open Compare mode to run the same prompt against multiple models at once. The card above is a suggested starting point for this server — not the only choice.
Default pick for X (Twitter)
Claude Sonnet 5
Sonnet 5 handles the synthesis this server invites — summarising many short posts into themes — without the cost of a top-tier model on what is mostly retrieval.
Open MCP Agent Studio with the connection pre-filled. Add your token, pick any of 40+ models, and start chatting — no install required.
Open Agent StudioCommon questions about connecting, scoping and using it safely.
Yes. X launched an official hosted MCP server on 30 June 2026 at https://api.x.com/mcp, maintained by the X Developer Platform in the xdevplatform/xmcp repository. It is first-party — X hosts it on their own domain and documents it in their own developer docs — which distinguishes it from the many community Twitter MCP servers on GitHub.
Your own X developer credentials, not an MCP Playground account. The simple path is a static Bearer token from your app’s Keys and Tokens page. For full account-scoped access, X provides an `xurl mcp` bridge that handles OAuth 2.0 PKCE login and refreshes tokens automatically, so tools run with your account’s permissions.
It exposes more than 200 X API endpoints as MCP tools. Reads include full-archive post search, fetching posts, user and profile lookups, engagement lists (likers, reposters, quoters), trends and news. Writes include managing bookmarks and publishing articles. Write operations are rate-limited more strictly than reads.
No. Several community projects wrap the Twitter/X API as MCP servers and predate this one. The difference is provenance and hosting: this endpoint is run by X, tracks the X API directly, and is covered by X’s own documentation and rate limits. Community servers run wherever you deploy them and depend on their maintainer keeping up with API changes.
Yes — it is a standard Streamable HTTP MCP server, so any compliant client works, including Grok, Claude, Cursor and MCP Agent Studio. Because MCP is client-side, the model you pick is independent of the server; the same X tools behave differently depending on which model is choosing between them.