Gemini Image Generator MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | Yes | Your Google Gemini API key | |
| OUTPUT_IMAGE_PATH | No | Directory path to save generated images (default: ~/gen_image) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_image_from_textA | Generate an image based on the given text prompt using Google's Gemini model. Args: prompt: User's text prompt describing the desired image to generate output_image_path: Optional path to save the generated image. If not provided, uses default path. Returns: Path to the generated image file using Gemini's image generation capabilities |
| transform_image_from_encodedA | Transform an existing image based on the given text prompt using Google's Gemini model. Args: encoded_image: Base64 encoded image data with header. Must be in format: "data:image/[format];base64,[data]" Where [format] can be: png, jpeg, jpg, gif, webp, etc. prompt: Text prompt describing the desired transformation or modifications output_image_path: Optional path to save the transformed image. If not provided, uses default path. Returns: Path to the transformed image file saved on the server |
| transform_image_from_fileA | Transform an existing image file based on the given text prompt using Google's Gemini model. Args: image_file_path: Path to the image file to be transformed prompt: Text prompt describing the desired transformation or modifications output_image_path: Optional path to save the transformed image. If not provided, uses default path. Returns: Path to the transformed image file saved on the server |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a distinct purpose: one generates an image from a text prompt, and two transform existing images but accept different input formats (base64-encoded vs file path), leaving no ambiguity.
All tool names follow a consistent verb_noun pattern with snake_case (generate_image_from_text, transform_image_from_encoded, transform_image_from_file), making them predictable and easy to understand.
With 3 tools, the server is well-scoped for its purpose of image generation and transformation, covering the essential operations without being too sparse or bloated.
The tool set covers the primary workflows: generating from text and transforming images via two input methods. A minor gap is the lack of tools for listing or managing generated images, but the core functionality is complete.