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
npm startEnvironment 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
gemini-mcp-tool
A Model Context Protocol (MCP) server that enables AI assistants to interact with the Google Gemini CLI for comprehensive code and file analysis, structured edit suggestions, and creative brainstorming.
gemini-mcp-server
An MCP server providing a suite of 7 AI-powered tools (Image Gen/Edit, Chat, Audio Transcribe, Code Execute, Video/Image Analysis) powered by Google Gemini, featuring a self-learning "Smart Tool Intelligence" system for prompt enhancement and user preference adaptation.
nanobanana-api-mcp
An MCP server providing image generation and editing capabilities via the Google Gemini API, integrable with various AI coding assistants and IDEs.
gemini-mcp
The server provides a Model Context Protocol (MCP) interface to Google Gemini AI services, enabling multimodal generation including image creation, image editing, and video production.