# AceDataCloud/MCPNanoBanana [Health: Active]

**Category:** 🎨 Art & Culture  
**Repository:** https://github.com/AceDataCloud/MCPNanoBanana  
**GitHub Stars:** 10  
**Views:** 9  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/acedatacloud-mcpnanobanana

## Description
NanoBanana AI image generation and editing with virtual try-on and product placement in realistic scenes.

## 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_list_models** — List accepted model identifiers without an API request or image generation.

    This is local reference information. It does not validate the application key,
    service access, account balance, or current model price.
    
- **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": {
  "mcpnanobanana": {
    "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 AceDataCloud/MCPNanoBanana does

AceDataCloud/MCPNanoBanana exposes Google's Nano Banana image generation and editing capabilities through the Model Context Protocol. Requests are sent through the AceDataCloud API, allowing an MCP-compatible client to create images from text prompts or modify existing images with text instructions.

The editing workflow supports combining multiple images and changing visual attributes such as clothing, colors, materials, styles, and backgrounds. This makes the server suitable for virtual try-on, product placement in realistic scenes, poster variations, restoration work, and image-based product mockups. Generated and edited results are returned through asynchronous tasks with task IDs, trace IDs, image URLs, prompts, and related metadata.

## How it works

The server exposes five MCP tools:

- `nanobanana_generate_image` creates an image from a descriptive text prompt.
- `nanobanana_edit_image` modifies or combines supplied images according to a text instruction.
- `nanobanana_list_models` returns locally defined accepted model identifiers without making an API request.
- `nanobanana_get_task` checks one generation or editing task and retrieves its result.
- `nanobanana_get_tasks_batch` checks multiple tasks in one request.

Generation and editing are asynchronous. After starting an operation, retain the original task ID and use one of the task lookup tools to check progress and retrieve image URLs. The batch lookup tool is useful when several image operations are pending. Detailed prompts can include the subject, atmosphere, lighting, camera or lens style, and quality requirements.

## Setup and configuration

The server can run locally over stdio or be accessed through the hosted MCP endpoint at `https://nanobanana.mcp.acedata.cloud/mcp`. Local installation uses the `mcp-nanobanana-pro` package and requires Python 3.10 or newer. Pass `ACEDATACLOUD_API_TOKEN` to the local process using an AceDataCloud application key or API token.

For hosted use, an MCP client can authenticate with OAuth through the endpoint, or send an AceDataCloud API token as a Bearer token. OAuth requires an AceDataCloud account and browser consent. Do not configure OAuth and a fixed authorization header for the same server. Hosted and generated-image operations may consume Ace credits, so review account access, permissions, balance, and pricing before starting paid work.

The repository gives connection examples for Claude, Claude Desktop, Claude Code, Cursor, and VS Code. Kiro can launch the local package through `uvx` after the token is made available to its environment.

## Tools and capabilities

Text-to-image generation accepts a prompt and returns identifiers plus a generated image URL. Editing accepts reference images and an instruction, enabling image composition and targeted changes. Model listing is intended for local reference and does not verify credentials or service access.

Task lookup returns status and image information for a previous operation. Batch lookup provides the status and result information for multiple task IDs in one call, avoiding repeated individual status requests.

## Limitations and notes

`nanobanana_list_models` does not validate the application key, service permissions, account balance, current pricing, or access to the remote service. It should be treated as reference data rather than a connectivity test. Keep task or trace IDs when troubleshooting, and avoid retrying paid operations automatically. The server calls AceDataCloud even when run locally, so local stdio operation still depends on the API and a valid credential.

_Full upstream README: https://allmcps.com/mcp/acedatacloud-mcpnanobanana/readme_

