mcp-server-nano-banana
AI image generation with Google Gemini's Nano-Banana model.
@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
- 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 hat
image_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 install - Build:
npm run build - 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:
- Visit nanana.app
- Email: [email protected]
License
MIT
Related Servers
RevenueCat to Adapty Migration
A server for migrating subscription businesses from RevenueCat to Adapty, requiring a RevenueCat API key.
MetaTrader MCP Server
A Python-based MCP server that allows AI LLMs to execute trades on the MetaTrader 5 platform.
Google Workspace MCP Server
An MCP server for interacting with Google Workspace services like Gmail and Calendar.
Jira & Confluence MCP Servers
MCP servers for interacting with Jira and Confluence APIs.
Things 3 Extended
A desktop extension for the Things 3 task manager, providing advanced features like task movement, editing, and backups.
JMX MCP Server
Provides JMX monitoring and management capabilities for AI assistants. Requires Java 17+.
Confluence
Interact with the Confluence API to manage spaces, pages, and content. Supports searching, creating, and updating pages.
Plausible Analytics
An MCP server for interacting with the Plausible Analytics API to access website traffic data.
Market Sizing MCP Server
Provides market research and business analysis by integrating with multiple economic data sources like Alpha Vantage, BLS, and the World Bank.
Dovetail
Connect AI tools to the Dovetail API for user research and customer feedback analysis.