Labsco
nanana-app logo

mcp-server-nano-banana

โ˜… 9

from nanana-app

AI image generation with Google Gemini's Nano-Banana model.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedPaid serviceAdvanced setup

@nanana-ai/mcp-server-nano-banana

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.

Available Tools

text_to_image

Generate an image from a text prompt.

Parameters:

  • prompt (string, required): The text description of the image to generate

Example:

Generate an image of a cute cat wearing a hat

image_to_image

Transform existing images based on a text prompt.

Parameters:

  • imageUrls (array of strings, required): 1-9 image URLs to transform
  • prompt (string, required): The text description of how to transform the images

Example:

Transform these images to look like oil paintings: ["https://example.com/image1.jpg"]

Environment Variables

  • NANANA_API_TOKEN (required): Your Nanana AI API token
  • NANANA_API_URL (optional): Custom API URL (defaults to https://nanana.app)

Development

Local Testing

  1. Clone the repository
  2. Install dependencies: npm install
  3. Build: npm run build
  4. Test locally by updating Claude Desktop config to point to the built file:
{
  "mcpServers": {
    "nanana": {
      "command": "node",
      "args": ["/path/to/packages/mcp-server/dist/index.js"],
      "env": {
        "NANANA_API_TOKEN": "your-token",
        "NANANA_API_URL": "http://localhost:3000"
      }
    }
  }
}

Build

npm run build

Watch mode

npm run dev

Support

For issues and questions: