codex-delegate_monitor
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 Delegate
Codex Delegate 是一个独立的 Antigravity 插件。它通过本机 Codex CLI 执行编码任务,通过 Codex Monitor 查看实时事件、文件差异、资源用量和最终回复。
安装
新用户 / 新电脑快速上手
准备环境:
安装支持 MCP Apps 的 Google Antigravity 2.x(v2.34.0 及以上);
安装 Node.js 24+;
安装本机 Codex CLI 并完成登录(可先运行
codex --version与codex login status确认状态)。
克隆、构建并部署插件:
git clone https://github.com/PercyWei/codex-delegate.git
cd codex-delegate
npm ci
npm run build && npm run install-plugin无需修改项目
AGENTS.md:插件已内置全局常驻规则rules/AGENTS.md,安装启用后会在所有工作区自动生效,无需在每个项目里重复声明。首次激活确认:安装后在 Antigravity 左侧 Customizations → Installed → MCP Servers 中确认
codex-delegate_monitor已连接(若未自动启动,点该行⋮→ Restart 或重启一次 Antigravity 即可)。通过右侧栏+菜单、左侧全局入口或下次委托任务自动弹窗即可打开 Codex Monitor。Antigravity MCP Apps
安装目录默认为 ~/.gemini/config/plugins/codex-delegate。也可用 npm run install-plugin -- --target <目录> 安装到指定位置。每次安装会刷新 dist/,自动将安装版 SKILL.md 中的路径解析为实际安装目录,并保留已有的 settings.json。
Related MCP server: codex-mcp-server
委托与监控
涉及至少 50 行源代码的任务会交给本机 Codex,用户也可以直接要求委托。文档和少于 50 行的源代码修改默认由 Antigravity 处理。委托时 Antigravity 并行打开 Monitor 和启动 runner,并通过原生命令完成通知恢复处理。收到结果后,Antigravity 独立检查 Git 差异及相关测试,必要时在同一 Codex session 中继续修正。
codex-run.mjs启动 Codex,按运行 ID 保存meta.json、events.jsonl、last-message.md、diff.patch和stderr.log。默认运行目录为~/.gemini/antigravity/plugin_data/codex-delegate/runs。mcp-server.mjs通过本地 stdio 提供 Monitor 和读取、停止、删除本插件运行记录的操作。monitor.html是单文件 MCP App。状态刷新由页面直接调用本地 MCP 服务,每次刷新额外消耗的 Antigravity 模型额度为 0。Codex 自身的模型调用按其账号计量。
在终端运行以下命令即可启动一次委托。
node ~/.gemini/config/plugins/codex-delegate/dist/codex-run.mjs \
--cwd "$PWD" --mode exec '实现当前模块并运行相关测试。'用 --prompt-file <文件> 或 - 从文件或标准输入传入长指令(Windows PowerShell / cmd 无 POSIX heredoc 时,可将指令写入临时 UTF-8 文件后使用 --prompt-file <文件>)。使用 --mode resume --resume-session <session_id> --parent-run-id <run_id> 续接,或使用 --mode review --review-uncommitted 审查当前改动。分别用 --model <model> 与 --effort <effort> 指定单次运行参数。
默认模型与推理强度
在 Monitor 的设置面板保存插件默认值,也可编辑安装目录内的 settings.json。初始配置的两项值均为 null。
{
"default_model": null,
"default_reasoning_effort": null
}两项参数分别按任务明确指定、插件默认值、~/.codex/config.toml 的顺序解析。null 表示沿用 Codex 配置。沙箱、审批及其他 Codex 行为继续由 Codex 配置管理。
终端可通过 CODEX_DELEGATE_CODEX_PATH 指定 Codex 可执行文件,通过 CODEX_DELEGATE_DATA_DIR 和 CODEX_DELEGATE_SETTINGS_PATH 指定运行数据和设置位置。使用自定义安装位置时,可将后者设为该位置的 settings.json。
开发检查
npm run typecheck && npm run build && npm test构建产物位于 plugin/dist/。在浏览器打开 monitor.html?demo=1 可预览监控界面。
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
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
Start and manage Reason cloud coding agents, projects and sessions from any MCP client.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Lets any MCP client list, read, search, and annotate AI agent runs. Free tier.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to spawn and control Codex CLI and Claude Code sessions on the host machine, with session management and filesystem access.4MIT
- AlicenseCqualityDmaintenanceBridges MCP clients with local Codex CLI to execute autonomous coding tasks, manage threads, and inspect history via SQLite state.134Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients and external AI supervisors to oversee and steer native Codex sessions through a thin local stdio bridge. It exposes eleven codex_* supervisory tools for tasks such as listing threads, starting turns, observing progress, steering, responding to approvals, interrupting, checkpointing, and rolling over work.MIT
- AlicenseAqualityDmaintenanceEnables MCP-compatible coding agents to execute the local Codex CLI as a coding agent, including code reviews, session resume/fork, and CLI diagnostics.9MIT