Listed from the MCP registry; nobody on Odel publishes it.
Generate and edit images with gpt-image-2, including masks and transparency.
Runs on your machine from its package; the steps are below.

At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx codex-images-mcp
MCP client config
{
"mcpServers": {
"codex-images": {
"command": "uvx",
"args": [
"codex-images-mcp"
]
}
}
}Run
docker run -i --rm ghcr.io/jlmoreno00/codex-images-mcp:0.1.1
MCP client config
{
"mcpServers": {
"codex-images": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/jlmoreno00/codex-images-mcp:0.1.1"
]
}
}
}Generate and edit images from any MCP client with gpt-image-2 on the ChatGPT plan you already pay for. No OpenAI API key, no per-image bill.
codex-images-mcp is an MCP server for the Codex Images endpoint. It runs locally over stdio, or as a self-hosted HTTP server that your laptop, your VPS agents and your Pi / Gentle Shell sessions can share. Every image comes back as a verifiable artifact: SHA-256, byte count, MIME type and real dimensions.
Unofficial. Not affiliated with or endorsed by OpenAI. It signs in with your own ChatGPT account and uses the same endpoint as the Codex CLI. You are bound by OpenAI's terms for your account, and image generation counts against your plan's limits.
codex_images (generate/edit) and codex_images_artifact (fetch an image by URI, inline or through a short-lived signed download).parallel, variants, chain and branded-parallel (every image references a shared anchor for brand-consistent sets).native, exact, fit or cover post-processing, so a 1200×630 card is 1200×630.CODEX_IMAGES_ENGINE=api with an OPENAI_API_KEY to choose the model yourself (Images 2.6 gpt-image-2.6-sunburst / -flare), with quality up to max and complexity control. This engine is billed to your API account. On the default ChatGPT plan route OpenAI chooses the model, and the API selectors (model, quality, complexity) are ignored.codex-images-mcp login uses a device code and keeps a separate session, so it never rotates (and breaks) your Codex app's sign-in.uvx --from codex-images-mcp codex-images-mcp login # sign in once (device code)
uvx --from codex-images-mcp codex-images-mcp setup # register in Claude Code, Claude Desktop, Codex, Cursor, OpenCode
Or try it from the terminal:
uvx --from codex-images-mcp codex-images-mcp generate "a ceramic mug, studio light" --transparent --pretty
Already signed in to the Codex CLI? codex-images-mcp can use that login read-only until its token expires. It never refreshes it; run login for a session of its own.
Example outputs from gpt-image-2 via this server. The pictures are resized for this page. A transparent generate, and an edit that sends a reference plus a mask, are written up in docs/examples.md.

The generate on the left used the prompt a ceramic mug, studio light with transparent set. The model returned a 1536×1024 PNG, 1,745,462 bytes, sha256 e0d0338218529ca36e0d64e92eb2737c6794b392343f1a5ab32884a49dab48ba. The edit sent that mug as the reference, with a mask over the front, and asked for a small dark brown stamped coffee bean. It returned a 1536×1024 PNG, sha256 7c5b28d4950f5207c111f875ef9d19349e06be3da43ce1200d2d8d2c678b9ba5. The camera angle shifted slightly. A mask is a hint, and the model may adjust the whole frame.
The generate result is a PNG with a real alpha channel. The checkerboard is only a backdrop, so the transparent background is visible:

Also in this folder: an off-white generate, the edit on a checkerboard, and 1200px transparent PNGs of the generate and the edit.
export CODEX_IMAGES_HTTP_TOKEN=$(openssl rand -hex 32)
docker compose up -d
docker compose run --rm codex-images codex-images-mcp login
Then point your clients at https://your-host/mcp/ with Authorization: Bearer $CODEX_IMAGES_HTTP_TOKEN. See docs/self-hosting.md for the reverse proxy, signed downloads and every setting.
pi-codex-images is a Pi extension for a self-hosted server. It reads the local files you authorize, sends them inline, and writes verified results atomically into your project:
pi install npm:pi-codex-images
generate, login, logout, setup, status, uninstall.codex-images-mcp started as a fork of VelmoAI/codex-imagen by wauwa. The installer and much of the original structure come from there. The OAuth token handling derives from codex-image-gen by Small Turtle 2. The generation engine was replaced with the native Codex Images endpoint, and the prompt-rewriting and chroma-key layers were removed.