MCP Server Nano Banana logo

MCP Server Nano Banana

by nanana-app

Generate and transform images through Nanana AI's service powered by Google Gemini's nano banana model.

Install MCP Server 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": {
    "nanana-app-mcp-server-nano-banana": {
      "command": "npx",
      "args": [
        "-y",
        "@nanana-ai/mcp-server-nano-banana"
      ],
      "env": {
        "NANANA_API_TOKEN": "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.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @nanana-ai/mcp-server-nano-banana

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.

Overview

This MCP server provides image generation and image transformation through Nanana AI. Use it with Claude Desktop or another MCP client when an agent needs to create images from prompts or modify images supplied as URLs. Requests consume credits from a Nanana AI account.

Use cases

  • Generate images from text descriptions
  • Transform one or more images using a text prompt
  • Create oil-painting-style variations from image URLs
  • Connect image generation to Claude Desktop

Key features

  • Text-to-image generation
  • Image-to-image transformation
  • Supports 1-9 source image URLs
  • Powered by Google Gemini's nano banana model
  • Configurable Nanana AI API endpoint

Tools2

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

Self-reported~4 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 1d ago

Recent health check succeeded.

18/22 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @nanana-ai/mcp-server-nano-banana (npm)

Adoption & maintenance

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

GitHub stars10Stargazers on the source repository.
npm downloads819Package downloads in the last 30 days.
Last commit1y agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed2Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

@nanana-ai/mcp-server-nano-banana

MCP (Model Context Protocol) server for Nanana AI image generation service powered by Google Gemini's nano banana model. This server allows Claude Desktop and other MCP clients to generate and transform images using nano banana's powerful image generation capabilities.

Installation

Terminal
npm install -g @nanana-ai/mcp-server-nano-banana

Configuration

1. Get your API token

  1. Visit nanana.app and sign in
  2. Go to your account dashboard
  3. Generate an API token in the "API Access" section
  4. Copy and save the token (it will only be shown once)

2. Configure Claude Desktop

Add the server to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

config.json
{
  "mcpServers": {
    "nanana": {
      "command": "npx",
      "args": ["-y", "@nanana-ai/mcp-server-nano-banana"],
      "env": {
        "NANANA_API_TOKEN": "your-api-token-here"
      }
    }
  }
}

3. Restart Claude Desktop

After saving the config file, restart Claude Desktop to load the MCP server.

Available Tools

text_to_image

Generate an image from a text prompt.

Parameters:

  • prompt (string, required): The text description of the image to generate

Example:

Code
Generate an image of a cute cat wearing a hat

image_to_image

Transform existing images based on a text prompt.

Parameters:

  • imageUrls (array of strings, required): 1-9 image URLs to transform
  • prompt (string, required): The text description of how to transform the images

Example:

Code
Transform these images to look like oil paintings: ["https://example.com/image1.jpg"]

Environment Variables

  • NANANA_API_TOKEN (required): Your Nanana AI API token
  • NANANA_API_URL (optional): Custom API URL (defaults to https://nanana.app)

Development

Local Testing

  1. Clone the repository
  2. Install dependencies: npm install
  3. Build: npm run build
  4. Test locally by updating Claude Desktop config to point to the built file:
config.json
{
  "mcpServers": {
    "nanana": {
      "command": "node",
      "args": ["/path/to/packages/mcp-server/dist/index.js"],
      "env": {
        "NANANA_API_TOKEN": "your-token",
        "NANANA_API_URL": "http://localhost:3000"
      }
    }
  }
}

Build

Terminal
npm run build

Watch mode

Terminal
npm run dev

Credits and Pricing

Image generation with nano banana consumes credits from your Nanana AI account. Check your dashboard at nanana.app/account to view your credit balance and purchase more credits if needed.

Support

For issues and questions:

License

MIT

Reviews

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

Frequently Asked Questions about MCP Server Nano Banana

It requires a Nanana AI API token set through the NANANA_API_TOKEN environment variable.

The server supports generating images from text prompts and transforming existing images from one to nine image URLs.

Yes. Image generation consumes credits from the user's Nanana AI account.

Yes. NANANA_API_URL can override the default endpoint, which is https://nanana.app.

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 Server Nano Banana AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nanana-app-mcp-server-nano-banana?style=directory)](https://allmcps.com/mcp/nanana-app-mcp-server-nano-banana)
HTML Embed
<a href="https://allmcps.com/mcp/nanana-app-mcp-server-nano-banana"><img src="https://allmcps.com/api/badge/nanana-app-mcp-server-nano-banana?style=directory" alt="MCP Server Nano Banana on AllMCPs" /></a>