BC

buidangminh23/codex-mcp-bridge

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

32 stars 11 forks 质量 70 趋势 20MIT

Claude ⇄ Codex — 双向 MCP 桥接提示和回复。适用于 Windows、macOS 和 Linux。

概览

本地桌面切换指南:每日工作流程和目录验证、新机器设置和权限,以及项目入职。 在 之间发送提示和回复,保持每次对话在独立应用中。支持 Windows、macOS 和 Linux;原生桌面集成支持 Windows 和 macOS。 https://github.com/user-attachments/assets/98b23989-826f-4d7d-9dcb-ad7dd2739095 要接收新版本通知,请打开此仓库,选择 ,然后点击 。在通知设置中选择 GitHub 或电子邮件投递。 在仓库上加星或下载/安装包不会让你订阅发布通知。通知不会更新你已安装的副本;请按照安装说明进行更新。 打开Codex Bridge连接ChatGPT。每个ChatGPT账户配对自己的连接器,只能访问设置时选择的本地项目目录。原生桌面模式支持Windows和macOS。保持Codex Desktop和连接器运行。

概述(AI 翻译)

Codex-MCP-桥梁

在Claude和Codex之间发送提示和回复,保持每次对话在独立应用中。支持Windows、macOS和Linux;原生桌面集成支持Windows和macOS。

https://github.com/user-attachments/assets/98b23989-826f-4d7d-9dcb-ad7dd2739095

安装

需要 Node.js 22+。在 Windows PowerShell 中,使用 npm.cmd 代替 npm。执行同样的更新命令;如果 MCP 服务器的设置或安装路径发生变化,请重新连接。

在macOS或Linux上,你可以用Homebrew安装,这带来了独特的影响Node.js:

更新为brew upgrade codex-mcp-bridge。安装程序会记录Homebrew的稳定opt路径,因此升级后注册仍然有效,运行桥接后重新加载新版本。保持一个安装通道:在PATH中npm或Homebrew先行者提供命令。

Windows ·macOS ·Linux / WSL ·ChatGPT 插件

Windows (PowerShell)

安装并登录 Codex Desktop 和 Claude Desktop。将项目保存在 Codex Desktop 中,并在 Claude Desktop 的 Code 标签页中打开同一个目录。准备好 Codex 和 Claude Code 的 CLI 文件。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

codex-mcp-bridge

Connect Claude, Codex, and Antigravity through MCP. Send work between native Desktop conversations or use independent CLI background workers.

Supports Windows, macOS, and Linux. Native Desktop integration supports Windows and macOS.

https://github.com/user-attachments/assets/98b23989-826f-4d7d-9dcb-ad7dd2739095

Installation

Package — npm

Requires Node.js 22.13+. Use the same command for a fresh install or an update.

Windows PowerShell

npx.cmd -y @minhspark/codex-mcp-bridge@latest

macOS / Linux / WSL

npx -y @minhspark/codex-mcp-bridge@latest

Run the command directly in an interactive terminal. It installs the package, applies Claude/Codex/Antigravity settings, and verifies the background relay. Windows installs into %APPDATA%\npm without administrator rights. Existing permissions, project grants, custom settings, and disabled services are preserved.

For native handoffs, sign in to the Desktop apps and open the same saved project in Codex Desktop and Claude Desktop’s Code tab. The shared Claude chat connector is a separate local app-server route.

在 GitHub 查看完整 README

安装

npx -y @minhspark/codex-mcp-bridge@latest
新手?先看 mcpskill.org 教程 →