codex-as-mcp

Level BLocal

Convert codex CLI tool to an MCP — unleash the power of GPT-5

⭐ 176Development ToolsPythonRepo ↗Updated 2026-06-29

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "kky42-codex-as-mcp": {
      "command": "uvx",
      "args": [
        "codex-as-mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/kky42/codex-as-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "kky42-codex-as-mcp": {
      "command": "uvx",
      "args": [
        "codex-as-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers