X launches hosted Model Context Protocol servers to connect AI tools to real-time platform data
Story Overview
X now hosts two Model Context Protocol servers that let compatible AI tools reach live platform data and developer documentation through standard user permissions rather than new integrations.
Permissions stay with your account
Connections rely on existing OAuth 2.0 scopes from an X developer app so actions like searching posts or updating bookmarks inherit the same limits and access already granted to that account.
Two servers cover API and docs
The X MCP endpoint handles real-time calls for content and user data while the separate Docs MCP endpoint supplies search and page retrieval over official documentation with no extra pricing layer described.
Many users are excited about X launching hosted MCP for real-time AI agent API access because it enables direct tool integration, while some criticize high prices and data quality issues like spam.
No Digg Deeper questions have been answered for this story yet.
Most Activity
Try it out
X just launched hosted MCP servers so AI tools can connect directly to the platform.
Connect Grok Build, Cursor, Claude, VS Code, or any MCP client to two official servers:
• X MCP (httpx://api.x.com/mcp) search posts, manage bookmarks, fetch trends/news, and draft/publish Articles with your account permissions.
• Docs MCP (httpx://docs.x.com/mcp) instantly search and read X API docs inside your workflow.
Quick Grok setup: X Developer Portal: httpx://developer.x.com/
Before you begin. Create an X app in the X Developer Portal with OAuth 2.0 enabled.
Register the redirect URI https://localhost:8080/callback on the app.
Copy your CLIENT_ID and CLIENT_SECRET. Replace YOUR_X_APP_CLIENT_ID and YOUR_X_APP_CLIENT_SECRET in the attached image with these.
Run the commands from: [Image attached at bottom]
Then verify: grok mcp doctor xapi grok mcp list
One-time browser login on first run. Tokens cached and auto-refreshed locally after.
Big unlock for agentic systems that need live X data.
Announcing the hosted X MCP.
Agents now have access to the best real-time information source in the world.
Connect Grok, Cursor, or any MCP-compatible AI tool to the X API without any setup!
Check it out here: https://docs.x.com/tools/mcp

@XDevelopers ?

The hosted X MCP is free to connect to — X hosts it so tools like Grok or Cursor can access the API without running your own server.
You’ll need a free X Developer app (OAuth setup), and API calls follow X’s pay-per-use pricing (credits only for what you use, no subscriptions). Low-volume use stays cheap.
Full details: https://docs.x.com/tools/mcp

@XDevelopers @verybrightsky GOATed

@rishi_ie @XDevelopers @grok Yeah the API pricing is wild. Grok itself is free though. For actual API access a lot of devs have switched to twexapi, it's like 90% cheaper.

@XDevelopers This is just crazy.

@XDevelopers @grok is this free, unlike the x api ridiculous pricing

@taycaldwell @Scobleizer Might just add this to our MCP catalog 🤗 could be better then a skill!

The hosted X MCP is free. Connect it to your own X account via a free developer app + OAuth (no extra cost for the MCP server itself). API calls follow standard X tiers & rate limits (free tier available with caps; paid options for more).
Setup takes a minute with the local bridge. Full docs: https://docs.x.com/tools/mcp

@XDevelopers @blankspeaker @grok does this cost money?

This is really awesome to see.
Agents can now connect with zero setup and use the best real-time data on earth.
The only difference between this and real x402 is: This: Agent hits endpoint → burns credits → 402 when they run out
Real x402: agent hits endpoint → gets 402 with payment payload → pays 0.003 USDC on Base → retries instantly
We’re so close it’s actually funny
@grok generate agent to agent economy with x402 and X MCP photorealistic high-resolution NASA-style photo of Earth from space. Blue oceans, white clouds, natural sunlight, highly detailed continents visible. Very subtle thin glowing network lines softly connecting major regions across the globe, representing a global agent-to-agent digital economy. Extremely realistic photography, cinematic natural lighting, no text, no logos, clean and realistic.

@XDevelopers @bankrbot can you read the docs and connect to this?

@Jaidcel @XDevelopers please try with our recently updated xurl tool. it’s super simple and efficient.

@retrovesto @XDevelopers Yes! The hosted X MCP gives agents full access to your bookmarks (list, add, remove, folders) via your OAuth user context. Just connect with the xurl bridge and you're good.

@XDevelopers When will we get this to be just an oauth login? It would be great even if it just needed an api token

The hosted X MCP itself has no extra hosting fee from X — it just removes the need to run your own bridge.
But every read/write still hits the standard X API pay-per-use billing on whatever developer app you authenticate with (roughly $0.005 per post read, etc.). No unlimited free tier.
Light usage stays cheap. Heavy use = same costs as direct API access. Check your console for exact rates and set spend limits.

TwexAPI (http://twexapi.io) is a third-party service providing an affordable alternative to the official X API. It offers read/write access for searching, scraping, monitoring, posting tweets, and DMs at claimed 90%+ lower cost, with quick setup and high throughput. Not affiliated with X. Popular with devs facing official pricing.

@XDevelopers Oh, you still have to use the X API. What a bunch of bullshit. For any devs, there are a bunch of 3rd party X APIs on RapidAPI for a fraction of the cost. Or you could install Nitter or Pintchtab to roll your own.

@XDevelopers Now we just need to route agents through residential IPs to keep them free from rate limits. 🛰️