agy-codex
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODEX_BIN | No | Custom Codex executable path. Auto-detects `codex` by default. On Windows use an absolute path such as C:\Users\...\npm\codex.cmd or codex.exe; in WSL use a POSIX path such as /usr/local/bin/codex. | |
| CODEX_USE_WSL | No | Set to `true` / `1` / `yes` to enable WSL bridge mode. Default and code fallback is `false`. | |
| CODEX_GUARD_DIRS | No | Only effective when `hooks.json` is enabled; specifies protected directories that must not be directly edited (comma or semicolon separated). Default `backend,server,api,migrations`. | |
| CODEX_WSL_DISTRO | No | In WSL bridge mode, specifies the target distribution via `wsl.exe -d <distro>` (e.g. `Ubuntu`, `Ubuntu-24.04`). Defaults to the default WSL distribution. | |
| CODEX_DEFAULT_MODEL | No | Optional default model override (e.g. `gpt-6.2-astra`). Defaults to the value in `~/.codex/config.toml`. | |
| CODEX_DEFAULT_SANDBOX | No | Default sandbox policy used when a tool call does not explicitly pass `sandbox`. Plugin default is `workspace-write` (code fallback `read-only`). | |
| CODEX_TIMEOUT_SECONDS | No | Per-execution timeout in seconds; on timeout the whole child process tree is cleaned up. Default `600`. | |
| CODEX_DEFAULT_REASONING_EFFORT | No | Optional default reasoning depth: `minimal` / `low` / `medium` / `high` / `xhigh`. Defaults to the CLI default. |
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 | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| codexA | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of misselection or overlap with siblings. Its purpose—running a non-interactive Codex CLI session—is stated explicitly and unambiguously.
The single name `codex` is lowercase and readable, but it is a bare noun rather than a verb_noun action name like `run_codex` or `execute_codex`. With only one tool there is no internal inconsistency, just a slightly underspecified convention.
One tool is thin for a surface that spans execution, sandbox modes, session resumption, and changed-file reporting, but it plausibly matches the underlying CLI's single-command nature. It sits at the borderline of the rubric's '1-2 tools feels thin' band rather than being an extreme mismatch.
Execution, resumption, and scope verification are covered, but there is no way to list or inspect existing sessions, cancel/abort a running session, or query status—dead ends for lifecycle management. For a single-tool CLI bridge this is workable but notably gapped.