An MCP server for image generation using the Gemini API.
Gemini image mcp server connects Gemini Image to AI assistants that speak the Model Context Protocol. An MCP server for image generation using the Gemini API.
This is an MCP (Model Context Protocol) server that uses Google's Gemini API to generate images and save them to a specified directory. In addition to text prompts, you can optionally provide input images to guide the image generation process. Generated images are automatically compressed to reduce file size.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| prompt | (string, required) Text prompt for image generation. If input images are provided, include instructions on how to incorporate them into the generated image. Eng |
| output_directory | (string, optional) Directory path where the generated image will be saved. |
| file_name | (string, optional) Name of the saved image file (without extension). |
| input_image_paths | (string\[], optional) List of file paths for input reference images. |
| use_enhanced_prompt | (boolean, optional) Whether to use enhanced prompts to assist AI instructions. |
| target_image_max_size | (number, optional) Maximum size (in pixels) for the longer edge after resizing. The aspect ratio is preserved. |
| force_conversion_type | (string, optional) Optionally force conversion to a specific format ('jpeg', 'webp', 'png'). If not specified, the original format will be processed, defaulting |
| skip_compression_and_resizing | (boolean, optional) Whether to skip compression and resizing of generated images. If true, force_conversion_type and target_image_max_size will be ignored. |
| jpeg_quality | (number, optional) JPEG quality (0-100). Lower values result in higher compression. |
| webp_quality | (number, optional) WebP quality (0-100). Lower values result in higher compression. |
| png_compression_level | (number, optional) PNG compression level (0-9). Higher values result in higher compression. |
| optipng_optimization_level | (number, optional) OptiPNG optimization level (0-7). Higher values result in higher compression. |
{
"mcpServers": {
"gemini-image-mcp-server": {
"command": "npx",
"args": [
"-y",
"@creating-cat/gemini-image-mcp-server"
],
"env": {
"GEMINI_API_KEY": "YOUR_GEMINI_API_KEY"
},
"disabled": false,
"timeout": 300
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| GEMINI_API_KEY | Declared in the maintainer’s client configuration. | Check documentation |
The original Chromium automation reference server — simple, screenshot-driven browser control.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Build a resume that gets past the ATS. AI rewrites your bullets, an ATS score from 0 to 100 shows what to fix, and PDF downloads are free. Cover letters and a job tracker are built in.
Feishu/Lark OpenAPI MCP
Network intelligence for AI agents. Broker discovery and capability matching.
An MCP Server for Natural Language Search over RDBMS Schemas. Find exact tables you need, with all their relationships mapped out, in milliseconds.