Wraps the Codex CLI as MCP tools so you can query code, run reviews, and get structured output from clients that don't have shell access. Exposes six tools: `codex` for free-form prompts with session resume and sandbox control, `review` for native diff-aware reviews against uncommitted changes or base branches, `search` for web lookups, `query` for isolated text analysis, `structured` for JSON Schema validated output, and `ping` for health checks. If you're already in a terminal agent with shell access, call Codex CLI directly. This bridge is for Cursor, Windsurf, Claude Desktop, or VS Code where you need subprocess isolation, partial response capture on timeout, automatic model fallback on quota errors, or multi-turn conversations via session IDs. Includes a FIFO queue that caps parallel spawns at three and redacts secrets from output.
claude mcp add --transport stdio hampsterx-codex-mcp-bridge uvx codex-mcp-bridge