Nano Banana MCP Server

MCP server for Nanana AI nano banana image generation service

Local serverstdioGo

What is the Nano Banana MCP server?

If you already use Nano Banana, the nano banana mcp server is the piece that lets your assistant work with it directly. MCP server for Nanana AI nano banana image generation service.

What the server does

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

The server ships on npm as @nanana-ai/mcp-server-nano-banana, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • text_to_image — The text_to_image tool exposed by this server
  • image_to_image — The image_to_image tool exposed by this server
  • Build — The Build tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: NANANA_API_TOKEN, NANANA_API_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Nano Banana's toolset — text_to_image, image_to_image, Build — is a fair guide to whether it matches your workflow. It is maintained by nanana-app; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Nano Banana's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
text_to_imageThe text_to_image tool exposed by this server.
image_to_imageThe image_to_image tool exposed by this server.
BuildThe Build tool exposed by this server.

How to install the Nano Banana MCP server

{
  "mcpServers": {
    "server-nano-banana": {
      "command": "npx",
      "args": ["-y", "@nanana-ai/mcp-server-nano-banana"],
      "env": {
        "NANANA_API_TOKEN": "your-value",
        "NANANA_API_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
NANANA_API_TOKENCredential the server authenticates with.Yes
NANANA_API_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Nano Banana to text to image.
  • Use Nano Banana to image to image.
  • Use Nano Banana to Build.

Frequently asked questions

It connects Nano Banana to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (text_to_image, image_to_image, Build) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Nano Banana directly.