Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEX_BINNoPath to your Codex executable. Set this when the Codex binary is outside PATH.
CODEX_CASTOR_STATE_DIRNoOverride the state root for saved telemetry, task logs, and worktrees.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Async MCP server for local Codex CLI (full permissions). codex_dispatch and codex_resume run as Antigravity background tasks: yield or handle other work until reactive wakeup. Call codex_status or codex_monitor on user request.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
logging
{}
resources
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
codex_dispatchA

Dispatch a detailed implementation specification to local Codex CLI running non-interactively with the configured Codex Castor permission policy (full access by default). Configured as an async background tool: after calling it, do NOT poll codex_status; either work on something else or stop your turn and wait for automatic wakeup.

codex_resumeA

Resume an existing Codex task/session with concrete review feedback or rework instructions while preserving Codex's prior session memory. Model and reasoning effort inherit independently from the previous round when known, unless explicitly overridden. Applies the configured Codex Castor permission policy (full access by default). Runs asynchronously as a background tool; do NOT poll after calling.

codex_feedbackB

Record or update user/reviewer effectiveness feedback (rating 1–5, verdict, tags, notes) and/or the user's first prompt after a Codex round finishes. Automatically updates meta.json, telemetry.jsonl, telemetry.csv, and report.md.

codex_statusA

Non-blocking inspection of one Codex task (or list of recent tasks). Use ONLY when the user explicitly asks for progress or for post-mortem debugging—never poll in a loop.

codex_cancelB

Terminate a currently running Codex task immediately.

codex_cleanup_worktreeA

Remove a managed Git worktree created with use_worktree=true after Gemini has verified and merged (or discarded) its branch.

codex_monitorC

Open the live Codex Castor monitor panel (side pane or full page in Antigravity App) or return a structured live snapshot of running and recent Codex tasks including effective model, reasoning effort, and current activity.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
codex_castor_monitorLive monitor showing Codex model, reasoning effort, elapsed time, and real-time activity.

TDQS

A3.6/5.0

Scored across 7 tools

Disambiguation4/5

Most tools have clearly distinct lifecycle roles: dispatch, resume, cancel, cleanup, feedback, monitor, and status. The main ambiguity is between codex_monitor and codex_status, since both can report on running/recent tasks, though the descriptions distinguish a live UI/snapshot from explicit non-blocking inspection.

Naming Consistency4/5

All tools consistently use the codex_ prefix with snake_case, making the set predictable. Most names are action-oriented, though a few are noun-like (feedback, status, monitor), causing minor deviation from a strict verb_noun pattern.

Tool Count5/5

Seven tools is well-scoped for a Codex task orchestration server. Each tool maps to a distinct lifecycle operation, and there are no obvious redundant or filler tools.

Completeness4/5

The surface covers the core task lifecycle: dispatch, monitor, status, resume with feedback, cancel, worktree cleanup, and effectiveness feedback. Minor gaps may exist around retrieving full task output or configuring policy dynamically, but core workflows are supported.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues