codex-bridge
v0.3.0Claude Code consults Codex for plans, images and optional code, as durable background jobs.
Values you need
| Variable | What it is | |
|---|---|---|
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. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add codex-bridge -- npx -y @xallindrome-labs/codex-bridge@0.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"codex-bridge": {
"args": [
"-y",
"@xallindrome-labs/codex-bridge@0.3.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"codex-bridge": {
"args": [
"-y",
"@xallindrome-labs/codex-bridge@0.3.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"codex-bridge": {
"args": [
"-y",
"@xallindrome-labs/codex-bridge@0.3.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.codex-bridge]
command = "npx"
args = ["-y", "@xallindrome-labs/codex-bridge@0.3.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: codex_plan, codex_image, codex_result, codex_resume, codex_cancel.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json