codex-subagent
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NO_PROXY | No | Optional proxy setting forwarded to the spawned `codex app-server` child. Default: unset (inherits environment). | |
| ALL_PROXY | No | Optional proxy setting forwarded to the spawned `codex app-server` child. Default: unset (inherits environment). | |
| CODEX_HOME | No | Optional Codex home directory override. Default: unset. | |
| HTTP_PROXY | No | Optional proxy setting forwarded to the spawned `codex app-server` child. Default: unset (inherits environment). | |
| CODEX_MODEL | No | Optional default Codex model for new sessions (resumed turns preserve their prior session model unless overridden per call). Default: unset (inherits `~/.codex/config.toml`). | |
| HTTPS_PROXY | No | Optional proxy setting forwarded to the spawned `codex app-server` child. Default: unset (inherits environment). | |
| CODEX_SANDBOX | No | Optional default sandbox override (`read-only`, `workspace-write`, `danger-full-access`). Default: unset. | |
| OPENAI_API_KEY | No | Codex authentication alternative to running `codex login` (can also be set in `~/.codex/config.toml`). | |
| CODEX_ANCHOR_PATH | No | Optional directory anchor searched when resolving `@openai/codex`. Default: unset. | |
| CODEX_EOF_GRACE_MS | No | Grace period waiting for clean child exit after closing stdin. Default: `6000`. | |
| CODEX_MAX_SESSIONS | No | Maximum tracked persistent sessions before LRU archiving. Default: `200`. | |
| CODEX_WARM_IDLE_MS | No | Opt-in warm `app-server` worker idle TTL in ms. When `0`, each turn spawns a fresh process. When `> 0`, consecutive persistent turns with matching config reuse the initialized worker. Default: `0` in code (`180000` in default `mcp_config.json`). | |
| CODEX_WRAPPER_PATH | No | Optional explicit path to `@openai/codex/bin/codex.js` (auto-resolves from local `node_modules`, standard global npm directories, or optional DSH profile). Default: auto-resolved. | |
| CODEX_SESSION_TTL_MS | No | Idle persistent session expiration TTL. Default: `604800000` (7 days). | |
| CODEX_DEFAULT_WAIT_MS | No | Default synchronous wait window in ms before returning `status: "running"` (`1000..150000`). Default: `120000`. | |
| CODEX_PERMISSION_MODE | No | Default approval/sandbox preset (`never`, `read-only`, `approve-for-me`, `dangerously-bypass-approvals-and-sandbox`). Default: `never`. | |
| CODEX_TURN_TIMEOUT_MS | No | Optional per-turn timeout in ms. Default: unset. | |
| CODEX_DISPOSE_GRACE_MS | No | Bounded grace period waiting after subprocess termination. Default: `3000`. | |
| CODEX_REASONING_EFFORT | No | Optional default reasoning effort (`low`, `medium`, `high`, `xhigh`). Default: unset (inherits `~/.codex/config.toml`). | |
| CODEX_REQUEST_TIMEOUT_MS | No | Per-RPC request timeout in ms (inside `codex-wire.mjs`). Default: `30000`. | |
| CODEX_SESSION_STORE_PATH | No | Isolated session registry path (`jobs/` sibling directory stores unclaimed settled job receipts). Keep separate from other harnesses sharing the same filename pattern to avoid `.lock` contention. Default: `<plugin>/data/codex-subagent-sessions.json`. |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues