74
/ 100
1 month ago
glama

gpt-image-2-mcp

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.

Is this your MCP?

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.

// key findings
6 tools verified — handlers match their declared behaviour
1 read-only tool verified — handlers contain no write/delete/exec
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 1 credential: OPENAI_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configGPT_IMAGE_2_ALLOW_UNSAFE_OUTPUT_DIR
configGPT_IMAGE_2_MCP_DEBUGSet to 1 to emit verbose debug logs on stderr.
configGPT_IMAGE_2_OUTPUT_DIRGlobal default for where images are saved. Absolute paths used as-is, relative resolved from CWD.
configGPT_IMAGE_2_SESSION_MAXMax concurrent in-memory edit sessions, LRU-evicted beyond this (default 20; 0 = no cap).
configGPT_IMAGE_2_SESSION_TTL_MSIdle TTL before an edit session is swept (default 3600000 = 1h; 0 = never expire).
🔐 secretOPENAI_API_KEY"": "sk-..."
configOPENAI_BASE_URLOverride for proxies / enterprise routes
configOPENAI_FORCE_RESPONSES_EDITSSet to 1 to pin edits to the Responses-API fallback route instead of /v1/images/edits. See Edit routing below.
configOPENAI_ORG_IDForwarded as organization
configOPENAI_PROJECT_IDForwarded as project
configOPENAI_RESPONSES_EDIT_MODELHost model used by the Responses-API fallback edit route (default gpt-4.1-mini). See Edit routing below.
configOPENAI_USE_DIRECT_EDITSThe 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).
configXDG_CONFIG_HOME
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 3 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/borys520-gpt-image-2-mcp-cbc5ep)](https://m8ven.ai/mcp/borys520-gpt-image-2-mcp-cbc5ep)
commit: f922479662fdcd9137d7fd68b5e9c7d6ea9853fd
code hash: aade110cff27bf7500c933bb006a31d90b4f42a4464c1e799717423777a4a54d
verified: 6/12/2026, 10:26:06 AM
view raw JSON →