Nano Banana

Developer tools

A Nano Banana MCP server, which you can integrate to cursor/claude code and any mcp client.

Your AI app calls the Nano Banana MCP server, which does the developer tools work and sends the result back to the chat.

About Nano Banana

Nano Banana is a community MCP server from ConechoAI, filed in our directory under developer tools. A Nano Banana MCP server, which you can integrate to cursor/claude code and any mcp client.

Nano Banana runs on your own machine: your AI app starts it with the command npx -y nano-banana-mcp and talks to it over standard input and output.

At a glance

Publisher
ConechoAI (community)
Runs
Locally on your machine
Install from
Node.js package on npm: nano-banana-mcp
Written in
JavaScript
License
MIT
GitHub stars
240

How to set up Nano Banana

  1. Install Node.js on the machine that runs your AI app, because Nano Banana starts with npx and downloads its package on first run.
  2. Check the Nano Banana README for keys or settings; the registry lists none that Nano Banana requires.
  3. Add Nano Banana to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Nano Banana tools to confirm the connection.
  5. Run one read-only task with Nano Banana first, and keep your app asking before each tool call until the results look right.

Nano Banana compared with similar servers

  • Rikune by Last-emo-boy has fewer GitHub stars than Nano Banana (240 against 240); both are community servers, and both run locally.
  • Mindmap by YuChenSSR has fewer GitHub stars than Nano Banana (240 against 240); both are community servers, and both run locally.
  • Tripo by Tripo-Developer has fewer GitHub stars than Nano Banana (240 against 240); both are community servers, and both run locally.

Before you connect Nano Banana

  • Give Nano Banana its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Nano Banana tool call until you trust what it does with them.
  • Treat text that Nano Banana fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Nano Banana on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Nano Banana

How marketing and sales teams put Nano Banana to work, by company size. Pick the size closest to yours and start Nano Banana on one use case.

Small business

  • A small business with a developer can use Nano Banana to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Nano Banana to explain and fix a marketing site issue without context switching between tools.
  • Nano Banana runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Nano Banana to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Nano Banana to keep scripts and automations documented and versioned as they change.
  • Start Nano Banana on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Nano Banana with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Nano Banana so web and marketing engineering share one reviewed way of working with AI.
  • Nano Banana is a community server, so have security review the code and pin a version before Nano Banana touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Nano Banana README

From ConechoAI/Nano-Banana-MCP on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Nano-Banana MCP Server 🍌

🤖 This project was entirely generated by Claude Code - an AI coding assistant that can create complete, production-ready applications from scratch.

A Model Context Protocol (MCP) server that provides AI image generation and editing capabilities using Google's Gemini 2.5 Flash Image API. Generate stunning images, edit existing ones, and iterate on your creations with simple text prompts.

✨ Features

  • 🎨 Generate Images: Create new images from text descriptions
  • ✏️ Edit Images: Modify existing images with text prompts
  • 🔄 Iterative Editing: Continue editing the last generated/edited image
  • 🖼️ Multiple Reference Images: Use reference images for style transfer and guidance
  • 🌍 Cross-Platform: Smart file paths for Windows, macOS, and Linux
  • 🔧 Easy Setup: Simple configuration with API key
  • 📁 Auto File Management: Automatic image saving with organized naming

🔑 Setup

  1. Get your Gemini API key:

  2. Configure the MCP server: See configuration examples for your specific client below (Claude Code, Cursor, or other MCP clients).

💻 Usage with Claude Code

Configuration:

Add this to your Claude Code MCP settings:

Option A: With environment variable (Recommended - Most Secure)

{
  "mcpServers": {
    "nano-banana": {
      "command": "npx",
      "args": ["nano-banana-mcp"],
      "env": {
        "GEMINI_API_KEY": "your-gemini-api-key-here"
      }
    }
  }
}

Option B: Without environment variable

{
  "mcpServers": {
    "nano-banana": {
      "command": "npx",
      "args": ["nano-banana-mcp"]
    }
  }
}
Usage Examples:
Generate an image of a sunset over mountains
Edit this image to add some birds in the sky
Continue editing to make it more dramatic

🎯 Usage with Cursor

Configuration:

Add to your Cursor MCP configuration:

Option A: With environment variable (Recommended)

{
  "nano-banana": {
    "command": "npx",
    "args": ["nano-banana-mcp"],
    "env": {
      "GEMINI_API_KEY": "your-gemini-api-key-here"
    }
  }
}

Option B: Without environment variable

{
  "nano-banana": {
    "command": "npx",
    "args": ["nano-banana-mcp"]
  }
}
Usage Examples:
  • Ask Cursor to generate images for your app
  • Create mockups and prototypes
  • Generate assets for your projects

🔧 For Other MCP Clients

If you're using a different MCP client, you can configure nano-banana-mcp using any of these methods:

Configuration Methods

Method A: Environment Variable in MCP Config (Recommended)

{
  "nano-banana": {
    "command": "npx",
    "args": ["nano-banana-mcp"],
    "env": {
      "GEMINI_API_KEY": "your-gemini-api-key-here"
    }
  }
}

Method B: System Environment Variable

export GEMINI_API_KEY="your-gemini-api-key-here"
npx nano-banana-mcp

Method C: Using the Configure Tool

npx nano-banana-mcp
# The server will prompt you to configure when first used
# This creates a local .nano-banana-config.json file

🛠️ Available Commands

generate_image

Create a new image from a text prompt.

generate_image({
  prompt: "A futuristic city at night with neon lights"
})
edit_image

Edit a specific image file.

edit_image({
  imagePath: "/path/to/image.png",
  prompt: "Add a rainbow in the sky",
  referenceImages?: ["/path/to/reference.jpg"] // optional
})
continue_editing

Continue editing the last generated/edited image.

continue_editing({
  prompt: "Make it more colorful",
  referenceImages?: ["/path/to/style.jpg"] // optional
})
get_last_image_info

Get information about the last generated image.

get_last_image_info()
configure_gemini_token

Configure your Gemini API key.

configure_gemini_token({
  apiKey: "your-gemini-api-key"
})
get_configuration_status

Check if the API key is configured.

get_configuration_status()

⚙️ Configuration Priority

The MCP server loads your API key in the following priority order:

  1. 🥇 MCP Configuration Environment Variables (Highest Priority)

    • Set in your claude_desktop_config.json or MCP client config
    • Most secure as it's contained within the MCP configuration
    • Example: "env": { "GEMINI_API_KEY": "your-key" }
  2. 🥈 System Environment Variables

    • Set in your shell/system environment
    • Example: export GEMINI_API_KEY="your-key"
  3. 🥉 Local Configuration File (Lowest Priority)

    • Created when using the configure_gemini_token tool
    • Stored as .nano-banana-config.json in current directory
    • Automatically ignored by Git and NPM

💡 Recommendation: Use Method 1 (MCP config env variables) for the best security and convenience.

📁 File Storage

Images are automatically saved to platform-appropriate locations:

  • Windows: %USERPROFILE%\\Documents\\nano-banana-images\\
  • macOS/Linux: ./generated_imgs/ (in current directory)
  • System directories: ~/nano-banana-images/ (when run from system paths)

File naming convention:

  • Generated images: generated-[timestamp]-[id].png
  • Edited images: edited-[timestamp]-[id].png

🎨 Example Workflows

Basic Image Generation
  1. generate_image - Create your base image
  2. continue_editing - Refine and improve
  3. continue_editing - Add final touches
Style Transfer
  1. generate_image - Create base content
  2. edit_image - Use reference images for style
  3. continue_editing - Fine-tune the result
Iterative Design
  1. generate_image - Start with a concept
  2. get_last_image_info - Check current state
  3. continue_editing - Make adjustments
  4. Repeat until satisfied

🔧 Development

This project was created with Claude Code and follows these technologies:

  • TypeScript - Type-safe development
  • Node.js - Runtime environment
  • Zod - Schema validation
  • Google GenAI - Image generation API
  • MCP SDK - Model Context Protocol
Local Development
# Clone the repository
git clone https://github.com/claude-code/nano-banana-mcp.git
cd nano-banana-mcp

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run tests
npm test

📋 Requirements

  • Node.js 18.0.0 or higher
  • Gemini API key from Google AI Studio
  • Compatible with Claude Code, Cursor, and other MCP clients

🤝 Contributing

This project was generated by Claude Code, but contributions are welcome! Please feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests
  • Improve documentation

📄 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

  • Claude Code - For generating this entire project
  • Google AI - For the powerful Gemini 2.5 Flash Image API
  • Anthropic - For the Model Context Protocol
  • Open Source Community - For the amazing tools and libraries

📞 Support

✨ Generated with love by Claude Code - The future of AI-powered development is here!

Questions about Nano Banana

What is the Nano Banana MCP server?

A Nano Banana MCP server, which you can integrate to cursor/claude code and any mcp client. Nano Banana is maintained by ConechoAI on GitHub at ConechoAI/Nano-Banana-MCP, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Nano Banana MCP server?

Add Nano Banana to your AI app's MCP config with the command npx -y nano-banana-mcp. In Claude Code, run claude mcp add --transport stdio nano-banana -- npx -y nano-banana-mcp. To run Nano Banana this way you need Node.js installed.

Does Nano Banana need an API key?

The registry lists no required keys for Nano Banana. Check the Nano Banana README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Nano Banana an official MCP server?

No. Nano Banana is a community server maintained by ConechoAI. Community servers can be excellent; read the code and the open issues before you give Nano Banana access to company data.

What license is Nano Banana under?

Nano Banana is released under the MIT license, according to its GitHub repository. The license covers the code of Nano Banana; the service it connects to has its own terms.