Codex image generation with one MCP server
Codex writes your UI; imageat fills it. Add the imageat MCP server to the Codex CLI and the IDE extension and app pick it up too, so Codex can generate the images a feature needs and commit them with the code.
Connect in two minutes
Free to connect. Generations use your imageat credits or prepaid API balance. Other assistants are one tab away.
Local server · Node.js 18+ and an API key
Add the server
One command for the Codex CLI. The IDE extension and app read the same config.
codex mcp add imageat --env IMAGEAT_API_KEY=iat_live_xxxxxxxxxxxx -- npx -y @imageat/mcp
Or edit config.toml
The same server in ~/.codex/config.toml. Use a key from your Projects page.
[mcp_servers.imageat]
command = "npx"
args = ["-y", "@imageat/mcp"]
env = { IMAGEAT_API_KEY = "iat_live_xxxxxxxxxxxx" }Generate
Start a new Codex session; /mcp lists the imageat tools.
Try these in Codex
“Use imageat to generate friendly empty-state illustrations for the inbox, search and settings screens, matching our brand colors, and add them to the components.”
“Generate a 1024×1024 app icon with imageat GPT Image 2.5, then export the iOS and Android sizes into the assets folder.”
“Create clean hero illustrations for each page in docs/ with imageat and reference them in the markdown.”
What Codex can do with imageat
CLI, IDE and app
codex mcp add once; the Codex IDE extension and app read the same ~/.codex/config.toml.
Every image model
GPT Image 2.5, Nano Banana Pro, Midjourney V8, Seedream 5 Pro and Krea 3, picked per request.
Files, not just links
Codex downloads the CDN results into your repo and wires them into the code it writes.
Pay per image
Uses your imageat credits or prepaid API balance; there is no extra subscription for Codex.
Make the images, then post them
Connect Instagram, Facebook, LinkedIn or X once. Codex can save drafts, schedule posts or fill your weekly autopilot slots, and asks before anything goes public. Posting is included in every plan.