Exposes OpenAI's gpt-image-2 (image generation and editing) as an MCP server for tools like generate_image, edit_image, and iterative edit sessions.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.GPT_IMAGE_2_ALLOW_UNSAFE_OUTPUT_DIRGPT_IMAGE_2_MCP_DEBUG— Set to 1 to emit verbose debug logs on stderr.GPT_IMAGE_2_OUTPUT_DIR— Global default for where images are saved. Absolute paths used as-is, relative resolved from CWD.GPT_IMAGE_2_SESSION_MAX— Max concurrent in-memory edit sessions, LRU-evicted beyond this (default 20; 0 = no cap).GPT_IMAGE_2_SESSION_TTL_MS— Idle TTL before an edit session is swept (default 3600000 = 1h; 0 = never expire).OPENAI_API_KEY— "": "sk-..."OPENAI_BASE_URL— Override for proxies / enterprise routesOPENAI_FORCE_RESPONSES_EDITS— Set to 1 to pin edits to the Responses-API fallback route instead of /v1/images/edits. See Edit routing below.OPENAI_ORG_ID— Forwarded as organizationOPENAI_PROJECT_ID— Forwarded as projectOPENAI_RESPONSES_EDIT_MODEL— Host model used by the Responses-API fallback edit route (default gpt-4.1-mini). See Edit routing below.OPENAI_USE_DIRECT_EDITS— The legacy toggle from 0.2.0 is deprecated and ignored (its only meaningful setting was 1 — opt into the direct endpoint, which is now the default).XDG_CONFIG_HOME[](https://m8ven.ai/mcp/borys520-gpt-image-2-mcp-cbc5ep)