npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nanana-ai/mcp-server-nano-banana

v0.1.2

Published

MCP server for Nanana AI nano banana image generation service

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

  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 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 transform
  • prompt (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 token
  • NANANA_API_URL (optional): Custom API URL (defaults to https://nanana.app)

Development

Local Testing

  1. Clone the repository
  2. Install dependencies: npm install
  3. Build: npm run build
  4. 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

Credits and Pricing

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.

Support

For issues and questions:

License

MIT