What it does
Once connected, your AI tool can search the full Codex API documentation — including queries, subscriptions, types, and guides. It will automatically reference the docs when you ask questions about the Codex API or need help writing queries.This MCP server is for searching the documentation and helping your AI write queries. It does not interface with the Codex API directly — you’ll still need to execute queries using your API key via the GraphQL endpoint or the SDK.
Setup
- Cursor
- VS Code
- Windsurf
- Claude Desktop
- Claude Code
Open MCP settings with
Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux) and select Cursor Settings: Open MCP Settings. Add the following: