Nano Banana MCP logo

Nano Banana MCP

RunAPI access for Nano Banana image generation, image editing, task polling, and pricing through MCP.

Install Nano Banana MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "nano-banana-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@runapi.ai/nano-banana-mcp"
      ],
      "env": {
        "RUNAPI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env RUNAPI_API_KEY=YOUR_VALUE_HERE --transport stdio nano-banana-mcp -- npx -y @runapi.ai/nano-banana-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 5 tools correctly ().

Overview

nano-banana-mcp exposes RunAPI's Nano Banana image-generation and image-editing endpoints through a focused MCP server. Agents can submit tasks, optionally wait for terminal results, retrieve output URLs, poll existing tasks, and inspect model pricing. It runs over stdio with npm or npx and supports API-key authentication through an environment variable or the RunAPI configuration file. Reach for it when an assistant needs Nano Banana access without loading the broader RunAPI model catalog.

Use cases

  • Generate images from text with Nano Banana
  • Edit images through a RunAPI task
  • Submit asynchronous image jobs and poll their status
  • Check model pricing before creating a task

Key features

  • Nano Banana text-to-image tasks
  • Nano Banana image-editing tasks
  • Optional waiting for terminal task status
  • Task status and payload retrieval
  • Current model and endpoint pricing lookup
  • Stdio configuration for MCP hosts

Tools5

What Nano Banana MCP lets your agent do. Expand a tool for its parameters.

Verified live~888 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 88d

What it can do

From the 5 tools this server returned when we ran it.

Handles credentials · 1Makes network requests · 1Read-only tools · 5
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age131 days
Maintainers1

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @runapi.ai/nano-banana-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads759Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed5Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Nano Banana MCP works

What nano-banana-mcp does

nano-banana-mcp connects MCP-compatible AI assistants to the Nano Banana model line on RunAPI. It covers two operations: generating images from text and editing images. Submitted work produces a task identifier and status, with output URLs available when results are ready.

The package is intentionally scoped to Nano Banana rather than exposing the complete RunAPI catalog. It supports five model variants across the two endpoints:

  • edit_image: nano-banana-2-lite and nano-banana-edit
  • text_to_image: nano-banana, nano-banana-2, nano-banana-2-lite, and nano-banana-pro

Model availability may change, so pricing and catalog details should be checked before creating a task.

How it works

The server communicates with MCP hosts over stdio. An assistant can call text_to_image or edit_image to submit work and choose whether to wait for a terminal status. Waiting returns the task ID, status, and output URLs when available; submitting with waiting disabled returns the task ID so the job can be checked later with get_task.

check_pricing looks up the current price for a Nano Banana model and endpoint and can be used without authentication. Task creation and task-status requests require RunAPI authentication. The server can use credentials from RUNAPI_API_KEY or from the RunAPI configuration file at ~/.config/runapi/config.json.

Setup and configuration

Install the npm package through an MCP host using the stdio command below:

config.json
{
  "mcpServers": {
    "nano-banana": {
      "command": "npx",
      "args": ["-y", "@runapi.ai/nano-banana-mcp"]
    }
  }
}

Claude Code can register the same package with claude mcp add, using either user or project scope. Other supported hosts can use the JSON configuration shown above.

For interactive authentication, ask the assistant to use the RunAPI login flow. It opens a browser and stores credentials in ~/.config/runapi/config.json, which is also used by runapi login. Headless and CI environments can set RUNAPI_API_KEY before launching the MCP host. A pre-provisioned configuration file can contain an apiKey field; credentials should not be committed to source control.

Tools and capabilities

  • text_to_image creates a Nano Banana text-to-image task and can wait for completion.
  • edit_image creates a Nano Banana image-editing task and can wait for completion.
  • get_task retrieves the latest status and payload for an existing task.
  • check_pricing returns pricing for a selected Nano Banana model and endpoint without requiring a key.

The task tools return identifiers, statuses, and output URLs. This supports both synchronous-looking agent workflows and asynchronous workflows where an assistant submits work first and checks it later.

Limitations and notes

Authentication is needed for creating tasks and polling their status, while pricing lookup remains available without a key. The package covers two Nano Banana endpoints and is not a general interface to every RunAPI model family. The set of available models can change between releases, so clients should use check_pricing or the Nano Banana model page for current availability and pricing. The project is licensed under Apache License 2.0.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Nano Banana MCP

nano-banana-mcp is an MCP server that connects AI assistants to RunAPI's Nano Banana models. Its main tools create text-to-image and image-editing tasks, retrieve task status and payloads, and check current pricing. It supports asynchronous jobs by returning task IDs and can optionally wait for terminal results and output URLs.

Install it by configuring an MCP host to run `npx -y @runapi.ai/nano-banana-mcp` over stdio. Claude Code can use `claude mcp add nano-banana -s user -- npx -y @runapi.ai/nano-banana-mcp`; other hosts can use the equivalent JSON MCP configuration.

Authenticate with `RUNAPI_API_KEY` or the RunAPI configuration file at `~/.config/runapi/config.json`. The MCP login flow opens a browser and saves credentials there, while headless environments can set the environment variable before starting the MCP host. Pricing lookup works without authentication.

Yes, nano-banana-mcp works with Cursor through its standard stdio MCP configuration. Add a server entry using `npx` as the command and `-y`, `@runapi.ai/nano-banana-mcp` as the arguments, then provide RunAPI authentication for task creation and polling.

Use `get_task` with the task ID returned by `text_to_image` or `edit_image`. Create the task without waiting by setting `wait: false`, then call `get_task` later to retrieve its current status and latest payload.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNano Banana MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nano-banana-mcp?style=directory)](https://allmcps.com/mcp/nano-banana-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/nano-banana-mcp"><img src="https://allmcps.com/api/badge/nano-banana-mcp?style=directory" alt="Nano Banana MCP on AllMCPs" /></a>