Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEX_HOMENoThe Codex home directory. Every MCP client should use the same CODEX_HOME when running in central worker mode.
CODEX_MCP_STATE_DBNoPath to the MCP SQLite state database. Every MCP client should use the same CODEX_MCP_STATE_DB when running in central worker mode.
CODEX_MCP_EXECUTION_MODENoExecution mode for the server. The default 'inline' mode lets one MCP process submit and execute operations. Set to 'client' for OpenClaw gateway entries and 'worker' for the long-running worker process (codex-control-plane-mcp-worker) that owns codex-app-server, leases, queue slots, and resource locks.
CODEX_MCP_MAX_ACTIVE_TURNS_GLOBALNoMaximum number of active turns globally. Defaults to 4.
CODEX_MCP_MAX_ACTIVE_TURNS_PER_AGENTNoMaximum number of active turns per agent. Defaults to 3.
CODEX_MCP_MAX_ACTIVE_TURNS_PER_THREADNoMaximum number of active turns per thread. Defaults to 1.
CODEX_MCP_MAX_ACTIVE_TURNS_PER_PROJECTNoMaximum number of active turns per project. Defaults to 3.
CODEX_MCP_MAX_APP_SERVER_PENDING_REQUESTSNoMaximum number of pending app-server requests. Defaults to 8.
CODEX_MCP_MAX_ACTIVE_WRITE_TURNS_PER_PROJECTNoMaximum number of active write turns per project. Defaults to 1.

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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources