Codex / OpenAI Image

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

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "codex-openai-image-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codex-openai-image-mcp@0.1.2"
      ],
      "env": {
        "IMAGEGEN_PROVIDER": "<your IMAGEGEN_PROVIDER>",
        "OPENAI_API_KEY": "<your OPENAI_API_KEY>"
      }
    }
  }
}
Environment variables
  • IMAGEGEN_PROVIDERrequiredImage backend: codex-cli (your ChatGPT plan via the Codex CLI), openai-api, or mock
  • OPENAI_API_KEYsecretOpenAI API key, only needed for the openai-api backend

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.2
Registry
active
Published
10/27/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Codex / OpenAI Image is listed here — it’s also the link we check for a free listing.

Codex / OpenAI Image — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-meet30997-codex-openai-image-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Codex / OpenAI Image — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Codex / OpenAI Image — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-meet30997-codex-openai-image-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.