Claude Code Bridge
Claude Code Bridge
Claude Code Bridge 是一个本地、具有权限感知能力的 MCP 服务器和 Codex 插件,它让 Codex 可以将编码和仓库工作委派给已安装的 Claude Code CLI。它支持显式的模型和 effort 选择、inspect/write 访问、可恢复会话、在账户支持的情况下关联现有的云端 Code 会话,以及持久化的同步或异步作业。
桥接器本身完全运行在你的计算机上。它不托管 MCP 服务,不向 Noodle Cloud 发送数据,不自动化 Claude.ai 网站,也不提供对普通 Claude.ai 聊天的访问。Claude Code 仍会与 Anthropic 或你配置的提供商通信:提示词、Claude 读取的仓库内容、工具交互、会话元数据和生成的输出可能会根据该提供商的条款和账户设置离开你的计算机。
[!IMPORTANT] 这是一个独立的、非官方的开源项目。它与 OpenAI 或 Anthropic 不存在关联,也未获得其认可或赞助。Codex、GPT、Claude 和 Claude Code 均为其各自所有者的商标。
亮点
七个专注的 MCP 工具,用于健康检查、任务启动、状态查询、分页结果、继续执行、取消以及遗忘桥接数据。
默认提供
inspect访问权限,包含Read,Glob,Grep和 plan 权限;write使用 Claude Code 的acceptEdits权限模式,绝不绕过其权限系统。显式的模型别名或完整的 Claude 模型 ID,以及从
low到max的 effort 级别。新的本地会话、显式恢复的会话和显式关联云端的会话——绝不会执行不安全的“继续最近会话”操作。在关联之前,先在 Claude Code 中以交互方式创建云会话。
私有本地状态、双作业并发、32 MiB 原始输出限制、超时、取消、孤立恢复以及七天的终态作业保留。
适用于 macOS、Linux 和 WSL2 的自包含 Node.js 捆绑包。
Related MCP server: claude-code
要求
Node.js 20.19 或更高版本
Claude Code CLI 2.1.0 或更高版本,已安装并完成身份验证
macOS、Linux 或 WSL2;v0.1.x 不支持原生 Windows
用于写模式任务的 Git worktree
安装
添加此基于 Git 的插件市场并安装插件:
codex plugin marketplace add https://github.com/Cyruskraad/codex-claude-mcp
codex plugin add codex-claude-mcp@codex-claude-bridge安装后启动一个新的 Codex 任务,然后让 Codex 运行 claude_health。发布版 ZIP 和通用 stdio 安装选项见 安装。
示例
向 Codex 提问:
使用 Claude Code Bridge 检查
/absolute/path/to/repo中的并发 bug。使用 Sonnet 并设置高 effort。不要修改文件。
Codex 应先检查健康状态,然后以 access: "inspect" 调用 claude_task。对于较长的作业,它可以轮询 claude_job_status 并分页查看 claude_job_result。
文档
开发
生产运行时在 src/ 中编写,并打包到插件的 dist/ 目录。Noodle Seed 仅保留用于本地编写验证;本项目中不包含任何链接、部署、托管配置或目录提交。
npm ci
npm run typecheck
npm run lint
npm run test:coverage
npm run validate:all测试与发布工作流请参阅 贡献指南。
许可证
MIT © 2026 Cyruskraad.
This server cannot be deployed
Maintenance
Related MCP Connectors
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
No-data MCP handoff for local Claude Code to Codex harness moves. $49 lifetime.
Related MCP Servers
- AlicenseCqualityFmaintenanceConnects AI assistants like Claude to the Codex CLI for code analysis, editing, and execution. Supports file references with @ syntax, sandboxed code execution with approval workflows, and structured code changes for automated refactoring and documentation.893 npm178MIT
- AlicenseNot gradedqualityDmaintenanceEnables Codex to delegate tasks to Claude Code, allowing Claude to investigate, edit, and verify changes in the repository with background job management.2 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables Codex to delegate bounded engineering jobs to Claude Code CLI in isolated Git worktrees with strict security and allowance pacing.MIT
- AlicenseAqualityAmaintenanceEnables Claude Code to delegate coding tasks—investigation, review, long-running background jobs, and optional file edits—to a locally installed OpenAI Codex CLI, with the model and reasoning effort chosen per task and read-only execution by default. Follow-up requests reuse Codex's existing context, and write-enabled delegations can be confined to a managed git worktree so the user's own checkout stays untouched.8282 npmMIT