codex-executor
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODEX_BIN | No | Explicit absolute path to codex.exe / codex. If omitted, the highest available version is auto-detected. | |
| CODEX_HOME | No | Directory from which config.toml and models_cache.json are read. | ~/.codex |
| CODEX_TEMP_DIR | No | Directory for temporary runtime logs and message files. Windows users are advised to set this to a non-system drive such as D:\... | <os.tmpdir()>/codex-mcp |
| CODEX_ANCHOR_DIR | No | Directory for the persistent ledger _runs/ and the default routing.json. | ~/codex-orchestrator |
| CODEX_DASHBOARD_PORT | No | Listening port for the standalone HTTP dashboard. | 18765 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| codex_runA | Delegate a coding, research, refactoring, or audit task to the local OpenAI Codex CLI ( |
| codex_resumeA | Continue an existing Codex CLI session ( |
| codex_reviewB | Run non-interactive Codex code review ( |
| codex_statusB | Check status or continue waiting for an in-progress or finished Codex job by job_id. |
| codex_group_statusB | List all task groups or wait for/inspect all child agents inside a specific |
| codex_cancelA | Terminate a running Codex job (by job_id) or all running jobs in a group. |
| codex_modelsA | Inspect available GPT models & reasoning levels from Codex models_cache.json, and optionally configure global orchestrator defaults or reset to config.toml. |
| codex_dashboardA | Open or refresh the native Antigravity side-pane / sidebar Codex CLI terminal monitor and multi-agent tree. |
| codex_infoC | Inspect the resolved local Codex CLI executable path, version, anchor directory, effective GPT defaults, and tracked jobs. |
| codex_app_overviewC | Internal MCP App overview snapshot. |
| codex_app_job_detailC | Internal MCP App job detail & live CLI stream. |
| codex_app_update_routingD | Internal MCP App GPT routing configuration updater. |
| codex_app_cancel_jobD | Internal MCP App running job canceller. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Codex 终端监控 | Antigravity side-pane & sidebar live Codex CLI console and multi-agent tree |
TDQS
Scored across 13 tools
The four `codex_app_*` tools duplicate public surface: `codex_app_cancel_job` overlaps `codex_cancel`, `codex_app_job_detail` overlaps `codex_status`, `codex_app_update_routing` overlaps `codex_models` configuration, and `codex_app_overview` overlaps `codex_info`/`codex_dashboard`. An agent must guess whether to use the 'app' variant or the core tool for the same operation, and `codex_status` vs `codex_group_status` is a further near-collision. The 'Internal MCP App' labels hint at UI-only usage but do not clearly state when to prefer one over the other.
All names use a `codex_` prefix with snake_case, and the core set follows a predictable verb/target pattern (`run`, `resume`, `cancel`, `status`, `review`, `models`, `info`). The `codex_app_*` subgroup introduces a second namespace with slightly mixed forms (`overview` and `job_detail` are nouns, `update_routing`/`cancel_job` are verb_noun), but it is still readable and internally coherent.
Thirteen tools sit comfortably in the well-scoped range for an orchestration server covering launch, resume, cancel, status, review, and configuration. The only inefficiency is that roughly a third of the set is dedicated to internal app/UI plumbing rather than distinct agent-facing operations.
The core lifecycle is well covered: delegate (`run`), follow up (`resume`), monitor (`status`, `group_status`, `info`), terminate (`cancel`), review diffs (`review`), and configure models (`models`). Minor gaps exist around explicit job listing/log retrieval as first-class tools (partially hidden in `codex_info` and `codex_app_job_detail`) and group creation semantics, but agents can work around these.