claude-code-codex-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| codex_list_modelsA | List all AI models available in Codex configuration and catalog (e.g. gemini, deepseek, gpt-6, grok, glm, claude), showing the active model, context window, and supported reasoning levels. |
| codex_list_sessionsB | List recent Codex conversation sessions / threads (IDs, titles, workspace directories, models, and timestamps). |
| codex_read_sessionC | Read messages, turn history, and tool actions from a specific Codex session. |
| codex_resume_sessionB | Resume and continue an existing Codex session with a new prompt. Keeps previous conversation history, workspace context, and tool capabilities. You can optionally switch models for this turn. |
| codex_fork_sessionB | Fork an existing Codex session by ID into a brand new independent session and execute a prompt. |
| codex_run_taskA | Start a new autonomous Codex coding task with a chosen model and directory. Persists the session in Codex so it can also be viewed, managed, or continued in the Codex Desktop App or CLI. |
| codex_ask_modelA | Directly prompt any Codex model for code review, deep reasoning, translation, or problem solving in ephemeral, read-only mode without file mutations or saved sessions. |
| codex_statusA | Get current Codex environment status, CLI version, configuration paths, active model, and model provider details. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Tools are mostly distinct: session operations (list/read/resume/fork) and task execution (run_task/ask_model) have clear boundaries. Minor overlap exists between codex_status and codex_list_models regarding active model/provider info, but descriptions help differentiate.
All tools use a consistent codex_ prefix and snake_case, with predictable verb_noun patterns for most operations. codex_status is the only noun-only name, a minor deviation.
Eight tools is well-scoped for a Codex session/model management server, covering model discovery, session lifecycle, task execution, and environment status without bloat.
The surface covers core workflows: listing models, checking status, creating/running tasks, reading/resuming/forking sessions, and ephemeral prompting. Minor gaps include session deletion/cleanup or cancellation of running tasks, but agents can work around these.