Nanana AI Image Generation Server
Enables AI image generation and transformation using Google Gemini's nano banana model through the Nanana AI service, supporting text-to-image generation and image-to-image transformations.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nanana AI Image Generation Server create an image of a sunset over mountains with a lake"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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-bananaRelated MCP server: Nano Banana MCP Server
Configuration
1. Get your API token
Visit nanana.app and sign in
Go to your account dashboard
Generate an API token in the "API Access" section
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 hatimage_to_image
Transform existing images based on a text prompt.
Parameters:
imageUrls(array of strings, required): 1-9 image URLs to transformprompt(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 tokenNANANA_API_URL(optional): Custom API URL (defaults to https://nanana.app)
Development
Local Testing
Clone the repository
Install dependencies:
npm installBuild:
npm run buildTest 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 buildWatch mode
npm run devCredits 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:
Visit nanana.app
Email: support@nanana.app
License
MIT
Available Tools
2 toolsimage_to_imageA
Transform existing images based on a text prompt using Nanana AI. This operation typically takes 15-30 seconds to complete. The tool will wait for transformation to finish and return the final image URL.
Inputs: imageUrls (required), prompt (required).
text_to_imageA
Generate an image from a text prompt using Nanana AI. This operation typically takes 15-30 seconds to complete. The tool will wait for generation to finish and return the final image URL.
Inputs: prompt (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: image_to_image transforms existing images based on text prompts, while text_to_image generates new images from text prompts. There is no overlap or ambiguity between these operations.
Both tools follow a perfect verb_noun pattern (image_to_image, text_to_image) with consistent snake_case formatting. The naming convention is predictable and readable throughout the set.
With only 2 tools for an AI image generation server, the surface feels thin and incomplete. While the two core operations are covered, typical image generation servers would include additional functionality like parameter controls, style options, batch operations, or image editing capabilities.
The server covers the basic text-to-image and image-to-image transformations but lacks essential functionality for a complete image generation workflow. There are no tools for controlling generation parameters (like resolution, style, seed values), managing generated images, editing existing images beyond transformations, or handling batch operations.
Maintenance
Related MCP Connectors
Generate and edit images (PNG, transparent, GIF, SVG) with GPT Image and Nano Banana models.
Make images, videos and speech: Nano Banana, GPT Image, Seedance, Kling, Wan and Gemini TTS.
Generate images with GPT Image 2, Nano Banana Pro and more, placed on your Banana Art Lab canvas.
Generate images, videos and SVG with Nano Banana, GPT Image, Seedream, Recraft, Seedance, Kling
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate, edit, and analyze images using Google's Gemini image generation models including Nano Banana Pro (gemini-3-pro-image-preview).234 npm18MIT
- FlicenseAqualityDmaintenanceEnables AI image generation, editing, and composition using Google's Gemini image models (Nano Banana Pro and Nano Banana). Supports text-to-image generation, multi-image composition, flexible aspect ratios, high-resolution output up to 4K, and real-time information grounding.4-
- AlicenseAqualityDmaintenanceExposes Google Gemini's Nano Banana image generation models to Claude, enabling text-to-image generation, image editing, and multi-image composition through natural language prompts.3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered image generation, icon creation, hero banner design, and UI beautification using Google's Gemini Nano Banana API.MIT