mcp-imagenate
Enables image generation using Google Gemini models (nano-banana-2 and nano-banana-pro) for fast or high-quality outputs.
Enables image generation using OpenAI's gpt-image-2 model.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-imagenateGenerate a photo of a cat wearing a wizard hat"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-imagenate
An MCP server for image generation using multiple providers: Google Gemini, OpenAI (gpt-image), and BFL FLUX.
Providers & Models
Google Gemini (Nano Banana)
Name | Model ID | Best for |
|
| Fast, high-volume generation |
|
| Highest quality output |
OpenAI
Name | Model ID | Best for |
|
| Latest generation, improved detail |
BFL FLUX
Name | Model ID | Best for |
|
| Fast, lightweight generation |
|
| Balanced quality and speed |
|
| Maximum quality |
Related MCP server: Nano Banana MCP
Requirements
Node.js 18+
At least one provider API key
Installation
npx mcp-imagenateOr install globally:
npm install -g mcp-imagenateSetup
Set API keys for the providers you want to use:
# Google Gemini (at least one)
export GEMINI_API_KEY=your_key_here
# or
export NANO_BANANA_API_KEY=your_key_here
# OpenAI (at least one)
export OPENAI_API_KEY=your_key_here
# or
export GPT_IMAGE_API_KEY=your_key_here
# BFL FLUX
export BFL_API_KEY=your_key_hereClaude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-imagenate": {
"command": "npx",
"args": ["mcp-imagenate"],
"env": {
"GEMINI_API_KEY": "your_key_here",
"NANO_BANANA_OUTPUT_DIR": "/path/to/image/output"
}
}
}
}Environment Variables
Variable | Required | Description |
| * | Google AI Studio API key |
| * | Alternative to |
| * | OpenAI API key |
| * | Alternative to |
| * | BFL FLUX API key |
| No | Base directory for saved images. When set, all output and input paths are sandboxed within this directory. Recommended for production. |
* At least one provider API key must be set.
Tool: generate_image
Parameters
Parameter | Type | Default | Description |
|
| - | Text prompt describing the image |
| see Models above |
| Model to use (available models depend on configured API keys) |
|
|
| Output image resolution |
| see below |
| Aspect ratio of the image |
|
|
| Return image only, or image with description (Google models only) |
|
|
| Controls model thinking (Google models only) |
|
|
| Directory where images will be saved |
|
| - | File paths of images to send alongside the prompt (Google models, and OpenAI gpt-image models via the images.edit endpoint) |
Supported aspect ratios
1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9
Response
Returns a JSON object:
{
"model": "gemini-3.1-flash-image-preview",
"savedFiles": ["/path/to/image-1.png"],
"settings": {
"resolution": "1K",
"aspectRatio": "9:16",
"mode": "image"
},
"description": "..."
}
descriptionis only present whenmodeis"image_and_text".
Security
Path sandboxing: When
NANO_BANANA_OUTPUT_DIRis set, both output and input image paths are sandboxed within this directory. Symlinks that resolve outside the sandbox are rejected.Input validation: Input images are validated for format (PNG/JPEG/WEBP/GIF) and size (max 20 MB).
API key validation: The server exits immediately if no API keys are configured.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mimo-3/mcp-imagenate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server