NestDaddy

codex-bridge

io.github.xallindrome-labs/codex-bridge ยท v0.3.0

Claude Code consults Codex for plans, images and optional code, as durable background jobs.

Connect Runs on your machine

Terminal
claude mcp add codex-bridge -e CODEX_BIN=<CODEX_BIN> -e CODEX_BRIDGE_HOME=<CODEX_BRIDGE_HOME> -e CODEX_BRIDGE_IDLE_TIMEOUT_MS=<CODEX_BRIDGE_IDLE_TIMEOUT_MS> -e CODEX_BRIDGE_PLAN_MODEL=<CODEX_BRIDGE_PLAN_MODEL> -e CODEX_BRIDGE_PLAN_EFFORT=<CODEX_BRIDGE_PLAN_EFFORT> -e CODEX_BRIDGE_IMAGE_MODEL=<CODEX_BRIDGE_IMAGE_MODEL> -e CODEX_BRIDGE_IMAGE_EFFORT=<CODEX_BRIDGE_IMAGE_EFFORT> -e CODEX_BRIDGE_WRITE_ROOT=<CODEX_BRIDGE_WRITE_ROOT> -e CODEX_BRIDGE_WRITE_ALLOW_TMP=<CODEX_BRIDGE_WRITE_ALLOW_TMP> -e CODEX_BRIDGE_CODE_MODEL=<CODEX_BRIDGE_CODE_MODEL> -e CODEX_BRIDGE_CODE_EFFORT=<CODEX_BRIDGE_CODE_EFFORT> -- npx -y @xallindrome-labs/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "codex-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@xallindrome-labs/[email protected]"
      ],
      "env": {
        "CODEX_BIN": "<CODEX_BIN>",
        "CODEX_BRIDGE_HOME": "<CODEX_BRIDGE_HOME>",
        "CODEX_BRIDGE_IDLE_TIMEOUT_MS": "<CODEX_BRIDGE_IDLE_TIMEOUT_MS>",
        "CODEX_BRIDGE_PLAN_MODEL": "<CODEX_BRIDGE_PLAN_MODEL>",
        "CODEX_BRIDGE_PLAN_EFFORT": "<CODEX_BRIDGE_PLAN_EFFORT>",
        "CODEX_BRIDGE_IMAGE_MODEL": "<CODEX_BRIDGE_IMAGE_MODEL>",
        "CODEX_BRIDGE_IMAGE_EFFORT": "<CODEX_BRIDGE_IMAGE_EFFORT>",
        "CODEX_BRIDGE_WRITE_ROOT": "<CODEX_BRIDGE_WRITE_ROOT>",
        "CODEX_BRIDGE_WRITE_ALLOW_TMP": "<CODEX_BRIDGE_WRITE_ALLOW_TMP>",
        "CODEX_BRIDGE_CODE_MODEL": "<CODEX_BRIDGE_CODE_MODEL>",
        "CODEX_BRIDGE_CODE_EFFORT": "<CODEX_BRIDGE_CODE_EFFORT>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "codex-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@xallindrome-labs/[email protected]"
      ],
      "env": {
        "CODEX_BIN": "<CODEX_BIN>",
        "CODEX_BRIDGE_HOME": "<CODEX_BRIDGE_HOME>",
        "CODEX_BRIDGE_IDLE_TIMEOUT_MS": "<CODEX_BRIDGE_IDLE_TIMEOUT_MS>",
        "CODEX_BRIDGE_PLAN_MODEL": "<CODEX_BRIDGE_PLAN_MODEL>",
        "CODEX_BRIDGE_PLAN_EFFORT": "<CODEX_BRIDGE_PLAN_EFFORT>",
        "CODEX_BRIDGE_IMAGE_MODEL": "<CODEX_BRIDGE_IMAGE_MODEL>",
        "CODEX_BRIDGE_IMAGE_EFFORT": "<CODEX_BRIDGE_IMAGE_EFFORT>",
        "CODEX_BRIDGE_WRITE_ROOT": "<CODEX_BRIDGE_WRITE_ROOT>",
        "CODEX_BRIDGE_WRITE_ALLOW_TMP": "<CODEX_BRIDGE_WRITE_ALLOW_TMP>",
        "CODEX_BRIDGE_CODE_MODEL": "<CODEX_BRIDGE_CODE_MODEL>",
        "CODEX_BRIDGE_CODE_EFFORT": "<CODEX_BRIDGE_CODE_EFFORT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "codex-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xallindrome-labs/[email protected]"
      ],
      "env": {
        "CODEX_BIN": "<CODEX_BIN>",
        "CODEX_BRIDGE_HOME": "<CODEX_BRIDGE_HOME>",
        "CODEX_BRIDGE_IDLE_TIMEOUT_MS": "<CODEX_BRIDGE_IDLE_TIMEOUT_MS>",
        "CODEX_BRIDGE_PLAN_MODEL": "<CODEX_BRIDGE_PLAN_MODEL>",
        "CODEX_BRIDGE_PLAN_EFFORT": "<CODEX_BRIDGE_PLAN_EFFORT>",
        "CODEX_BRIDGE_IMAGE_MODEL": "<CODEX_BRIDGE_IMAGE_MODEL>",
        "CODEX_BRIDGE_IMAGE_EFFORT": "<CODEX_BRIDGE_IMAGE_EFFORT>",
        "CODEX_BRIDGE_WRITE_ROOT": "<CODEX_BRIDGE_WRITE_ROOT>",
        "CODEX_BRIDGE_WRITE_ALLOW_TMP": "<CODEX_BRIDGE_WRITE_ALLOW_TMP>",
        "CODEX_BRIDGE_CODE_MODEL": "<CODEX_BRIDGE_CODE_MODEL>",
        "CODEX_BRIDGE_CODE_EFFORT": "<CODEX_BRIDGE_CODE_EFFORT>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
CODEX_BIN
Optional
Path to the Codex CLI binary. Auto-detected when unset.
CODEX_BRIDGE_HOME
Optional
Where job files are stored. Default: ~/.codex-bridge
CODEX_BRIDGE_IDLE_TIMEOUT_MS
Optional
Stop a run after this many ms with no Codex output. Default: 600000
CODEX_BRIDGE_PLAN_MODEL
Optional
Model for codex_plan. Default: your Codex config.
CODEX_BRIDGE_PLAN_EFFORT
Optional
Reasoning effort for codex_plan. Default: your Codex config.
CODEX_BRIDGE_IMAGE_MODEL
Optional
Model for codex_image. Default: gpt-6-luna
CODEX_BRIDGE_IMAGE_EFFORT
Optional
Reasoning effort for codex_image. Default: high
CODEX_BRIDGE_WRITE_ROOT
Optional
Opt-in. One folder Codex may edit through the codex_code tool. Unset = codex_code is off.
CODEX_BRIDGE_WRITE_ALLOW_TMP
Optional
Set to 1 to stop asking Codex to block temp-folder writes in codex_code. Default: unset.
CODEX_BRIDGE_CODE_MODEL
Optional
Model for codex_code. Default: your Codex config.
CODEX_BRIDGE_CODE_EFFORT
Optional
Reasoning effort for codex_code. Default: your Codex config.

Details

Package@xallindrome-labs/[email protected] (NPM, stdio)
First published11 Nov 2026
Last updated11 Nov 2026
Registry nameio.github.xallindrome-labs/codex-bridge

More developer tools servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.