Skip to main content
Glama
nayagamez
by nayagamez

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEX_CLI_PATHNoPath to the Codex CLI binarycodex
OPENAI_API_KEYNoAPI key for authentication (alternative to ChatGPT login)
CODEX_MCP_DEBUGNoSet to enable debug logging to stderr
CODEX_TIMEOUT_MSNoIdle timeout for Codex process600000

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
codexA

Run a Codex CLI session. Executes codex exec as a subprocess and returns the result.

Use this tool to start a new coding task with Codex. The response includes a Thread ID that can be used with the codex-reply tool to continue the conversation.

codex-replyA

Continue a Codex CLI conversation by providing the thread ID from a previous codex call and a follow-up prompt.

Uses codex exec resume to load the previous session from disk and continue the conversation.

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/nayagamez/codex-cli-mcp'

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