codex-mcp-tool

Codex Tool MCP Server

codex-mcp-tool connects Claude or Cursor with Codex CLI for developers analyzing files, editing code, and reviewing repository changes. It supports ongoing sessions, batch tasks, structured patches, and execution followed by verification and repair.

Server facts

codex-mcp-tool

Project

Author
x51xxx
License
MIT

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
24
Last commit
Data as of

Tags

  • Claude
  • Code Analysis
  • Cursor
  • Refactoring
  • code review
  • codex
  • codex cli
  • openai

Overview

Codex CLI workflows are exposed to Claude and Cursor through tools for analysis, edits, and repository review. With ask-codex, developers can reference files using @ syntax, invoke skills, choose a model, and request structured OLD/NEW changes. batch-codex handles collections of atomic tasks, while review-changes invokes the CLI’s repository review functionality. For work that needs an explicit check, do-act runs a task, verifies it with a shell command, and attempts a fix when verification fails. Large changeMode responses can be continued through fetch-chunk, which retrieves cached portions of the output.

Conversation sessions preserve context across requests and keep workspaces isolated; list-sessions provides session inspection and management. Additional options include sandboxed execution, web search, and local models through Ollama or LM Studio. The brainstorm tool applies structured ideation methods with domain context and feasibility analysis, while list-skills discovers available Codex skills. Health, version, help, and connection-testing tools support diagnosis. This Node-based project communicates over stdio and requires Node.js 18 or later plus an installed, authenticated Codex CLI. It is distributed under the MIT license.

codex-mcp-tool setup notes

  • codex-mcp-tool records stdio only; confirm a network transport upstream before planning remote access.

Related MCP servers