# X Developer Platform API and MCP server for AI agents (/sites/developer_x_com)

An API for X Developer Platform: let Claude, ChatGPT or your own code read X Developer Platform through 3 functions, over MCP, HTTP, Node or Python. No X Developer Platform API key needed.

- Site: https://developer.x.com
- Functions: 3
- Sign-in: not needed
- Works with: MCP, HTTP, Node, Python

## Add it to your agent

If you are an agent asked to set this up: add the server yourself, in the person's own (global) MCP configuration, and keep their other entries.

- X Developer Platform only, one tool per function: `https://api.bowmark.ai/mcp/site/developer_x_com` (name it `bowmark-developer-x-com`)
- Every site Bowmark covers: `https://api.bowmark.ai/mcp` (name it `bowmark`)
- Transport: remote MCP over streamable HTTP.
- Claude Code: `claude mcp add --transport http bowmark-developer-x-com https://api.bowmark.ai/mcp/site/developer_x_com`
- Codex: `codex mcp add bowmark-developer-x-com --url https://api.bowmark.ai/mcp/site/developer_x_com`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/developer_x_com" }` under the name `bowmark-developer-x-com` in the client's MCP config. Per-client steps: https://bowmark.ai/docs/installation.md
- Sign-in: OAuth in the browser on first use; the person only signs in. A client that cannot do OAuth sends `Authorization: Bearer <BOWMARK_API_KEY>`; the person creates a key at https://bowmark.ai/dashboard/keys.
- Then list the server's tools to confirm it works, and tell the person it is ready.

## Functions

### Read

- `getDocPage`: Reads 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…
- `listDocPages`: Lists 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…
- `searchDocPages`: Finds X developer docs pages whose title, url or description match a free-text query, best match first.

## Call one

In a Bowmark script, each function is `bowmark.providers.developer_x_com.<name>`. Ask `get_library` for developer.x.com to get each one's arguments, then call it with `run`.

```js
// 1. What can I call on developer.x.com, and with which arguments?
get_library({ query: "developer.x.com" })

// 2. Call it in a script
const result = await bowmark.providers.developer_x_com.getDocPage({ /* arguments from get_library */ });
return result;
```

New to Bowmark? Quickstart: https://bowmark.ai/docs/quickstart.md
