Codex MCP Bridge
io.github.hampsterx/codex-mcp-bridge
v0.9.1Updated Aug 2, 2026stdio · npm
Wraps Codex CLI as MCP tools: codex, review, query, search, structured, ping, listSessions.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add codex-mcp-bridge -e CODEX_CLI_PATH=codex -e CODEX_MAX_CONCURRENT=3 -- npx -y [email protected]Configuration
5 settings.
CODEX_CLI_PATHEnv var· optionalPath to the codex CLI binary. Defaults to 'codex' on PATH.Default:codexCODEX_DEFAULT_MODELEnv var· optionalDefault Codex model for codex/query/search.CODEX_FALLBACK_MODELEnv var· optionalModel to use when the primary model hits a quota error.CODEX_MAX_CONCURRENTEnv var· optionalMaximum concurrent Codex CLI subprocesses (default 3).Default:3CODEX_MCP_SERVERSEnv var· optionalControls 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.
Links
Listed in the official MCP Registry since Aug 2, 2026. Mirrored daily; last checked Nov 26, 2026.