Expose ZCode as an agent to any MCP client (zcode / zcode-reply tools, mirrors codex mcp-server)
View on GitHub ↗面向 Codex 等 MCP 客户端的事件驱动多编程代理调度桥。Coder MCP Bridge 将 ZCode、OpenCode 与 Pi 映射为一致的 agent- 工具,使上层调度器可以统一启动、观察、引导、恢复和关闭代理任务,同时保留各后端的原生会话与推理能力。
当前版本:0.5.0-dev。0.4.0 是已发布的 ZCode 单后端里程碑。
- 统一控制面:一次配置后,通过相同 MCP 工具调度 ZCode、OpenCode 或 Pi。 - 真实并发:Bridge 默认不限制全局并发;Codex 决定任务拆分和并发数。 - 资源互斥:跨进程 SQLite lease 协调 worktree、模拟器和构建目录等共享资源。 - 事件驱动等待:使用 revision 和最长 60 秒的事件等待替代固定时长轮询。 - 会话生命周期:支持恢复、引导、中断、分支、压缩与显式关闭,能力按后端报告。 - 权限投影:把 MCP 工作区和资源声明转换为各代理可执行的权限策略。 - 运行可观测性:统一暴露 reasoning、工具事件、Token、上下文和终态。
Codex 负责全局并发数、任务颗粒度与交付边界。Bridge 不替代上层调度,而是确保独立任务可以并发、冲突资源被正确串行化,并把不同代理的事件转换为稳定的 MCP 状态。
设置正数 AGENTMCPMAXCONCURRENCY 可增加每个后端的操作员安全上限;默认值 0 表示不由 Bridge 限制并发。
能力 ZCode OpenCode Pi ---:---::---::---: Prompt 运行 ✓ ✓ ✓ Durable goal ✓ — — Reasoning / usage 事件 ✓ ✓ ✓ Guide / interrupt / cancel ✓ ✓ ✓ 会话恢复 ✓ ✓ ✓ Branch / compact ✓ ✓ ✓ 后台任务投影 ✓ — — Tool allowlist ✓ 明确拒绝 ✓ Tool denylist ✓ ✓ ✓ 权限通道 Reverse request HTTP event 强制策略扩展
使用 agent-config {"action":"list"} 获取本机实际安装状态和精确能力。调用方不应假定三个后端的原生能力完全一致。
测试日期为 2026-08-06。三个代理均通过真实 MCP JSON-RPC over stdio 调用 deepseek-v4-flash,执行同一任务:使用结构化 SVG 绘制一只正在骑自行车、双脚踩在脚踏板上的鹈鹕。结果通过 XML、viewBox、必需分组 ID 和输出文件数量检查,并进行人工视觉评分。
为反映当前正确配置,下面的 Pi 数据采用其原生 deepseek/deepseek-v4-flash provider 专项重测,不是第一次错误自定义 provider 的结果。ZCode、OpenCode 与 Pi 重测并非同一轮同时起跑,因此该表适合比较单端运行表现,不应解读为严格的同步竞速实验。
后端 耗时 总 Token 流量 模型请求 工具调用 估算费用 视觉评分 ------:---:---:---:---:---: OpenCode 3分13.691秒 87,750 3 6 $0.00733 78/100 Pi(原生 provider 重测) 4分35.062秒 83,923 3 2 $0.00788 85/100 ZCode 8分57.497秒 139,717 4 3 $0.02821 91/100
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/Deslord319--coder-mcp-bridge.html)
Daily radar for new AI terms: names of new models, products and repos, caught on X, Hugging Face, GitHub and sitemaps before keyword tools list them.
gary23w/f-ck_data_brokersfck_data_brokers.py is a free, open-source Python script that sends opt-out and deletion requests to data brokers on your behalf.
LiCinCan/blender-ai-mcp-addonAI assistant and MCP server for Blender: visual chat, scene tools, multi-agent workflows. Works with OpenAI, ChatGPT, Claude, Gemini, Ollama, OpenCode. Blender AI addon and plugin, copilot for 3D, bpy
2akouwu/reverifyStop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is
cranebeaker/coop-anythingCo-op Anything: point your AI agent at any single-player game and play it with friends (online and/or splitscreen!). MCP server and playbook to let you reverse engineer, fix, test, ship and share what
anujasid/blender-ai-mcp-addonAI assistant and MCP server for Blender: visual chat, scene tools, multi-agent workflows. Works with OpenAI, ChatGPT, Claude, Gemini, Ollama, OpenCode. Blender AI addon and plugin, copilot for 3D, bpy
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.