codex-bridge
Connects to OpenAI Codex/GPT via ACP to run, resume, steer, and cancel Codex sessions, including presets for development, debugging, review, research, image generation, GIFs, and quota offloading.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
codex-bridge
An Antigravity plugin and MCP/CLI bridge that connects Antigravity (Gemini) to OpenAI Codex / GPT over Agent Client Protocol (ACP) via @agentclientprotocol/codex-acp.
Why codex-bridge?
Play to each model's strengths: Keep Gemini for natural communication, brainstorming, copywriting, and UI/aesthetic design; delegate heavy implementation, debugging, refactoring, test loops, and Codex-managed repositories to Codex/GPT.
Zero migration of Codex assets:
codex-acpinherits your existing~/.codexauthentication, skills, plugins, MCP servers,AGENTS.md, and memories.Session continuity: Search and resume existing Codex Desktop threads via
codex_sessions+codex_run(session_id).Adaptive sync/async + context economy: Short tasks return within
wait_seconds(default 60s); longer runs seamlessly return ajob_idcontrollable viacodex_wait,codex_status,codex_steer, andcodex_cancel. Full transcripts stay on disk (log_path) so coordinator context stays lean.GPT extra capabilities & quota offload: Built-in presets for
develop,debug,review,research(web search),image(native image generation),gif, andoffload(thin-coordinator mode when Gemini quota is tight).
Related MCP server: codex-app-server-mcp
Architecture
Antigravity (Gemini)
├── MCP stdio ──▶ dist/mcp-server.mjs ──┐
└── CLI / Swarm ─▶ dist/cli.mjs ──┼──▶ AcpClient (NDJSON stdio) ──▶ @agentclientprotocol/codex-acp
└── ~/.codex (auth, skills, plugins, MCP, sessions)Prerequisites
Node.js 20+
@agentclientprotocol/codex-acpinstalled globally (orCODEX_ACP_PATHset):npm install -g @agentclientprotocol/codex-acpCodex authenticated (e.g., via Codex Desktop / ChatGPT login in
~/.codexorCODEX_API_KEY/OPENAI_API_KEY).
Installation (Antigravity Plugin)
Clone this repository and deploy it into ~/.gemini/config/plugins/codex-bridge:
Windows (PowerShell):
.\scripts\install.ps1macOS / Linux:
chmod +x scripts/install.sh
./scripts/install.shAntigravity automatically discovers ~/.gemini/config/plugins/codex-bridge. Whenever you pull or edit source code in this repository, run npm run deploy to rebuild and sync the runtime plugin files cleanly.
MCP Tools
Tool | Description |
| Run a task in a new or resumed Codex session ( |
| Wait for a background |
| Inspect a job's status or check global ACP health & available models |
| Send mid-flight steering or follow-up instructions to a job |
| Cancel a running job via ACP |
| List/search existing Codex Desktop & ACP sessions |
CLI Usage
node dist/cli.mjs health
node dist/cli.mjs sessions --query "my-project" --limit 10
node dist/cli.mjs run --cwd "/path/to/repo" --preset develop --prompt "Fix failing unit tests"Verification
npm run typecheck
npm run build
npm testLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Hosted MCP server and Agent Skills for specs, engineering threads, and project memory.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Related MCP Servers
- AlicenseBqualityBmaintenanceAn MCP bridge that lets Codex delegate long-running agent work to the Antigravity CLI, providing observable and resumable tool-based execution with project scoping.1445 PyPI17MIT
- AlicenseAqualityBmaintenanceEnables Claude Code or any MCP client to delegate hands-on coding work to OpenAI Codex over a persistent app-server process, keeping long-lived threads with follow-ups, async polling, approvals, steering, and interrupts. Supports native code review, resuming existing sessions, structured output, and parallel worktree-isolated tasks.1037 npm2MIT
- AlicenseNot gradedqualityBmaintenanceEnables Antigravity to delegate coding, review, and analysis tasks to an independent OpenAI Codex subagent over the official @openai/codex app-server v2 JSON-RPC protocol. Supports persistent multi-turn threads, protocol-level sandbox and permission switching, multimodal image inputs, structured output schemas, background job steering and cancellation, plus live progress telemetry.6MIT
- AlicenseNot gradedqualityBmaintenanceEnables Gemini in Google Antigravity to delegate coding, testing, debugging, and review tasks to a local OpenAI Codex CLI while providing zero-token live monitoring of progress, quotas, sessions, and history.7MIT