Codex MCP Tool

MCP server connecting Claude/Cursor to Codex CLI. Enables code analysis via @ file references, multi-turn conversations, sandboxed edits, and structured change mode. Its 13 documented tools cluster into read & search, ask, batch, review. It runs locally over stdio via the published package.

People connecting developer tools tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-07-29 · ★ 23 · #57 OF 139 MAINTAINED DEVELOPER TOOLS · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Codex MCP Tool

before you install - you'll need

CODEX_CLI_PATH

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

claude mcp add x51xxx-codex-mcp-tool -- npx -y @trishchuk/codex-mcp-tool

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "x51xxx-codex-mcp-tool": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/codex-mcp-tool"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @trishchuk/codex-mcp-tool - the @trishchuk scope differs from the repo owner (x51xxx); confirm it's the project's official package

registry namespace io.github.x51xxx is GitHub-verified and matches the repo owner

03 · What Codex MCP Tool can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can run multiple atomic Codex tasks sequentially or concurrently, run the native non-interactive Codex review command, execute, verify with a shell command, and retry fixes, and generate ideas with structured creative frameworks.

Capability map

Tools grouped from the project's README - what Codex MCP Tool lets an agent do.

read & search

3 tools - e.g. View, delete, or clear MCP conversation mappings; List skills visible from the selected workspace; Retrieve a chunk from cached change-mode output

list-sessions · list-skills · fetch-chunk

Ask

1 tool - e.g. Execute Codex CLI with files, models, sessions, and safety controls

ask-codex

Batch

1 tool - e.g. Run multiple atomic Codex tasks sequentially or concurrently

batch-codex

Review

1 tool - e.g. Run the native non-interactive Codex review command

review-changes

Act

1 tool - e.g. Execute, verify with a shell command, and retry fixes

do-act

Brainstorm

1 tool - e.g. Generate ideas with structured creative frameworks

brainstorm

Health

1 tool - e.g. Diagnose CLI installation, version, features, and sessions

health

Ping

1 tool - e.g. Test the MCP connection

ping

04 · Who maintains Codex MCP Tool

codex-mcp-tool is maintained by x51xxx. We track 2 MCP servers from x51xxx - 2 actively maintained, 24 combined GitHub stars, oldest repo from Sep 2025.

05 · Facts

category
developer tools - ranked #57 of 139 actively-maintained developer tools servers as of 2026-08-25.
registry
io.github.x51xxx/codex-mcp-tool (active, first published 2026-03-06 · 2 versions)
packages
npm:@trishchuk/codex-mcp-tool

06 · Codex MCP Tool FAQ

Is Codex MCP Tool still maintained?

Yes - as of 2026-08-25, its last commit was 2026-07-29. We re-verify nightly.

What can Codex MCP Tool do?

With this server connected, an agent can run multiple atomic Codex tasks sequentially or concurrently, run the native non-interactive Codex review command, execute, verify with a shell command, and retry fixes, and generate ideas with structured creative frameworks.

How do I install Codex MCP Tool?

Run `npx -y @trishchuk/codex-mcp-tool`. The README documents one environment variable (CODEX_CLI_PATH) to set first. You can also paste the ready-made client config above.

Does Codex MCP Tool run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Codex MCP Tool

More developer tools MCP servers · Milatexai · Gonzalgo · Sparda · Agentic HIL · Axint

More TypeScript MCP servers · Pixelcheck · Helldivers2 MCP · Prompt Switchboard MCP Sidecar · Claude Octopus · Codex Octopus · see all