.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/zhongweili/nanobanana-mcp-server
home/mcp-servers/zhongweili/nanobanana-mcp-server
zhongweili avatar

nanobanana-mcp-server

byzhongweili· 1 MCP server

Installs

12k

Stars

385

Forks

114

Category

Generative Media

View on GitHub

TL;DR

A production-ready Model Context Protocol (MCP) server that provides AI-powered image generation capabilities through Google's Gemini models with intelligent model selection.

How to install nanobanana-mcp-server?

zhongweili/nanobanana-mcp-server
$git clone https://github.com/zhongweili/nanobanana-mcp-server

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install nanobanana-mcp-server by running `git clone https://github.com/zhongweili/nanobanana-mcp-server`, then use it for the current task and follow its documentation at https://github.com/zhongweili/nanobanana-mcp-server.

Files · 1

View on GitHub
README.md
1# Nano Banana MCP Server 🍌
2 
3A production-ready **Model Context Protocol (MCP)** server that provides AI-powered image generation capabilities through Google's **Gemini** models with intelligent model selection.
4 
5## ⭐ NEW: Nano Banana 2 — Gemini 3.1 Flash Image! 🍌🚀
6 
7**Nano Banana 2** (`gemini-3.1-flash-image-preview`) is now the **default model** — delivering Pro-level quality at Flash speed:
8 
9- 🍌 **Flash Speed + 4K Quality**: Up to 3840px at Gemini 2.5 Flash latency
10- 🌐 **Google Search Grounding**: Real-world knowledge for factually accurate images
11- 🎯 **Subject Consistency**: Up to 5 characters and 14 objects per scene
12- ✍️ **Precision Text Rendering**: Crystal-clear text placement in images
13- 🏆 **Gemini 3 Pro Image** still available for maximum reasoning depth
14 
15<a href="https://glama.ai/mcp/servers/@zhongweili/nanobanana-mcp-server">
16 <img width="380" height="200" src="https://glama.ai/mcp/servers/@zhongweili/nanobanana-mcp-server/badge" alt="nanobanana-mcp-server MCP server" />
17</a>
18 
19## ✨ Features
20 
21- 🎨 **Multi-Model AI Image Generation**: Three Gemini models with intelligent automatic selection
22- 🍌 **Gemini 3.1 Flash Image (NB2)**: Default model — 4K resolution at Flash speed with grounding
23- 🏆 **Gemini 3 Pro Image**: Maximum reasoning depth for the most complex compositions
24- ⚡ **Gemini 2.5 Flash Image**: Legacy Flash model for high-volume rapid prototyping
25- 🤖 **Smart Model Selection**: Automatically routes to NB2 or Pro based on your prompt
26- 📐 **Aspect Ratio Control** ⭐ NEW: Specify output dimensions (1:1, 16:9, 9:16, 21:9, and more)
27- 📋 **Smart Templates**: Pre-built prompt templates for photography, design, and editing
28- 📁 **File Management**: Upload and manage files via Gemini Files API
29- 🔍 **Resource Discovery**: Browse templates and file metadata through MCP resources
30- 🛡️ **Production Ready**: Comprehensive error handling, logging, and validation
31- ⚡ **High Performance**: Optimized architecture with intelligent caching
32 
33## 🚀 Quick Start
34 
35### Prerequisites
36 
371. **Google Gemini API Key** - [Get one free here](https://makersuite.google.com/app/apikey)
382. **Python 3.11+** (for development only)
39 
40### Installation
41 
42Option 1: From MCP Registry (Recommended)
43This server is available in the [Model Context Protocol Registry](https://registry.modelcontextprotocol.io/?q=nanobanana). Search for "nanobanana" or use the MCP name below with your MCP client.
44 
45mcp-name: io.github.zhongweili/nanobanana-mcp-server
46 
47Option 2: Using `uvx`
48 
49```bash
50uvx nanobanana-mcp-server@latest
51```
52 
53Option 3: Using `pip`
54 
55```bash
56pip install nanobanana-mcp-server
57```
58 
59## 🔧 Configuration
60 
61### Authentication Methods
62 
63Nano Banana supports two authentication methods via `NANOBANANA_AUTH_METHOD`:
64 
651. **API Key** (`api_key`): Uses `GEMINI_API_KEY`. Best for local development and simple deployments.
662. **Vertex AI ADC** (`vertex_ai`): Uses Google Cloud Application Default Credentials. Best for production on Google Cloud (Cloud Run, GKE, GCE).
673. **Automatic** (`auto`): Defaults to API Key if present, otherwise tries Vertex AI.
68 
69#### 1. API Key Authentication (Default)
70 
71Set `GEMINI_API_KEY` environment variable.
72 
73#### 2. Vertex AI Authentication (Google Cloud)
74 
75Required environment variables:
76 
77- `NANOBANANA_AUTH_METHOD=vertex_ai` (or `auto`)
78- `GCP_PROJECT_ID=your-project-id`
79- `GCP_REGION=global` (default; required for Gemini 3 Pro Image and NB2. Use `us-central1` only for the legacy 2.5 Flash Image model.)
80 
81**Prerequisites**:
82 
83- Enable Vertex AI API: `gcloud services enable aiplatform.googleapis.com`
84- Grant IAM Role: `roles/aiplatform.user` to the service account.
85 
86### Claude Desktop
87 
88#### Option 1: Using Published Server (Recommended)
89 
90Add to your `claude_desktop_config.json`:
91 
92```json
93{
94 "mcpServers": {
95 "nanobanana": {
96 "command": "uvx",
97 "args": ["nanobanana-mcp-server@latest"],
98 "env": {
99 "GEMINI_API_KEY": "your-gemini-api-key-here"
100 }
101 }
102 }
103}
104```
105 
106#### Option 2: Using Local Source (Development)
107 
108I

Preview

zhongweili/nanobanana-mcp-serverzhongweili/nanobanana-mcp-server

# Nano Banana MCP Server 🍌

A production-ready **Model Context Protocol (MCP)** server that provides AI-powered image generation capabilities through Google's **Gemini** models with intell

## ⭐ NEW: Nano Banana 2 — Gemini 3.1 Flash Image! 🍌🚀

**Nano Banana 2** (`gemini-3.1-flash-image-preview`) is now the **default model** — delivering Pro-level quality at Flash speed:

Repozhongweili/nanobanana-mcp-server
TypeMCP Servers
CategoryGenerative Media
UpdatedMay 2026
LicenseMIT
First seenJul 27, 2026

Tags

MCP

Related

6 picks
Type
  1. artokun avatarcomfyui-mcpMCP server + Claude Code plugin for ComfyUI: run workflows, generate images, manage models & VRAM.MCP ServersJul 2026110k455
  2. elevenlabs avatarelevenlabs-mcpMCP server that enables interaction with Text to Speech, Voice Agents and audio processing APIsMCP ServersJul 202653k1.5k
  3. monet-ai-editor avatarmonetElectron video editor with terminal-first controls, transcription, embeddings, and exportMCP ServersJul 202646k99
  4. minimax-ai avatarminimax-mcpMinimax MCP ServerMCP ServersMay 20269.6k1.5k
  5. kyanitelabs avatarkinocutGuardrailed video editing for AI agents: FFmpeg, captions, effects, Hyperframes, and receipts.MCP ServersJul 20269.6k95
  6. jpoindexter avatarableton-mcpAI-powered Ableton Live control with 200+ tools - supports Claude (MCP), Ollama, OpenAI, and more. Adds REST API, Max for Live device, and full LOM coverage.MCP ServersMay 20268.1k42