Back to Home
devexpert-io icon

gemini-image-mcp-server

by devexpert-io

Overview

Generates and edits images using Google Gemini AI, offering both an MCP server and a command-line interface.

Installation

Run Command
npm start

Environment Variables

  • GOOGLE_API_KEY

Security Notes

Critical path traversal vulnerabilities exist in `ImageService.saveImage` and `GeminiService.toInlinePart`. An attacker capable of sending tool call requests could exploit these by providing crafted `outputPath`, `images` (context images), or `watermarkPath` arguments to read or write arbitrary files on the server's filesystem. Additionally, `safetySettings` for Gemini are explicitly set to `BLOCK_NONE` for all harm categories, meaning the server will not filter potentially harmful content generated by Gemini.

Similar Servers

Stats

Interest Score32
Security Score1
Cost ClassMedium
Avg Tokens2000
Stars2
Forks1
Last Update2025-11-27

Tags

Google GeminiImage GenerationImage EditingMCP ServerCLIWatermark