74
/ 100
29 days ago
glama

gemini-image-mcp

MCP server that generates images using Gemini models via an OpenAI-compatible gateway.

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
⚠️
Known vulnerabilities in dependencies: 2 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
🔐
You'll be asked for 2 credentials: GEMINI_API_KEY, OPENAI_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 high

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

high@modelcontextprotocol/sdk@1.25.1GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

high@modelcontextprotocol/sdk@1.25.1GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
🔐 secretGEMINI_API_KEY
🔐 secretOPENAI_API_KEY:如果你的网关需要鉴权就填(可留空)
configOPENAI_BASE_URL:OpenAI-compatible 服务地址(默认 http://127.0.0.1:8317)
configOPENAI_DEBUG:设为 1 时会在 stderr 打印上游请求信息(不打印 key)
configOPENAI_IMAGE_MODE:chatimagesauto,默认 chat(CLIProxyAPI 这类网关通常用 /v1/chat/completions 出图;若你的网关支持 /v1/images/generations 可设为 images)
configOPENAI_IMAGE_OUT_DIR:保存目录(默认 debug-output/;相对路径以项目根目录为基准)
configOPENAI_IMAGE_RETURN:pathimage,默认 path(path 会把图片保存到本地并返回文件路径,避免 base64 导致 token 暴涨;image 返回 MCP image content)
configOPENAI_IMAGE_SIZE:可选,仅作为未传入 size 时的默认值;建议让客户端在调用 generate_image 时自己传 size
configOPENAI_MODEL:默认 gemini-3-pro-image-preview
configOPENAI_TIMEOUT_MS:默认 120000
// 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 6 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/sfz009900-geminiimagemcp-public-to8a19)](https://m8ven.ai/mcp/sfz009900-geminiimagemcp-public-to8a19)
commit: 308c63e246e82285cafdcefa50574b0767c00c35
code hash: 04ed3cf218e96e1c630f17c749a1a5519a6c02f6556c937c6ebcb12a8305d94e
verified: 6/11/2026, 12:10:19 PM
view raw JSON →