loading…
Search for a command to run...
loading…
AI image generation using Google Gemini's nano banana model.
AI image generation using Google Gemini's nano banana model.
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.
npm install -g @nanana-ai/mcp-server-nano-banana
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"
}
}
}
}
After saving the config file, restart Claude Desktop to load the MCP server.
Generate an image from a text prompt.
Parameters:
prompt (string, required): The text description of the image to generateExample:
Generate an image of a cute cat wearing a hat
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 imagesExample:
Transform these images to look like oil paintings: ["https://example.com/image1.jpg"]
NANANA_API_TOKEN (required): Your Nanana AI API tokenNANANA_API_URL (optional): Custom API URL (defaults to https://nanana.app)npm installnpm run build{
"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"
}
}
}
}
npm run build
npm run dev
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.
For issues and questions:
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"nanana-app-mcp-server-nano-banana": {
"command": "npx",
"args": []
}
}
}