gemini-nano-banana-mcp
Generates images using Google's Gemini "Nano Banana" image models (e.g., gemini-2.5-flash-image) via the Gemini API, with customizable prompt, aspect ratio, and output file naming.
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., "@gemini-nano-banana-mcpGenerate an image of a serene mountain lake at sunset."
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.
gemini-nano-banana-mcp
Minimal MCP server that generates images through Google's Gemini "Nano Banana"
image models (gemini-2.5-flash-image by default), using your own free
Google AI Studio API key.
No third-party service, no paid credits — requests go straight to Google's Gemini API.
Setup
npm install
npm run buildGet a free API key at https://aistudio.google.com/apikey.
Related MCP server: Nano Banana MCP Server
Register with Claude Code
claude mcp add gemini-image --scope user -e GEMINI_API_KEY=your-key-here -- node /absolute/path/to/gemini-nano-banana-mcp/dist/index.jsTool
generate_image
Argument | Required | Description |
| yes | Text description of the image to generate |
| no | Gemini image model id (default: |
| no | e.g. |
| no | Output file name (default: a timestamp) |
Generated images are saved to OUTPUT_DIR (default: ./output) and the
tool returns the saved file path.
Environment variables
Variable | Required | Default |
| yes | — |
| no |
|
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables AI assistants to generate images from text prompts and transform existing images using Google Gemini's nano banana model through the Nanana AI service. Supports both text-to-image generation and image-to-image transformation capabilities.21610MIT
- FlicenseAqualityDmaintenanceEnables AI image generation, editing, and composition using Google's Gemini image models (Nano Banana Pro and Nano Banana). Supports text-to-image generation, multi-image composition, flexible aspect ratios, high-resolution output up to 4K, and real-time information grounding.4
- AlicenseNot gradedqualityBmaintenanceGenerates images from text prompts using Google's Gemini AI models with customizable aspect ratios and resolutions up to 4K, automatically saving images locally.332MIT
- AlicenseAqualityCmaintenanceEnables image generation using Gemini native models, supporting both single prompts and batch processing via a file-based queue. It allows for detailed configuration of aspect ratios and models using YAML frontmatter across various MCP-enabled clients.310MIT
Related MCP Connectors
Generate images, video & speech with Nano Banana, Veo, Omni and Gemini TTS. Pay as you go.
Generate logos, social posts, app screenshots, comic panels & visual-novel assets from prompts.
Generate PWA icon sets and iOS splash screens from a text prompt or an existing image.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/VPCriativo94/gemini-nano-banana-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server