Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEX_PATHNoPath to Codex CLI executable if not in PATH.
OPENAI_API_KEYYesYour OpenAI API key (required).
CODEXMCP_USE_CLINoWhether to use Codex CLI when available.true
CODEXMCP_CACHE_TTLNoCache time-to-live in seconds.3600
CODEXMCP_LOG_LEVELNoLogging level.INFO
CODEXMCP_CONSOLE_LOGNoEnable console logging.true
CODEXMCP_MAX_RETRIESNoMaximum retry attempts for API calls.3
CODEXMCP_CACHE_ENABLEDNoEnable response caching.true
CODEXMCP_DEFAULT_MODELNoDefault model to use.o4-mini
CODEXMCP_RETRY_BACKOFFNoExponential backoff factor for retries.2.0

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tomascupr/codexMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server