nano-banana-mcp-server

wahengchang/nano-banana-mcp-server

3.2

If you are the rightful owner of nano-banana-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This document provides a comprehensive summary of the Model Context Protocol (MCP) server, detailing its structure, features, and usage.

Nano Banana MCP Server

MCP server for AI image generation and editing via Google Gemini. No hosting required.

Features

  • AI image generation with multiple styles
  • AI image editing with multi-image support
  • Direct Claude Desktop integration
  • Zero infrastructure - just install and run

Installation

Global Installation

npm install -g nano-banana-mcp-server

Project-Specific Installation

npm install nano-banana-mcp-server

Setup

Set your Google API key:

export GOOGLE_API_KEY=your-api-key-here

Get your API key from Google AI Studio

Claude Desktop Integration

Global Installation

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "nano-banana": {
      "command": "nano-banana-mcp",
      "env": {
        "GOOGLE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Project-Specific Installation

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "nano-banana": {
      "command": "node",
      "args": ["./node_modules/nano-banana-mcp-server/src/server.js"],
      "cwd": "/path/to/your/project",
      "env": {
        "GOOGLE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Or using npx:

{
  "mcpServers": {
    "nano-banana": {
      "command": "npx",
      "args": ["nano-banana-mcp-server"],
      "cwd": "/path/to/your/project",
      "env": {
        "GOOGLE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Available Tools

  • generate_image - Generate images from text prompts with multiple styles
  • edit_image - Edit and compose images using text instructions and multiple image inputs
  • get_mock_data - Generate mock data for testing

Image Generation

Create images from text descriptions with various artistic styles.

Image Editing

  • Edit existing images with natural language instructions
  • Combine multiple images into compositions
  • Style transfer between images
  • Object insertion and removal
  • Supports file paths and base64 input

License

ISC - Free to use