Skip to main content
Glama
x51xxx

codex-mcp-tool

by x51xxx

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEX_CLI_PATHNoPath to the Codex CLI executable, e.g., /opt/homebrew/bin/codex
CODEX_MAX_SESSIONSNoMaximum number of sessions to keep (default: 50)50
CODEX_SESSION_TTL_MSNoSession time-to-live in milliseconds (default: 24h)24h

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
logging
{}
prompts
{}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ask-codex

Execute Codex CLI with file analysis (@syntax), skills ($syntax), model selection, and safety controls. Supports changeMode.

batch-codex

Delegate multiple atomic tasks to Codex for batch processing. Ideal for repetitive operations, mass refactoring, and automated code transformations

review-changes

Run a code review against the current repository using Codex CLI native review subcommand

pingC

Echo

helpC

receive help information

versionA

Display version and system information

brainstormA

Generate creative ideas using structured frameworks with domain context and feasibility analysis.

fetch-chunkA

Retrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response.

timeout-testA

Test timeout prevention by running for a specified duration

list-sessions

List all active conversation sessions with metadata, or manage sessions

health

Check Codex CLI and session health status

list-skillsA

Discover available Codex skills from .agents/skills/ directory

do-actA

Execute task via Codex, verify with shell command, auto-fix on failure. Act-Check-Fix loop.

Prompts

Interactive templates invoked by user choice

NameDescription
ask-codexExecute Codex CLI with optional changeMode
batch-codexExecute multiple atomic Codex tasks in batch mode for efficient automation
review-changesExecute Codex's built-in code review on current changes
pingEcho test message with structured response.
helpreceive help information
versionGet version information for Codex CLI and MCP server
brainstormCreate structured brainstorming with chosen methodology and analysis
fetch-chunkFetch the next chunk of a response
timeout-testTest the timeout prevention system by running a long operation
list-sessionsView and manage active Codex sessions
healthDiagnose Codex CLI installation, authentication, and session health
list-skillsList available Codex skills in the current project
do-actExecute task with verification-driven retry

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/x51xxx/codex-mcp-tool'

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