Skip to content
MCP server

Codex MCP Bridge

Wraps Codex CLI as MCP tools: codex, review, query, search, structured, ping…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.9.1
Listing updated
6 days ago

About Codex MCP Bridge

Codex MCP Bridge is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Wraps Codex CLI as MCP tools: codex, review, query, search, structured, ping, listSessions.

Install

Run in a terminal

claude mcp add codex-mcp-bridge -- npx -y codex-mcp-bridge

Add to claude_desktop_config.json

{
  "mcpServers": {
    "codex-mcp-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "codex-mcp-bridge"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "codex-mcp-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "codex-mcp-bridge"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "codex-mcp-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "codex-mcp-bridge"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "codex-mcp-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "codex-mcp-bridge"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "codex-mcp-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "codex-mcp-bridge"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CODEX_CLI_PATHPath to the codex CLI binary. Defaults to 'codex' on PATH.
  • CODEX_DEFAULT_MODELDefault Codex model for codex/query/search.
  • CODEX_FALLBACK_MODELModel to use when the primary model hits a quota error.
  • CODEX_MAX_CONCURRENTMaximum concurrent Codex CLI subprocesses (default 3).
  • CODEX_MCP_SERVERSControls which MCP servers from ~/.codex/config.toml stay enabled inside the Codex subprocess. Empty/unset disables all non-required servers; 'inherit' passes config through; comma-separated names (e.g. 'serena,github') enables those; values starting with '{' or '[' are raw TOML.

Pricing

Open source

Codex MCP Bridge FAQ

Is Codex MCP Bridge free?

Yes. Codex MCP Bridge is open source, so you can use and self-host it for free.

How do I add Codex MCP Bridge to Claude Code?

Run this command in your terminal: claude mcp add codex-mcp-bridge -- npx -y codex-mcp-bridge

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers