Codex Tool MCP Server

Codex MCP Tool is an open‑source Model Context Protocol (MCP) server that connects your IDE or AI assistant (Claude, Cursor, etc.) to the Codex CLI. It enables non‑interactive automation with codex…

Local serverstdioMIT

What is the Codex Tool MCP Server?

Codex Tool is an MCP project maintained in the cexll/codex-mcp-server repository. The maintainer describes its purpose as “Codex MCP Tool is an open‑source Model Context Protocol (MCP) server that connects your IDE or AI assistant (Claude, Cursor, etc.) to the Codex CLI…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @cexll/codex-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
gpt-5-codexdefault, optimized for coding)
gpt-5general purpose, fast reasoning)
o3smartest, deep reasoning)
o4-minifast & efficient)
codex-1o3-based for software engineering)
codex-mini-latestlow-latency code Q&A)
gpt-4.1also available)
Domainspecific context (software, business, creative, research, product, marketing)
Example/codex-cli:ping (MCP) "Hello from Codex MCP!"

How to install the Codex Tool MCP Server

{
  "mcpServers": {
    "codex-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@cexll/codex-mcp-server"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.