Gemini Nanobanana MCP Server

MCP server for Google Gemini 2.5 Flash Image preview (text-to-image, editing, composition)

Local serverstdioGo

What is the Gemini Nanobanana MCP Server?

MCP server for Google Gemini 2.5 Flash Image preview (text-to-image, editing, composition)

What it actually does

A beginner-friendly Model Context Protocol (MCP) server that brings Google's Gemini 2.5 Flash Image generation directly into your Claude conversations.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Gemini Nanobanana MCP Server

{
  "mcpServers": {
    "gemini-nanobanana-mcp": {
      "command": "npx",
      "args": ["gemini-nanobanana-mcp@latest"],
      "env": {
        "GEMINI_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GEMINI_API_KEYCredential the server authenticates with.Yes
AUTO_SAVEConfiguration value read at startup.Optional
DEFAULT_SAVE_DIRFilesystem location the server is allowed to use.Optional
LOG_LEVELConfiguration value read at startup.Optional

Frequently asked questions

You need a Google AI Studio API key. Get one free at [Google AI Studio](https://aistudio.google.com/apikey) by signing in with your Google account.