X Developer Platform API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read X Developer Platform. No X Developer Platform API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/developer_x_com.md and add Bowmark's X Developer Platform MCP server to my agent.Run this in a terminal, then sign in when the browser opens.
claude mcp add --transport http bowmark-developer-x-com https://api.bowmark.ai/mcp/site/developer_x_comPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-developer-x-com": {
"url": "https://api.bowmark.ai/mcp/site/developer_x_com"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-developer-x-com","type":"http","url":"https://api.bowmark.ai/mcp/site/developer_x_com"}'Run this in a terminal.
codex mcp add bowmark-developer-x-com --url https://api.bowmark.ai/mcp/site/developer_x_comIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/developer_x_comIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/developer_x_comAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/developer_x_comFunctions
Open a function to see its parameters and run it with your own API key.
getDocPageReads one page of X's developer docs (docs.x.com, formerly developer.x.com) by url or path and returns its title, description and body as clean…POST /v1/sites/developer_x_com/getDocPage
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/developer_x_com/getDocPage \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"/overview"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.developer_x_com.getDocPage("/overview");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.developer_x_com.getDocPage("/overview"))Responsereturns developer_x_comDocinterface developer_x_comDoc { url: string; title: string | null; description: string | null; body: string; }listDocPagesLists every X developer docs page from the site's own root and nested llms.txt indexes, optionally narrowed to one area (x-api, enterprise-api…POST /v1/sites/developer_x_com/listDocPages
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/developer_x_com/listDocPages \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"area":"x-ads-api"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.developer_x_com.listDocPages("x-ads-api");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.developer_x_com.listDocPages("x-ads-api"))Responsereturns developer_x_comDocListinterface developer_x_comDocLink { title: string; url: string; description: string | null; section: string | null; index: string; } interface developer_x_comDocList { pages: developer_x_comDocLink[]; warnings: string[]; }searchDocPagesFinds X developer docs pages whose title, url or description match a free-text query, best match first.POST /v1/sites/developer_x_com/searchDocPages
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/developer_x_com/searchDocPages \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"create post"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.developer_x_com.searchDocPages("create post");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.developer_x_com.searchDocPages("create post"))Responsereturns developer_x_comDocListinterface developer_x_comDocLink { title: string; url: string; description: string | null; section: string | null; index: string; } interface developer_x_comDocList { pages: developer_x_comDocLink[]; warnings: string[]; }