Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEX_BINNoCustom 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_WSLNoSet to `true` / `1` / `yes` to enable WSL bridge mode. Default and code fallback is `false`.
CODEX_GUARD_DIRSNoOnly 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_DISTRONoIn 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_MODELNoOptional default model override (e.g. `gpt-6.2-astra`). Defaults to the value in `~/.codex/config.toml`.
CODEX_DEFAULT_SANDBOXNoDefault sandbox policy used when a tool call does not explicitly pass `sandbox`. Plugin default is `workspace-write` (code fallback `read-only`).
CODEX_TIMEOUT_SECONDSNoPer-execution timeout in seconds; on timeout the whole child process tree is cleaned up. Default `600`.
CODEX_DEFAULT_REASONING_EFFORTNoOptional 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
codexA
Executes a non-interactive OpenAI Codex CLI session (including GPT-6.2 Astra) in a target workspace or git worktree.
Supports both Windows native execution and WSL bridging via environment variables, unattended approval policy,
session resumption (`SESSION_ID`), reasoning effort tuning, and git `changed_files` reporting.

**Best-Fit Tasks:**
    - Deep root-cause debugging and closed-loop test-fix cycles.
    - Cross-model code review (`sandbox="read-only"`) for concurrency, edge cases, invariants, and security.
    - High-logic / high-correctness implementation (algorithms, state machines, protocols, concurrency, data/backend logic).
    - Multi-file refactoring preserving strict invariants and comprehensive test coverage.

**Collaboration Best Practices:**
    - Always pass `cd` pointing to the active workspace or `/teamwork` git worktree root.
    - Use `sandbox="read-only"` for analysis/reviews and `sandbox="workspace-write"` for edits/fixes.
    - Reuse `SESSION_ID` on rework/follow-ups to preserve context and token cache.
    - Inspect `changed_files` in the response to verify scope before finalizing.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 1 tool

Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count3/5

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.

Completeness3/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues