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.

Functions

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"}'
    Sign in to run
    Responsereturns developer_x_comDoc
    interface 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"}'
    Sign in to run
    Responsereturns developer_x_comDocList
    interface 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"}'
    Sign in to run
    Responsereturns developer_x_comDocList
    interface 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[];
    }