
Generate and edit images with gpt-image-2, including masks and transparency.
Public tool metadata for what this MCP can expose to an agent.
codex_imagesGenerate or edit images.Generate or edit images.
No parameter schema in public metadata yet.
codex_images_artifactFetch an image by URI, inline or through a short-lived signed download.Fetch an image by URI, inline or through a short-lived signed download.
No parameter schema in public metadata yet.
Sponsors
CODEX_IMAGES_HTTP_TOKEN*secretBearer token. The image listens on 0.0.0.0 and refuses to start without this.
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-mcp