Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--codexNoPath to the Codex executable when Codex is not available on PATH.
--state-dirNoDirectory for session state files such as runtime.json, sessions.json, and daemon.log; use a directory accessible only to the current user.
--allow-rootNoProject root directory that the MCP server is allowed to operate on; projects must be inside an explicitly allowed root.
CODEX_PROJECT_ROOTNoAbsolute project directory allowed when installing the Antigravity plugin (method B).

Instructions

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

Delegate with codex_start and preserve conversation_id. Immediately call codex_open with that conversation_id so the user sees the Codex conversation. Use codex_wait/read until completed/failed/cancelled, then inspect results and continue with codex_send if acceptance criteria are unmet. Never claim completion while running. Resolve approvals only within user authorization. Codex uses a separate context; send task scope and acceptance criteria. Do not run competing writers in the same project.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
codex_openA

Open the embedded Codex conversation side panel. Pass a conversation_id or omit it for the session list. On IDE, the companion extension opens the same conversation.

codex_startA

Delegate a coding task to Codex and open its conversation. Returns immediately; MUST use codex_read/wait until a terminal status before reporting completion. One active turn per project. Uses the local Codex login.

codex_sendA

Send a follow-up in the SAME Codex conversation, preserving context. mode=next starts a new turn after completion; mode=steer adds instructions to a running turn. Do not retry unknown mutations with a new request_id.

codex_listB

List bridge-managed Codex conversations, their states and configured project roots.

codex_readB

Read bounded conversation messages, execution events and pending approvals. after is an event cursor; follow next_cursor when has_more is true.

codex_waitA

Wait up to 20 seconds for new events or completion, then return conversation state. Continue waiting if status remains running/starting. waiting_approval requires attention.

codex_resumeA

Import/resume an existing Codex thread by its exact thread_id and open the panel. Never attach to a conversation being controlled by another client.

codex_cancelA

Request interruption of the current Codex turn. File edits already made are retained. Query state until cancelled/completed.

codex_respondA

Answer a pending Codex approval or user-input request. Only accept actions within user authorization. Read pending_requests first; approvals are never auto-accepted.

codex_modelsA

List available models from the configured Codex account.

codex_diagnoseA

Check the bridge and app-server handshake without starting a model turn. Never returns auth tokens.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Codex ConversationsInteractive Codex session panel

TDQS

A3.9/5.0

Scored across 11 tools

Disambiguation4/5

Each tool maps to a distinct lifecycle action (start, send, read, wait, cancel, respond, resume, list, open), and descriptions clarify the boundaries. A few pairs are still easy to mix up: codex_open vs codex_start vs codex_resume all open a conversation, and codex_read vs codex_wait both surface events and state.

Naming Consistency5/5

Every tool uses the same codex_ prefix plus a short lowercase verb/noun in snake_case, with no deviations in casing or style. The pattern is predictable enough that an agent can guess related tool names.

Tool Count5/5

Eleven tools is well within the ideal band and each one covers a specific step of the conversation lifecycle rather than duplicating functionality. Nothing feels padded or conspicuously thin.

Completeness4/5

The surface covers the full turn lifecycle: start, follow-up/steer, read, wait, approve, cancel, resume, list, and open, plus diagnostics and model listing. Minor gaps remain, such as deleting or archiving conversations and changing project/model configuration for an existing thread.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues