This is an MCP (Model Context Protocol) server for the Nanana AI image generation service, powered under the hood by Google Gemini's nano banana model. Through this server, Claude Desktop and other MCP-compatible clients can call nano banana's image generation capabilities to generate and transform images.
Purpose It is mainly used to let MCP clients (such as Claude Desktop) connect to the Nanana AI image generation service, enabling text-to-image generation and transformations based on existing images.
Main capabilities The server provides two available tools:
- Generate images from a text prompt. Parameter prompt (string, required): the text description of the image to generate.
- Transform existing images based on a text prompt. Parameter imageUrls (string array, required): 1 to 9 URLs of images to transform; prompt (string, required): describes how to transform these images.
How to use
- Get an API token: visit nanana.app and log in; go to the account dashboard; generate an API token in the "API Access" section; copy and save the token (the token is only displayed once).
- Configure Claude Desktop: add the server to Claude Desktop's configuration file. The macOS path is ~/Library/Application Support/Claude/claude_desktop_config.json, and the Windows path is %APPDATA%\Claude\claude_desktop_config.json.
- Restart Claude Desktop: after saving the configuration file, restart Claude Desktop to load the MCP server.
Configuration options and environment variables Environment variable NANANA_API_TOKEN (required): your Nanana AI API token. Environment variable NANANA_API_URL (optional): custom API address (default https://nanana.app ).
Local build Clone the repository; install dependencies: npm install; build: npm run build; then update the Claude Desktop configuration to point to the built file for local testing.
Credits and pricing Using nano banana to generate images consumes credits in your Nanana AI account. You can check your credit balance in the nanana.app/account dashboard and purchase more credits as needed.
Support and contact If you encounter problems or have questions, visit nanana.app, or send an email to support@nanana.app.