codex-imagegen-mcp

Level CLocal

MCP server + Agent Skill that brings OpenAI Codex's image generation to your coding tools, with a one-command installer for opencode, Claude Code, Codex, Cursor, VS Code, Gemini CLI and 20 more. Runs on your ChatGPT plan with no API key.

⭐ 0AI GenerationJavaScriptRepo ↗Updated 2026-10-22

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "npm-codex-imagegen-mcp": {
      "command": "npx",
      "args": [
        "codex-imagegen-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://www.npmjs.com/package/codex-imagegen-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "npm-codex-imagegen-mcp": {
      "command": "npx",
      "args": [
        "codex-imagegen-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