Skip to main content

Codex / OpenAI Image

io.github.meet30997/codex-openai-image-mcp

v0.1.2Updated Oct 27, 2026stdio · npm

Generate, edit and make matching sets of images with the Codex CLI or the OpenAI Images API

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add codex-openai-image-mcp -e IMAGEGEN_PROVIDER=codex-cli -- npx -y [email protected]

Configuration

3 settings.

  • IMAGEGEN_PROVIDER
    Env var· required
    Image backend: codex-cli (your ChatGPT plan via the Codex CLI), openai-api, or mockDefault: codex-cli
  • OPENAI_API_KEY
    Env var· optional· secret
    OpenAI API key, only needed for the openai-api backend
  • IMAGEGEN_OUT_DIR
    Env var· optional
    Folder for generated images, relative to the working folder (default generated-images)

Listed in the official MCP Registry since Oct 27, 2026. Mirrored daily; last checked Nov 26, 2026.