Skip to content

Nano-Banana MCPGemini image generation, as an MCP server

Generate and edit images from Claude Code, Cursor, and any other MCP client.

Quick start โ€‹

  1. Get a Gemini API key from Google AI Studio.

  2. Add the server to your MCP client config โ€” Claude Code shown here:

json
{
  "mcpServers": {
    "nano-banana": {
      "command": "npx",
      "args": ["-y", "github:fjacquet/Nano-Banana-MCP"],
      "env": {
        "GEMINI_API_KEY": "your-key-here"
      }
    }
  }
}

See Configuration for Cursor and other MCP clients.

  1. Ask for what you want:
Generate an image of a sunset over mountains
Edit this image to add some birds in the sky
Continue editing to make it more dramatic

Released under the MIT License.