antigravity-codex-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODEX_HOME | No | The Codex home directory. The models cache is read from ~/.codex/models_cache.json or from the cache under CODEX_HOME when set. | |
| CODEX_MCP_JOBS_DIR | No | Override the directory where jobs are stored. Defaults to ~/.codex/mcp-jobs. | |
| CODEX_MCP_SESSIONS_DIR | No | Override the directory where sessions are stored. Defaults to ~/.codex/mcp-sessions. When only the jobs directory is overridden, sessions live in its sessions subdirectory. | |
| CODEX_DEFAULT_SERVICE_TIER | No | Set a default service tier override in the MCP server's environment. |
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 |
|---|---|
| codexA | Start Codex CLI for coding, architecture, or read-only consultation with optional sessionId resume. Returns a background job immediately. Run waitCommand or waitCommandPosix (Bash or Zsh), or call job_status with jobId for output. |
| reviewA | Start a read-only code review against a repository. Supports uncommitted changes with a custom review prompt. Returns a background job immediately. Run waitCommand or waitCommandPosix (Bash or Zsh), or call job_status with jobId for output. |
| adversarial_reviewA | Start a skeptical, read-only architecture, plan, or diff audit. Defaults to Astra with high effort. Returns a background job immediately. Run waitCommand or waitCommandPosix (Bash or Zsh), or call job_status with jobId for output. |
| listModelsA | List Codex models, supported reasoning efforts and service tiers, and resolved model aliases from ~/.codex/models_cache.json. Shows CODEX_DEFAULT_SERVICE_TIER. |
| pingA | Test the MCP connection. Response metadata lists background job commands, serviceTier options and CODEX_DEFAULT_SERVICE_TIER. |
| helpB | Get MCP usage for background jobs, serviceTier and CODEX_DEFAULT_SERVICE_TIER. |
| listSessionsA | List active saved conversation sessions, including their Codex thread IDs and service tiers. |
| websearchA | Start a search using the native Codex web search tool in a read-only session. Returns a background job immediately. Run waitCommand or waitCommandPosix (Bash or Zsh), or call job_status with jobId for output. |
| job_statusA | Read the job status, a live output tail while running, or its full result or error after completion. |
| list_jobsB | List background jobs from newest to oldest, with optional status filtering. |
| cancel_jobA | Stop the process tree for a running background job and return its final status. |
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 11 tools
The start tools (codex, review, adversarial_review, websearch) are mostly separated by purpose, and job management tools are distinct. Some boundary ambiguity remains between codex's read-only consultation and review/adversarial_review, and between ping and help for MCP metadata.
Names mix snake_case (job_status, list_jobs), camelCase (listModels, listSessions), and bare nouns/verbs (codex, review, ping). Even the same list action is split between listModels/listSessions and list_jobs, so naming is not predictable.
The 11 tools fit the domain: job starters, job controls, session/model discovery, and connection/help utilities. The set is well within a reasonable range and each group maps to a clear need.
The background job lifecycle is covered with start, status, list, and cancel operations, plus model/session discovery and help/ping. Minor gaps include limited session management (list only) and no dedicated wait/poll abstraction beyond job_status.