Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

MCP Nano Banana

by codeFiversion 1.2.2i★ –iRuns on your computer
Registry nameio.github.codeFi/mcp-nano-banana

Install

Overview

Description from the maker (original English)

MCP server for Google Nano Banana (Gemini) image generation

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Design, images & audio

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: GEMINI_API_KEY

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "nano-banana": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-nano-banana"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add nano-banana --env GEMINI_API_KEY=your-value -- npx -y mcp-nano-banana

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "nano-banana": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-nano-banana"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "nano-banana": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-nano-banana"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • GEMINI_API_KEY env
    Google Gemini API key used for image generation requests.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account codeFi, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Design, images & audioi

  • More stars than 0% of the other 2800 servers in this category
  • Published to the registry more recently than 12% of the other 2800 servers in this category
  • Basic checks equal to or better than 100% of the other 2800 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MCP Nano Banana safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.2.2) reached the registry 5 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Figma Context MCP, Claude Real Video, Figma MCP Server

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Figma Context MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

by GLipsWidely used↓ 161.2K/wk★ 16.2KUpdated 5 months ago

Runs on your computer

Claude Real Video

Let any LLM watch a video locally — and search everything it has ever watched.

by HUANGCHIHHUNGLeoWidely used↓ 1.1K/wk★ 2.3KUpdated 2 months ago

Runs on your computer

Figma MCP Server

Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.

by figmaWidely used★ 2.2KUpdated 13 months ago

Runs in the cloud✓ mcp.figma.com

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

mcp-nano-banana

MCP server for AI-powered image generation using Google Gemini Nano Banana models. Generate, edit, and combine images from text prompts — directly from your AI coding assistant.

Features

  • Text-to-image generation — Create images from natural language descriptions
  • Image editing — Upload images and modify them with text instructions
  • Multi-image combination — Mix up to 14 reference images into one composite
  • Resolution control — Generate at 512px, 1K, 2K, or 4K resolution
  • 13+ aspect ratios — From square (1:1) to ultra-wide (21:9) and tall (1:8)
  • Auto-fallback — Pro model falls back to Flash on rate limits (429/403/402)
  • File output — Save to specific paths or return inline base64
  • Favicon generation — Generate complete favicon packages with one command
  • Multi-format output — PNG, JPEG, and WebP support

Quick Start

Prerequisites
  1. Get a Gemini API key from Google AI Studio
  2. Enable billing on your Google Cloud project — image generation requires a paid tier (~$0.04-0.05/image for NB2 at standard resolution)
Installation
npm install -g mcp-nano-banana

Set your API key:

export GEMINI_API_KEY=your-api-key

For MCP Registry publication metadata, the registry name is io.github.codeFi/mcp-nano-banana.

MCP Configuration

Codex
codex mcp add nano-banana --env GEMINI_API_KEY=your-api-key -- npx -y mcp-nano-banana@latest

Or add manually to ~/.codex/config.toml:

[mcp_servers.nano-banana]

command = "npx" args = ["-y", "mcp-nano-banana@latest"]

[mcp_servers.nano-banana.env] GEMINI_API_KEY = "your-api-key"

Qwen Code

Add to ~/.qwen/settings.json:

{

"mcpServers": { "nano-banana": { "command": "npx", "args": ["-y", "mcp-nano-banana@latest"], "env": { "GEMINI_API_KEY": "your-api-key" } } } }

Claude Code
claude mcp add nano-banana -e GEMINI_API_KEY=your-api-key -- npx -y mcp-nano-banana@latest

Or add manually to ~/.claude/claude_desktop_config.json:

{

"mcpServers": { "nano-banana": { "command": "npx", "args": ["-y", "mcp-nano-banana@latest"], "env": { "GEMINI_API_KEY": "your-api-key" } } } }

Other MCP Clients

For CLIs and desktop clients that use the standard mcpServers JSON format, register:

{

"mcpServers": { "nano-banana": { "command": "npx", "args": ["-y", "mcp-nano-banana@latest"], "env": { "GEMINI_API_KEY": "your-api-key" } } } }

Local / Development Build
git clone https://github.com/codeFi/mcp-nano-banana.git

cd mcp-nano-banana npm install npm run build

Then register with your MCP client:

{

"mcpServers": { "nano-banana": { "command": "node", "args": ["/path/to/mcp-nano-banana/dist/index.js"], "env": { "GEMINI_API_KEY": "your-api-key" } } } }

Models

ModelMCP NameDescriptionMax Ref Images
gemini-3-pro-image-previewNano Banana ProHigh quality, thinking mode, professional assets6 object + 5 character
gemini-3.1-flash-image-previewNano Banana 2Fast, high-efficiency, 1:4/4:1/1:8/8:1 ratios10 object + 4 character
gemini-2.5-flash-imageNano BananaFastest, optimized for high-volume tasks-

The server defaults to Nano Banana Pro for best quality and automatically falls back to Flash on rate limits.

Available Parameters

Resolution
ValueApprox. PixelsSupported Models
"512"~512pxNano Banana 2 only
"1K"~1024pxAll models
"2K"~2048pxAll models
"4K"~4096pxAll models

Default: "1K"

Aspect Ratio
ValueDimensions at 1KCommon Use Case
1:11024×1024Social posts, icons
16:91344×768Headers, presentations
9:16768×1344Stories, mobile
4:31152×896Desktop, photos
3:4896×1152Portraits
2:3~896×1344Print, magazines
3:2~1344×896Photos
4:5~896×1120Instagram posts
5:4~1120×896Instagram landscape
21:9~2048×878Ultra-wide banners
1:4~512×2048Nano Banana 2 only — tall strips
4:1~2048×512Nano Banana 2 only — wide strips
1:8~512×4096Nano Banana 2 only — extra tall
8:1~4096×512Nano Banana 2 only — extra wide

Tools

generate_image

Generate or edit images from text prompts.

ParameterTypeRequiredDefaultDescription
promptstring✅ Yes—Text description or editing instructions
imagePathsstring[]No—Reference image paths on disk (up to 14)
modelstringNogemini-3-pro-image-previewModel to use
aspectRatiostringNo1:1See table above for all options
resolutionstringNo1K512, 1K, 2K, or 4K
outputFormatstringNopngpng, jpeg, webp
outputPathstringNo—Save image to this file path
Examples

Generate from text:

{

"prompt": "A sunset over mountains with dramatic lighting", "aspectRatio": "16:9", "resolution": "2K", "outputPath": "/Users/currentUser/Desktop/sunset.png" }

Edit an existing image:

{

"prompt": "Change the background to a coffee shop interior", "imagePaths": ["/Users/currentUser/photo.jpg"], "outputPath": "/Users/currentUser/edited.png" }

Combine multiple images:

{

"prompt": "Put these glasses on this person's face", "imagePaths": ["/path/to/face.jpg", "/path/to/glasses.jpg"], "outputPath": "/path/to/result.png" }

High-res wallpaper:

{

"prompt": "A futuristic cityscape at night with neon lights and rain", "aspectRatio": "16:9", "resolution": "4K", "outputPath": "/path/to/wallpaper.png" }

generate_favicons

Generate a complete favicon package from a prompt or existing image.

ParameterTypeRequiredDefaultDescription
promptstringNo\*—Icon description (required if imagePath not set)
imagePathstringNo\*—Path to existing master icon image
modelstringNogemini-3-pro-image-previewModel for prompt generation
outputDirstringNo—Directory for individual favicon files
outputPathstringNo—Save ZIP package to this path
returnZipBase64booleanNofalseReturn ZIP as base64 text
appNamestringNoMy AppManifest name
shortNamestringNoAppManifest short_name
themeColorstringNo#ffffffManifest theme color
backgroundColorstringNo#ffffffManifest background color
includeReadmebooleanNotrueInclude README.md in package
Example
{

"prompt": "A minimalist banana icon with a soft gradient", "outputDir": "/path/to/favicon", "outputPath": "/path/to/favicon.zip", "appName": "MyBrand", "shortName": "Brand", "themeColor": "#1a1a2e", "backgroundColor": "#ffffff" }

Generated files:

  • favicon.ico — Multi-size icon (16/32/48px)
  • favicon-16x16.png — Browser tabs
  • favicon-32x32.png — Higher-res tabs
  • apple-touch-icon.png — iOS home screen
  • android-chrome-192x192.png — Android
  • android-chrome-512x512.png — Android HD
  • site.webmanifest — PWA manifest

HTML snippet (included in response):

<link rel="icon" href="/favicon.ico" sizes="any">

Pricing

Image generation requires a paid Google AI Studio account. Approximate costs:

Model1K2K4K
Nano Banana 2~$0.04~$0.08~$0.15
Nano Banana Pro~$0.06~$0.13~$0.24

You only pay for what you generate — no monthly minimum.

Supported Image Formats

Input (reference images): png, jpg, jpeg, webp, gif Output: png, jpeg, webp

Development

# Build TypeScript

npm run build

Watch mode

npm run dev

Run tests

npm test

Run the server directly

node dist/index.js

Troubleshooting

IssueSolution
GEMINI_API_KEY is not setExport the env var or add it to your MCP config
429 Too Many RequestsServer auto-falls back to Flash model. Add billing to your account.
403/402 Quota exceededEnable billing at Google Cloud Console
503 UnavailableHigh demand — retry in a moment. Common with 4K requests.
Image not updating after editMake sure you rebuilt the TypeScript (npm run build)
imagePaths not foundUse absolute paths. Relative paths may not resolve correctly.

Architecture

AI Assistant (MCP Client)

│ (MCP Protocol over stdio) ▼ mcp-nano-banana Server │ (HTTPS POST) ▼ Google Gemini API │ ▼ Generated Image → saved to outputPath (or returned inline base64)

License

MIT

Author

codeFi

Ask PopNx