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. 1. Visit nanana.app and sign in 2. Go to your account dashboard 3. Generate an API token in the "API Access" section 4. Copy and s
Add this skill
npx mdskills install nanana-app/mcp-server-nano-bananaWell-documented MCP server with clear setup instructions and useful image generation tools
1# @nanana-ai/mcp-server-nano-banana23MCP (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.45## Installation67```bash8npm install -g @nanana-ai/mcp-server-nano-banana9```1011## Configuration1213### 1. Get your API token14151. Visit [nanana.app](https://nanana.app) and sign in162. Go to your account dashboard173. Generate an API token in the "API Access" section184. Copy and save the token (it will only be shown once)1920### 2. Configure Claude Desktop2122Add the server to your Claude Desktop config file:2324**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`25**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`2627```json28{29 "mcpServers": {30 "nanana": {31 "command": "npx",32 "args": ["-y", "@nanana-ai/mcp-server-nano-banana"],33 "env": {34 "NANANA_API_TOKEN": "your-api-token-here"35 }36 }37 }38}39```4041### 3. Restart Claude Desktop4243After saving the config file, restart Claude Desktop to load the MCP server.4445## Available Tools4647### text_to_image4849Generate an image from a text prompt.5051**Parameters:**5253- `prompt` (string, required): The text description of the image to generate5455**Example:**5657```58Generate an image of a cute cat wearing a hat59```6061### image_to_image6263Transform existing images based on a text prompt.6465**Parameters:**6667- `imageUrls` (array of strings, required): 1-9 image URLs to transform68- `prompt` (string, required): The text description of how to transform the images6970**Example:**7172```73Transform these images to look like oil paintings: ["https://example.com/image1.jpg"]74```7576## Environment Variables7778- `NANANA_API_TOKEN` (required): Your Nanana AI API token79- `NANANA_API_URL` (optional): Custom API URL (defaults to https://nanana.app)8081## Development8283### Local Testing84851. Clone the repository862. Install dependencies: `npm install`873. Build: `npm run build`884. Test locally by updating Claude Desktop config to point to the built file:8990```json91{92 "mcpServers": {93 "nanana": {94 "command": "node",95 "args": ["/path/to/packages/mcp-server/dist/index.js"],96 "env": {97 "NANANA_API_TOKEN": "your-token",98 "NANANA_API_URL": "http://localhost:3000"99 }100 }101 }102}103```104105### Build106107```bash108npm run build109```110111### Watch mode112113```bash114npm run dev115```116117## Credits and Pricing118119Image generation with nano banana consumes credits from your Nanana AI account. Check your dashboard at [nanana.app/account](https://nanana.app/account) to view your credit balance and purchase more credits if needed.120121## Support122123For issues and questions:124125- Visit [nanana.app](https://nanana.app)126- Email: support@nanana.app127128## License129130MIT131
Full transparency — inspect the skill content before installing.