# mcp-nanobanana-pro [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/AceDataCloud/NanoBananaMCP  
**GitHub Stars:** 10  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-nanobanana-pro

## Description
MCP server for NanoBanana AI image generation and editing

## Tools
Capabilities this server exposes over MCP:

- **nanobanana_generate_image** — Generate an AI image from a text prompt using Google's Nano Banana model.

    This creates high-quality images from detailed text descriptions. The more
    descriptive your prompt, the better the results.

    Use this when:
    - You want to generate a new image from scratch
    - You have a detailed description of the desired image
    - You need photorealistic or artistic image generation

    Prompt writing tips:
    - Include: Main subject + Atmosphere + Lighting + Camera/Lens + Quality keywords
    - Example: "Urban career woman, backlit sunlight, film grain, orange-gold tones, hopeful dawn"

    Returns:
        Task ID, trace ID, and generated image URL.
    
- **nanobanana_edit_image** — Edit or combine images using AI based on a text prompt.

    This allows you to modify existing images or combine multiple images together.
    Perfect for virtual try-on, product placement, image enhancement, and more.

    Use this when:
    - You want to combine multiple images (e.g., person + clothing)
    - You want to modify an existing image
    - You need virtual try-on (putting clothes on a person)
    - You want to place products in different scenes
    - You need to change attributes (materials, colors, styles)

    Common use cases:
    - Portrait replacement: Try different clothing on same person
    - Product scene composition: Place products in realistic environments
    - Attribute replacement: Change materials, colors, or variants
    - Poster editing: Rapidly change styles or themes
    - 2D to 3D conversion: Convert images to 3D product mockups
    - Image restoration: Restore old or damaged photos

    Returns:
        Task ID, trace ID, and edited image URL.
    
- **nanobanana_get_task** — Query the status and result of an image generation or edit task.

    Use this to check if a generation/edit is complete and retrieve the resulting
    image URLs and metadata.

    Use this when:
    - You want to check if an image generation has completed
    - You need to retrieve image URLs from a previous generation
    - You want to get the full details of a generated/edited image

    Returns:
        Task status and image information including URLs and prompts.
    
- **nanobanana_get_tasks_batch** — Query multiple image generation/edit tasks at once.

    Efficiently check the status of multiple tasks in a single request.
    More efficient than calling nanobanana_get_task multiple times.

    Use this when:
    - You have multiple pending generations to check
    - You want to get status of several images at once
    - You're tracking a batch of generations

    Returns:
        Status and image information for all queried tasks.
    

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "mcp-nanobanana-pro": {
    "command": "uvx",
    "args": ["mcp-nanobanana-pro"],
    "env": {
      "ACEDATACLOUD_API_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `ACEDATACLOUD_API_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mcp-nanobanana-pro does

mcp-nanobanana-pro exposes Google's Nano Banana image generation and editing capabilities through the Model Context Protocol. Requests are sent through the AceDataCloud API, and image operations return task identifiers, trace identifiers, and resulting image URLs when available.

The server covers two primary workflows. `nanobanana_generate_image` creates an image from a text description. `nanobanana_edit_image` modifies an existing image or combines multiple images according to an instruction. Editing supports workflows such as virtual try-on, product placement, attribute changes, poster restyling, image restoration, and creating 3D-style product mockups.

## How it works

Image generation and editing are asynchronous. Start an operation, retain its task ID, and use `nanobanana_get_task` to retrieve its status, image URLs, prompts, and related metadata. When several operations are in progress, `nanobanana_get_tasks_batch` checks multiple task IDs in one request.

Prompts can describe the subject, atmosphere, lighting, camera or lens characteristics, and desired visual quality. For editing, provide the reference images along with a clear instruction describing the intended change or composition.

`nanobanana_list_models` returns locally defined model or action information without making an API request or generating an image. It is useful for discovering the server's available references, but it does not verify credentials, account balance, permissions, or service availability.

## Setup and configuration

The server can run locally over stdio or be used through the hosted MCP endpoint at `https://nanobanana.mcp.acedata.cloud/mcp`.

For a local process, install the `mcp-nanobanana-pro` package and provide `ACEDATACLOUD_API_TOKEN` to the process. The token is an AceDataCloud application credential, and local requests still use the AceDataCloud API. For hosted access, an MCP client can authenticate with OAuth through the endpoint or send an AceDataCloud bearer token. Do not configure both OAuth and a fixed authorization header for the same connection.

The package requires Python 3.10 or newer. Review AceDataCloud pricing, service permissions, usage limits, and account balance before running paid image operations. Keep task and trace identifiers when diagnosing failures, and protect the API token as a secret.

## Tools and capabilities

- `nanobanana_generate_image` creates an image from a text prompt.
- `nanobanana_edit_image` edits one image or combines multiple images using a text instruction.
- `nanobanana_get_task` retrieves the status and output details for one task.
- `nanobanana_get_tasks_batch` checks several generation or editing tasks in one request.
- `nanobanana_list_models` lists locally defined model or action information without an API call.

## Limitations and notes

Generation and editing consume AceDataCloud credits or account balance. Checking the local model list is not an authenticated service test, and generating media solely to test setup can create charges. To test access without creating new media, query an existing task owned by the application using its original task ID.

Task results depend on the asynchronous operation completing, so clients should preserve the original task ID for follow-up queries. Authentication failures may require checking the application's key, service permissions, allowed APIs, expiration, and usage limits. Avoid automatically retrying paid operations.

_Full upstream README: https://allmcps.com/mcp/mcp-nanobanana-pro/readme_

