Back to Home
shinpr icon

mcp-image

Verified Safe

by shinpr

Overview

The MCP server enables AI assistants to generate and edit images using Google's Gemini 3 Pro Image, with intelligent prompt optimization provided by Gemini 2.0 Flash.

Installation

Run Command
npx -y mcp-image

Environment Variables

  • GEMINI_API_KEY
  • IMAGE_OUTPUT_DIR
  • SKIP_PROMPT_ENHANCEMENT

Security Notes

The server demonstrates a strong focus on security. It actively prevents path traversal and null byte injection in file operations via a dedicated `SecurityManager`. Sensitive information (like API keys, passwords, URLs, PII) is filtered and redacted from logs by the `Logger`. No hardcoded secrets or `eval` usage were found. External API calls to Google Gemini are expected, and network/API error handling is implemented. Overall, it appears safe to run, provided the user secures their `GEMINI_API_KEY` appropriately.

Similar Servers

Stats

Interest Score46
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars37
Forks9
Last Update2026-01-14

Tags

image-generationgenerative-aigeminiprompt-enhancementmcp-server