Context7
Up-to-date docs for AI agents
Descripción del creador (original en inglés)
Generate, edit and make matching sets of images with the Codex CLI or the OpenAI Images API
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
IMAGEGEN_PROVIDER, OPENAI_API_KEY, IMAGEGEN_OUT_DIRLos valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"codex-openai-image": {
"command": "npx",
"args": [
"-y",
"codex-openai-image-mcp"
],
"env": {
"IMAGEGEN_PROVIDER": "your-value",
"OPENAI_API_KEY": "your-value",
"IMAGEGEN_OUT_DIR": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add codex-openai-image --env IMAGEGEN_PROVIDER=your-value --env OPENAI_API_KEY=your-value --env IMAGEGEN_OUT_DIR=your-value -- npx -y codex-openai-image-mcpCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"codex-openai-image": {
"command": "npx",
"args": [
"-y",
"codex-openai-image-mcp"
],
"env": {
"IMAGEGEN_PROVIDER": "your-value",
"OPENAI_API_KEY": "your-value",
"IMAGEGEN_OUT_DIR": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"codex-openai-image": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codex-openai-image-mcp"
],
"env": {
"IMAGEGEN_PROVIDER": "your-value",
"OPENAI_API_KEY": "your-value",
"IMAGEGEN_OUT_DIR": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
IMAGEGEN_OUT_DIR envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub meet30997, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
Debes completar: IMAGEGEN_PROVIDER, OPENAI_API_KEY
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (0.1.2) llegó al registro hace 11 días.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.
En la misma categoría: Context7, Codebase Memory, Exa
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
An MCP server that lets Claude (and any other MCP client) generate images, edit them, and make matching sets, then look at the result and keep going.
It works with two image backends:
OPENAI_API_KEY, for people without Codex.Not affiliated with or endorsed by OpenAI. "OpenAI" and "Codex" are trademarks of OpenAI.
| Edit an image: *"make it a night scene, keep the car and composition"* |
|---|
| A matching set in one call: *"cute flat stickers: coffee, cactus, moon"* |
|---|
Both examples are real, unretouched output from the Codex backend.
generate_set makes several different images that share one style, each saved under its own name..json sidecar with the prompt and settings next to each image.You need Node.js 20.3 or newer, plus one of:
codex login) with a ChatGPT plan that includes Codex image generation, or# Codex backend (your ChatGPT plan)
claude mcp add images -e IMAGEGEN_PROVIDER=codex-cli -- npx -y codex-openai-image-mcp
claude mcp add images -e IMAGEGEN_PROVIDER=openai-api -e OPENAI_API_KEY=sk-... -- npx -y codex-openai-image-mcp
Add this to the client's MCP config (for Claude Desktop, claude_desktop_config.json):
{
"mcpServers": { "images": { "command": "npx", "args": ["-y", "codex-openai-image-mcp"], "env": { "IMAGEGEN_PROVIDER": "codex-cli" } } } }
For the API backend use "IMAGEGEN_PROVIDER": "openai-api" and add "OPENAI_API_KEY".
Then just ask:
Images are saved in ./generated-images in the folder the client was started from.
generate_image| Input | Default | Notes |
|---|---|---|
prompt | required | |
size | 1024x1024 | Any WxH from 16 to 4096 px per side |
count | 1 | 1–4 variants, saved as -v1, -v2, … |
transparent | false | Asks for a transparent background; the result says if the output has none |
references | [] | Up to 4 images whose style to match |
out_name | slug of the prompt | Path inside the output folder, without extension, e.g. icons/rocket |
edit_image| Input | Default | Notes |
|---|---|---|
image | required | The image to change. It is never modified |
prompt | required | The change, e.g. "remove the person on the left", "make it watercolour" |
size | the input's size | WxH |
mask | none | PNG whose transparent areas mark where to edit (OpenAI API only) |
count | 1 | 1–4 variants |
transparent | false | e.g. for cutouts |
references | [] | Up to 3 supporting images: something to insert, or a style to apply |
out_name | -edited |
generate_set| Input | Default | Notes |
|---|---|---|
style | required | What every image shares: medium, palette, rendering, background |
items | required | 1–8 { name, prompt }; each is saved as / .png |
size | 1024x1024 | Same for every image |
transparent | false | |
references | [] | Up to 4 images whose style the whole set matches |
folder | slug of style | Folder inside the output folder |
All tools crop and resize the result to exactly the size you ask for, and return the saved paths with a 512 px preview of each image.
codex-cli | openai-api | mock | |
|---|---|---|---|
| Needs | Codex CLI, signed in | OPENAI_API_KEY | nothing |
| Cost | your ChatGPT plan's usage | per image | free |
| Speed | ~30–60 s per image | depends on model and size | instant |
| References, edits, transparency | yes | yes | edits only |
| Edit masks | no | yes | no |
| Sets | one Codex session for the whole set | one image at a time, first image used as a style reference | one at a time |
mock draws placeholder images, for trying the server out and for tests.
Codex backend. Each call runs codex exec --json --skip-git-repo-check --sandbox read-only --cd [--image= …] -- - with a prompt that asks Codex to call its built-in image_gen tool and nothing else. The server reads the session id from Codex's JSON events and collects the images from $CODEX_HOME/generated_images/ /. Codex never gets write access or sees your project beyond the images you pass it. Cancelling the request, or hitting the timeout, stops Codex. Check OpenAI's terms for scripted use of the Codex CLI with your plan.
OpenAI backend. Uses the official openai SDK. The default model is gpt-image-2.5-sunburst; set IMAGEGEN_OPENAI_MODEL=gpt-image-2.5-flare for faster results. Sizes are rounded to ones the API accepts, then resized to yours. This backend is covered by automated tests against a mocked client; it has not yet had a full live test.
| Variable | Default |
|---|---|
IMAGEGEN_PROVIDER | mock; set codex-cli or openai-api |
OPENAI_API_KEY | required for openai-api |
IMAGEGEN_OPENAI_MODEL | gpt-image-2.5-sunburst |
IMAGEGEN_CODEX_BIN | codex |
IMAGEGEN_OUT_DIR | generated-images, relative to the working folder |
IMAGEGEN_READ_ROOT | the working folder; input images must be inside it |
IMAGEGEN_TIMEOUT_SEC | 300, per image asked for |
IMAGEGEN_MAX_PER_CALL | 8 images |
IMAGEGEN_PREVIEW_SIZE | 512 px |
IMAGEGEN_OUT_DIR. Absolute paths, .. and symlinks that lead outside are rejected.IMAGEGEN_READ_ROOT.-2, -3, … instead. .json sidecar with the prompt, backend, model, size, inputs and time.IMAGEGEN_MAX_PER_CALL caps how many images one call can make.Images are AI-generated. You are responsible for how you use them, including platform rules on AI-generated content, and for not imitating real people or brands.
git clone https://github.com/meet30997/codex-openai-image-mcp.git
cd codex-openai-image-mcp npm install npm run build npm test # unit and end-to-end tests; no network or API key needed npm run inspect # try the tools in the MCP Inspector
To run a local build from Claude Code:
claude mcp add images -e IMAGEGEN_PROVIDER=codex-cli -- node /path/to/codex-openai-image-mcp/dist/index.js
The tests run the Codex backend against a stand-in script (test/fixtures/fake-codex.mjs) and the OpenAI backend against a fake client, so they are free and quick. PLAN.md has the design notes and roadmap. Issues and pull requests are welcome.
MIT