Generate and Transform Images with AI
MCP server that connects Claude Desktop to Nanana AI's image generation service powered by Google Gemini's nano banana model for text-to-image and image
Maintainer of this project? Claim this page to edit the listing.
1.0.0Add to Favorites
Why it matters
Leverage the Nanana AI service to generate novel images from text prompts or transform existing images using the power of Google Gemini's nano banana model.
Outcomes
What it gets done
Generate images from text descriptions.
Transform existing images based on text prompts.
Integrate with MCP clients like Claude Desktop.
Manage image generation via API token and credits.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-nanana | bash Capabilities
Tools your agent gets
Generates an image from a text description
Transforms existing images based on a text description (supports 1 to 9 image URLs)
Overview
Nanana MCP Server
This MCP server connects Claude Desktop to Nanana AI's image generation service, which is powered by Google Gemini's nano banana model. It exposes two core tools: text-to-image generation from text prompts and image-to-image transformation that modifies 1-9 existing images based on text descriptions. Use this server when you need to generate images from text descriptions directly within Claude Desktop conversations, or when you want to transform existing images (like converting photos to oil paintings) without leaving your AI workflow. It's ideal for rapid prototyping, creative exploration, and iterative image generation tasks where you want conversational control over the output. Do NOT use this if you need offline image generation - it requires an active internet connection and consumes credits from your Nanana AI account. Avoid it if you need free, unlimited image generation, as the se
What it does
This MCP server connects Claude Desktop to Nanana AI's image generation service, which is powered by Google Gemini's nano banana model. It exposes two core tools: text-to-image generation from text prompts and image-to-image transformation that modifies 1-9 existing images based on text descriptions.
When to use - and when NOT to
Use this server when you need to generate images from text descriptions directly within Claude Desktop conversations, or when you want to transform existing images (like converting photos to oil paintings) without leaving your AI workflow. It's ideal for rapid prototyping, creative exploration, and iterative image generation tasks where you want conversational control over the output.
Do NOT use this if you need offline image generation - it requires an active internet connection and consumes credits from your Nanana AI account. Avoid it if you need free, unlimited image generation, as the service operates on a credit-based pricing model.
Inputs and outputs
For text-to-image generation, you provide a text prompt describing the desired image (example: "Generate an image of a cute cat wearing a hat"). For image-to-image transformation, you provide 1-9 image URLs plus a text prompt describing the transformation (example: "Transform these images to look like oil paintings: ["https://example.com/image1.jpg\"]").
The server returns generated or transformed images through the Nanana AI service. Each operation consumes credits from your account balance.
Integrations
The server integrates with Claude Desktop on macOS and Windows. Configuration requires adding the server to your Claude Desktop config file:
{
"mcpServers": {
"nanana": {
"command": "npx",
"args": ["-y", "@nanana-ai/mcp-server-nano-banana"],
"env": {
"NANANA_API_TOKEN": "your-api-token-here"
}
}
}
}
Installation is straightforward via npm:
npm install -g @nanana-ai/mcp-server-nano-banana
The server defaults to connecting to https://nanana.app, with an optional NANANA_API_URL environment variable available for specifying a custom API URL.
Who it's for
This server is designed for users of Claude Desktop who want to add image generation capabilities to their workflows. The MIT license makes it suitable for both personal and commercial projects. Local testing is supported through npm build and watch mode commands.
Source 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
- 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
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.