Claude Code consults Codex for plans, images and optional code, as durable background jobs.
Connect Runs on your machine
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]
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
CODEX_BINOptional | Path to the Codex CLI binary. Auto-detected when unset. |
CODEX_BRIDGE_HOMEOptional | Where job files are stored. Default: ~/.codex-bridge |
CODEX_BRIDGE_IDLE_TIMEOUT_MSOptional | Stop a run after this many ms with no Codex output. Default: 600000 |
CODEX_BRIDGE_PLAN_MODELOptional | Model for codex_plan. Default: your Codex config. |
CODEX_BRIDGE_PLAN_EFFORTOptional | Reasoning effort for codex_plan. Default: your Codex config. |
CODEX_BRIDGE_IMAGE_MODELOptional | Model for codex_image. Default: gpt-6-luna |
CODEX_BRIDGE_IMAGE_EFFORTOptional | Reasoning effort for codex_image. Default: high |
CODEX_BRIDGE_WRITE_ROOTOptional | Opt-in. One folder Codex may edit through the codex_code tool. Unset = codex_code is off. |
CODEX_BRIDGE_WRITE_ALLOW_TMPOptional | Set to 1 to stop asking Codex to block temp-folder writes in codex_code. Default: unset. |
CODEX_BRIDGE_CODE_MODELOptional | Model for codex_code. Default: your Codex config. |
CODEX_BRIDGE_CODE_EFFORTOptional | Reasoning effort for codex_code. Default: your Codex config. |
Details
| Package | @xallindrome-labs/[email protected] (NPM, stdio) |
| First published | 11 Nov 2026 |
| Last updated | 11 Nov 2026 |
| Registry name | io.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.
