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

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

MCP server for Nanana AI image generation using Gemini's nano banana model.

3
Stars
2
Forks
3
Watchers
0
Issues
@nanana-ai/mcp-server-nano-banana serves as an MCP (Model Context Protocol) compatible server for facilitating image generation and transformation powered by the Gemini nano banana model. It enables clients like Claude Desktop to interact with Nanana AI, processing text prompts to generate images or transform existing images. The server can be easily configured with API tokens and integrated into desktop applications. Users can manage credentials, customize endpoints, and monitor credit usage seamlessly.

Key Features

Supports Model Context Protocol (MCP) for interoperability
Text-to-image generation powered by Gemini's nano banana model
Image-to-image transformation based on user prompts
Easy integration with Claude Desktop client
API token-based authentication and access control
Environment variable configuration for endpoint customization
npm package for global installation
Local development and custom server endpoints supported
Credit and usage management via Nanana AI dashboard
Cross-platform configuration instructions for Windows and macOS

Use Cases

Generating AI-created artwork from text prompts
Transforming existing images into new artistic styles
Integrating advanced image generation into Claude Desktop
Automating batch image enhancement workflows
Experimenting with visual concepts for design projects
Customizing AI image processing in desktop applications
Rapid prototyping of image generation features
Extending existing MCP client tools for visual content
API-driven photo transformation in creative projects
Managing and tracking image generation credits for teams

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

bash
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

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:
json
{
  "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

bash
npm run build

Watch mode

bash
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

Star History

Star History Chart

Repository Owner

nanana-app
nanana-app

Organization

Repository Details

Language JavaScript
Default Branch main
Size 15 KB
Contributors 1
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

JavaScript
100%

Tags

Topics

ai gemini image-editor image-generation mcp mcp-server nano-banana

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Amazon Bedrock MCP Server

    Amazon Bedrock MCP Server

    Model Control Protocol server for AI image generation via Amazon Bedrock's Nova Canvas.

    Amazon Bedrock MCP Server implements the Model Control Protocol to enable advanced AI image generation using Amazon's Nova Canvas model. It provides features like deterministic output through seed control, negative prompts, and configurable quality and image dimensions. Secure and flexible AWS credential management is supported, along with integration for Claude Desktop and robust input validation. The solution ensures high-quality, reproducible image generation workflows tailored for both developers and integrated applications.

    • 22
    • MCP
    • zxkane/mcp-server-amazon-bedrock
  • openai-gpt-image-mcp

    openai-gpt-image-mcp

    MCP-compatible server for image generation and editing via OpenAI APIs.

    Provides a Model Context Protocol (MCP) tool server that interfaces with OpenAI's GPT-4o/gpt-image-1 APIs to generate and edit images from text prompts. Supports advanced image editing operations including inpainting, outpainting, and compositing with customizable options. Integrates with MCP-compatible clients such as Claude Desktop, VSCode, Cursor, and Windsurf. Offers both base64 and file output for generated images, with automatic file handling for large images.

    • 70
    • MCP
    • SureScaleAI/openai-gpt-image-mcp
  • piapi-mcp-server

    piapi-mcp-server

    TypeScript-based MCP server for PiAPI media content generation

    piapi-mcp-server is a TypeScript implementation of a Model Context Protocol (MCP) server that connects with PiAPI to enable media generation workflows from MCP-compatible applications. It handles image, video, music, TTS, 3D, and voice generation tasks using a wide range of supported models like Midjourney, Flux, Kling, LumaLabs, Udio, and more. Designed for easy integration with clients such as Claude Desktop, it includes an interactive MCP Inspector for development, testing, and debugging.

    • 62
    • MCP
    • apinetwork/piapi-mcp-server
  • Fal.ai MCP Server

    Fal.ai MCP Server

    MCP server for multimodal media generation using Fal.ai models.

    Fal.ai MCP Server is a Model Context Protocol (MCP) compliant server that enables clients like Claude Desktop and others to generate images, videos, music, audio, and transcriptions using Fal.ai models. It offers native asynchronous operation and supports both STDIO and HTTP/SSE transports for flexible integration. The server provides high-performance media generation, including upscaling, text-to-speech, audio transcription, and image-to-image transformations, all powered by Fal.ai's API. Easy deployment options are available via Docker, PyPI, or from source.

    • 9
    • MCP
    • raveenb/fal-mcp-server
  • Notion MCP Server

    Notion MCP Server

    Enable LLMs to interact with Notion using the Model Context Protocol.

    Notion MCP Server allows large language models to interface with Notion workspaces through a Model Context Protocol server, supporting both data retrieval and editing capabilities. It includes experimental Markdown conversion to optimize token usage for more efficient communication with LLMs. The server can be configured with environment variables and controlled for specific tool access. Integration with applications like Claude Desktop is supported for seamless automation.

    • 834
    • MCP
    • suekou/mcp-notion-server
  • Kanboard MCP Server

    Kanboard MCP Server

    MCP server for seamless AI integration with Kanboard project management.

    Kanboard MCP Server is a Go-based server implementing the Model Context Protocol (MCP) for integrating AI assistants with the Kanboard project management system. It enables users to manage projects, tasks, users, and workflows in Kanboard directly via natural language commands through compatible AI tools. With built-in support for secure authentication and high performance, it facilitates streamlined project operations between Kanboard and AI-powered clients like Cursor or Claude Desktop. The server is configurable and designed for compatibility with MCP standards.

    • 15
    • MCP
    • bivex/kanboard-mcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results