Codex MCP Server

To use the MCP Codex Server, you need to have a Codex API key. You can get your key from the Codex Dashboard.

Local serverstdioISC

What is the Codex MCP Server?

Codex MCP Server is an MCP project maintained in the codex-data/codex-mcp repository. The maintainer describes its purpose as “To use the MCP Codex Server, you need to have a Codex API key. You can get your key from the Codex Dashboard”. Read the project documentation for the complete scope.

Installation

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

Configuration values

The example declares CODEX_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

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

How to install the Codex MCP Server

{
  "mcpServers": {
    "codex-data": {
      "command": "npx",
      "args": [
        "-y",
        "@codex-data/codex-mcp"
      ],
      "env": {
        "CODEX_API_KEY": "YOUR_CODEX_API_KEY"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
CODEX_API_KEYDeclared in the maintainer’s client configuration.Check documentation