MCP Nano Banana logo

MCP Nano Banana

Generate, edit, combine, and package images with Google Gemini Nano Banana through MCP.

Install MCP Nano Banana

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-nano-banana": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-nano-banana"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env GEMINI_API_KEY=YOUR_VALUE_HERE --transport stdio mcp-nano-banana -- npx -y mcp-nano-banana

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 2 tools correctly ().

Overview

The mcp-nano-banana MCP server connects AI coding assistants to Google Gemini Nano Banana image models for image generation and editing. It accepts text prompts, optional reference-image paths, model and output settings, then saves images to disk or returns encoded output. A second tool creates favicon assets and a web manifest from a prompt or source image. Use mcp-nano-banana when an MCP client needs generated visual assets, image transformations, composites, or website icon packages.

Use cases

  • Generate application artwork from text prompts
  • Edit local reference images with instructions
  • Combine multiple images into a composite
  • Create favicon packages for websites
  • Export images in PNG, JPEG, or WebP

Key features

  • Gemini Nano Banana image generation
  • Text-based image editing
  • Multi-image composition
  • Resolution and aspect-ratio controls
  • Favicon package creation
  • PNG, JPEG, and WebP output

Tools2

What MCP Nano Banana lets your agent do. Expand a tool for its parameters.

Verified live~738 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 84d

What it can do

From the 2 tools this server returned when we ran it.

Read-only tools · 2
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age162 days
Maintainers1

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · mcp-nano-banana (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads604Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed2Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Nano Banana works

What mcp-nano-banana MCP server does

The mcp-nano-banana MCP server exposes Google Gemini image generation through two MCP tools: generate_image and generate_favicons. It is intended for AI coding assistants that need to create visual assets while working on an application or website.

generate_image handles text-to-image requests, edits existing images using instructions, and combines multiple reference images into a composite. Reference files are supplied by path, with support for up to 14 images. The tool can write PNG, JPEG, or WebP output to a requested location.

generate_favicons creates a favicon package from either a text description or an existing master image. Its package can include browser icons, an Apple touch icon, Android icon sizes, a web manifest, and an optional README file. It can write individual files, create a ZIP archive, or return the ZIP as base64.

How it works

The mcp-nano-banana MCP server runs as a Node.js MCP process and uses GEMINI_API_KEY to call Google Gemini image models. Nano Banana Pro is the default model. The available model choices also include Nano Banana 2 and the standard Nano Banana model, with different resolution, aspect-ratio, and reference-image support.

Image requests can specify 512px, 1K, 2K, or 4K resolution, plus ratios ranging from square and portrait formats to ultra-wide and tall layouts. Nano Banana 2 supports additional 1:4, 4:1, 1:8, and 8:1 ratios. If the Pro model encounters rate-limit responses such as 429, 403, or 402, the server falls back to Flash.

Setup and configuration

Install the package globally with npm install -g mcp-nano-banana, then provide a Google AI Studio API key through the GEMINI_API_KEY environment variable. MCP clients using the standard mcpServers JSON format can launch it with npx -y mcp-nano-banana@latest.

A local development checkout can be built with npm install, npm run build, and then started with node dist/index.js. Codex and Claude Code examples are provided in the project documentation, along with a standard JSON registration example for other clients.

Tools and capabilities

  • generate_image: generate from a prompt, edit files from disk, or combine reference images.
  • generate_favicons: create favicon files, manifest metadata, and an optional ZIP package.
  • Choose model, resolution, aspect ratio, format, and output paths for image generation.
  • Set favicon application names, short names, theme colors, and background colors.
  • Use PNG, JPEG, or WebP for generated images; reference inputs support PNG, JPG, JPEG, WebP, and GIF.

Limitations and notes

Using the mcp-nano-banana MCP server requires a paid Google AI Studio account or billing-enabled Google Cloud project. The README gives approximate per-image pricing that varies by model and resolution, rather than a monthly subscription price. Model-specific limits apply to reference images and aspect ratios. The server saves files only when an output path or directory is supplied; otherwise, image data may be returned inline as base64.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Nano Banana

mcp-nano-banana is an MCP server that connects AI coding assistants to Google Gemini Nano Banana image models. Its main tools, generate_image and generate_favicons, generate or edit images, combine reference files, and create complete favicon packages from prompts or existing images.

Install it with npm install -g mcp-nano-banana, then register npx -y mcp-nano-banana@latest with your MCP client. Set GEMINI_API_KEY in the client environment. The repository also supports a local build using npm install, npm run build, and node dist/index.js.

mcp-nano-banana needs a Google Gemini API key in the GEMINI_API_KEY environment variable. The README directs users to Google AI Studio to create the key and says image generation requires billing on the associated Google Cloud project or a paid Google AI Studio account.

Yes, mcp-nano-banana can generate a favicon package with generate_favicons. Provide either a prompt or an existing image, then optionally set output locations, application names, manifest colors, and whether to include a README. The package includes browser, Apple, Android, and manifest files.

Yes, mcp-nano-banana includes configuration examples for both Codex and Claude Code. Each launches the package with npx and passes GEMINI_API_KEY through the MCP server environment.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Nano Banana AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-nano-banana?style=directory)](https://allmcps.com/mcp/mcp-nano-banana)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-nano-banana"><img src="https://allmcps.com/api/badge/mcp-nano-banana?style=directory" alt="MCP Nano Banana on AllMCPs" /></a>