nano-banana-mcp

Lumiwealth/nano-banana-mcp
★ 0 stars Python 🤖 AI/LLM Updated 5d ago
MCP server for Google Nano Banana / Gemini image generation with cost-controlled 1024 WebP defaults
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "nano-banana-mcp": {
      "command": "uvx",
      "args": [
        "nano-banana-mcp"
      ]
    }
  }
}

Or install with pip: pip install nano-banana-mcp

README Excerpt

Minimal, security-conscious MCP server for Google Gemini image generation. Defaults to **Nano Banana 2 / Gemini 3.1 Flash Image** (`gemini-3.1-flash-image-preview`) and **1024px WebP output** so day-to-day agent usage does not accidentally produce Pro-tier, 2K, or 4K image bills. Output is automatically resized + re-encoded to web/email/mobile-friendly

Tools (13)

GEMINI_API_KEYNANO_BANANA_BOTSPOT_SPOT_REFERENCESNANO_BANANA_DEFAULT_FORMATNANO_BANANA_DEFAULT_MODELNANO_BANANA_DEFAULT_QUALITYNANO_BANANA_DEFAULT_SIZENANO_BANANA_OUTPUT_DIRWIDTHxHEIGHTgenerate_imagejpegoffpngwebp