Nanana AI Image Generation Server

Nanana AI Image Generation Server

Enables AI assistants to generate images from text prompts and transform existing images using Google Gemini's nano banana model through the Nanana AI service. Supports both text-to-image generation and image-to-image transformation capabilities.

Category
Visit Server

README

@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.

Installation

npm install -g @nanana-ai/mcp-server-nano-banana

Configuration

1. Get your API token

  1. Visit nanana.app and sign in
  2. Go to your account dashboard
  3. Generate an API token in the "API Access" section
  4. Copy and save the token (it will only be shown once)

2. Configure Claude Desktop

Add the server to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "nanana": {
      "command": "npx",
      "args": ["-y", "@nanana-ai/mcp-server-nano-banana"],
      "env": {
        "NANANA_API_TOKEN": "your-api-token-here"
      }
    }
  }
}

3. Restart Claude Desktop

After saving the config file, restart Claude Desktop to load the MCP server.

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

Credits and Pricing

Image generation with nano banana consumes credits from your Nanana AI account. Check your dashboard at nanana.app/account to view your credit balance and purchase more credits if needed.

Support

For issues and questions:

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured