Codex MCP Bridge logo

Codex MCP Bridge

Bridges Claude, Codex, and Antigravity so agents can exchange prompts and replies across native and local sessions.

Install Codex MCP Bridge

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "codex-mcp-bridge-2": {
      "command": "npx",
      "args": [
        "-y",
        "@minhspark/codex-mcp-bridge"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 12 tools correctly (11d ago).

Overview

codex-mcp-bridge connects Claude, Codex, and optionally Antigravity through MCP, allowing prompts and replies to move between their apps and CLI sessions. Its setup registers bridge commands for native desktop handoffs, local Codex app-server sessions, Claude delivery, and Antigravity routing. It preserves each application's identity, permissions, and project context rather than signing in or changing permission settings. Reach for it when a coding workflow needs Claude and Codex to delegate work to one another across Windows, macOS, Linux, or WSL.

Use cases

  • Delegate coding work from Claude to Codex
  • Send Codex tasks to Claude and inspect replies
  • Route agent requests to Antigravity App or CLI sessions
  • Connect Claude Code with a local Codex app-server
  • Verify and repair local MCP registrations

Key features

  • Two-way Claude and Codex prompt and reply exchange
  • Native Codex Desktop handoffs on Windows and macOS
  • Local Codex app-server sessions
  • Optional Antigravity App and CLI bridge
  • Automatic global npm setup and registration checks
  • Cross-platform support for Windows, macOS, Linux, and WSL

Tools12

What Codex MCP Bridge lets your agent do. Expand a tool for its parameters.

Verified live~3.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

5/5 checks healthy over the last 20d

What it can do

From the 12 tools this server returned when we ran it; 12 declare their own safety hints.

Can delete or modify data · 6Makes network requests · 7Read-only tools · 6
Network at startup3 connections
Files written at startup30
Install scriptspostinstall
npm provenanceSigned build
Package age71 days
Maintainers1

Observed 2026-10-30 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @minhspark/codex-mcp-bridge (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars29Stargazers on the source repository.
npm downloads9.5kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed12Callable tools this server registers over MCP.

How Codex MCP Bridge works

What codex-mcp-bridge does

codex-mcp-bridge links Claude, Codex, and Antigravity through MCP. It supports two-way exchanges in which one agent sends work and observes the other agent's reply. The bridge can use native desktop handoffs on Windows and macOS, local Codex app-server sessions, or bridge-owned Antigravity CLI sessions depending on the registration and operating system.

The integrations keep work in the participating application's own environment. Existing project restrictions, custom settings, application identities, and permission checks remain in effect. Installation does not sign users in, grant workspace trust, change permission modes, or restart active applications.

How it works

A global npm installation runs the package setup hook and registers the local commands used by the supported applications. The registrations include codex-bridge for Claude Code to Codex handoffs, codex-bridge-desktop for Claude Desktop shared-connector sessions, claude-bridge for Codex-to-Claude communication, and antigravity-bridge for Antigravity routes. Codex Desktop also uses codex-native-relay for native delivery and relay execution.

Claude-to-Codex native handoffs on Windows and macOS use Claude Desktop's Code tab and the same local project saved in Codex Desktop. On Linux, Claude Code can use local Codex app-server mode. The optional Antigravity bridge can exchange work with existing Desktop conversations in the same project, or start and continue bridge-owned Antigravity CLI streaming sessions.

Saved registrations are not proof that an application is connected. After setup, the affected applications should be opened or reconnected, and the installation should be verified in the clients themselves.

Setup and configuration

The npm installation requires Node.js 22.13 or newer. On macOS, Linux, and WSL, install the latest package with:

Terminal
npm install -g @minhspark/codex-mcp-bridge@latest --allow-scripts=@minhspark/codex-mcp-bridge

Windows PowerShell uses the corresponding npm.cmd command. The same installation command updates the package. If a native Codex CLI is absent, setup installs the pinned official @openai/codex package in the user's configuration directory. A Homebrew package is also available on macOS and Linux; run codex-bridge-setup after installing it.

Use codex-bridge-setup to repair incomplete registrations. --check inspects saved configuration, --dry-run shows planned changes without writing or downloading, --json produces structured output, and --no-download requires an existing Codex CLI. Set CODEX_BRIDGE_SKIP_SETUP=1, or use --ignore-scripts, to install without changing application configuration. Local npm install and npm ci do not perform the automatic setup.

Tools and capabilities

  • Send prompts from Claude to Codex and observe Codex replies.
  • Send work from Codex to Claude through the registered bridge.
  • Use native Codex Desktop handoffs on Windows and macOS.
  • Run local Codex app-server sessions from Claude Desktop or Claude Code.
  • Route work from Codex or Claude Code to Antigravity App or CLI sessions.
  • Continue bridge-owned Antigravity CLI streaming sessions.

Limitations and notes

Antigravity App replies remain in the App, and outbound calls from Antigravity CLI are not supported. Native Claude-to-Codex handoffs require Claude Desktop's Code tab and the same local project in Codex Desktop. The shared Claude Desktop connector follows a separate legacy route and does not create a native Code sender identity.

The package supports Windows, macOS, Linux, and WSL, while native Desktop integration is available on Windows and macOS. Antigravity requires its App and/or agy CLI to be installed and signed in. Setup preserves existing settings and reports conflicts instead of overwriting unrelated registrations. Use .cmd command variants in Windows PowerShell.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Codex MCP Bridge

codex-mcp-bridge is an MCP server that connects Claude, Codex, and optionally Antigravity, with bridge tools for sending prompts, receiving replies, native Codex handoffs, local Codex app-server sessions, and Antigravity App or CLI routing. It runs across Windows, macOS, Linux, and WSL.

Install it globally with npm using the package's latest tag and authorize its setup script. Node.js 22.13 or newer is required; Windows PowerShell should use npm.cmd. The global install configures local registrations automatically, while Homebrew users must run codex-bridge-setup afterward.

Yes, codex-mcp-bridge registers codex-bridge for Claude Code. Windows and macOS can use native Codex Desktop handoffs, while Linux uses local Codex app-server mode. Claude Code can also use the Antigravity bridge registration.

Yes, the project provides separate Windows preview registrations for Claude Code and Codex inside VS Code. These registrations have a separate setup path from the automatic global npm configuration.

Run codex-bridge-setup --check to inspect saved registrations without sending work. Use --dry-run to preview planned configuration changes, or rerun codex-bridge-setup to repair an incomplete component. A saved registration still needs verification in the actual client.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCodex MCP Bridge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/codex-mcp-bridge-2?style=directory)](https://allmcps.com/mcp/codex-mcp-bridge-2)
HTML Embed
<a href="https://allmcps.com/mcp/codex-mcp-bridge-2"><img src="https://allmcps.com/api/badge/codex-mcp-bridge-2?style=directory" alt="Codex MCP Bridge on AllMCPs" /></a>