NanoBananaMCP
The MCP NanoBanana server provides AI-powered image generation and editing through Google's Nano Banana model via the AceDataCloud API, accessible from MCP-compatible clients like Claude Desktop or VS Code.
Image Generation: Create high-quality photorealistic or artistic images from detailed text prompts that include subject, atmosphere, lighting, camera/lens specifications, and quality keywords.
Image Editing & Manipulation: Edit existing images, combine multiple images, perform virtual try-on (placing clothing on people), product placement in scenes, attribute replacement (materials, colors, styles), image restoration, 2D to 3D conversion for product mockups, and rapid poster editing.
Task Management: Query individual or batch task status, retrieve results with image URLs and metadata, and optionally use webhook callbacks for asynchronous result delivery without polling.
Input Flexibility: Work with images via HTTP/HTTPS URLs or base64-encoded data, supporting multiple source images for complex editing operations.
Integration: Configurable API endpoints, timeouts, and logging for seamless integration with MCP-enabled applications.
Provides tools for AI image generation and editing using Google's Nano Banana model, supporting text-to-image creation, virtual try-on, and product placement within realistic scenes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NanoBananaMCPgenerate a photorealistic neon-lit ramen shop in Tokyo at night"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NanoBananaMCP
A Model Context Protocol (MCP) server for AI image generation and editing using Google's Nano Banana model through the AceDataCloud API.
Generate and edit AI images directly from Claude, VS Code, or any MCP-compatible client.
Features
Image Generation - Create high-quality images from text prompts
Image Editing - Modify existing images or combine multiple images
Virtual Try-On - Put clothing on people in photos
Product Placement - Place products in realistic scenes
Task Tracking - Monitor generation progress and retrieve results
Related MCP server: Gemini Image MCP
Tool Reference
Tool | Description |
| Generate an AI image from a text prompt using Google's Nano Banana model. |
| Edit or combine images using AI based on a text prompt. |
| Query the status and result of an image generation or edit task. |
| Query multiple image generation/edit tasks at once. |
Connect: hosted OAuth, API token, or local stdio
The hosted endpoint is https://nanobanana.mcp.acedata.cloud/mcp. Choose one route for the MCP client:
Route | When to use it | Credential setup |
Hosted OAuth | The client supports remote MCP OAuth | Add only the URL, then sign in to AceDataCloud and approve access. No token needs to be pasted into client configuration. |
Hosted API token | The client cannot finish OAuth, or you need an explicit integration credential | Send an AceDataCloud API token in the |
Local stdio | The client runs a local MCP process | Install |
The hosted service advertises OAuth metadata and Dynamic Client Registration (DCR). DCR registers the client application; it is not an API key. OAuth signs you in and the client sends the resulting Bearer token; it may reuse or create an API credential for the account. Browser sign-in still requires an AceDataCloud account. The hosted service can be metered: review current service documentation and displayed pricing before a real operation. Do not configure both an OAuth login and a fixed Authorization header for the same server.
Hosted OAuth examples
Claude and Claude Desktop chat: Add a remote custom connector in
Customize → Connectors → Add custom connector, enterhttps://nanobanana.mcp.acedata.cloud/mcp, select sign-in, and choose Register automatically if Claude asks how to register its OAuth client. Complete consent. Claude Desktop's localclaude_desktop_config.jsonis a separate setup. Claude connector guide.Claude Code:
claude mcp add --transport http --scope user nanobanana https://nanobanana.mcp.acedata.cloud/mcp, thenclaude mcp login nanobanana. Check/mcp. Claude Code MCP guide.Cursor: Add a remote server with only
https://nanobanana.mcp.acedata.cloud/mcp. For a project, merge the entry below into<project>/.cursor/mcp.json; for personal use, use~/.cursor/mcp.json. Cursor MCP guide.VS Code / Copilot: Run MCP: Add Server, select HTTP, enter
https://nanobanana.mcp.acedata.cloud/mcp, then finish the browser sign-in. New portable workspace configs use<project>/.mcp.json; the VS Code-specific format below uses<project>/.vscode/mcp.jsonor the user profile. Check MCP: List Servers. VS Code MCP setup.Codex:
codex mcp add nanobanana --url https://nanobanana.mcp.acedata.cloud/mcp, thencodex mcp login nanobanana. Its user settings are in~/.codex/config.toml. Official Codex MCP guide.
Cursor project config (OAuth):
{
"mcpServers": {
"nanobanana": {"url": "https://nanobanana.mcp.acedata.cloud/mcp"}
}
}VS Code-specific workspace config (OAuth):
{
"servers": {
"nanobanana": {"type": "http", "url": "https://nanobanana.mcp.acedata.cloud/mcp"}
}
}Hosted API token
Open Ace Data Cloud → Applications. Sign in, or register an account first.
Find General application. If it has not been created, choose Initialize General Application. A general key can use the services available to your account; a dedicated application's key is limited to its service. Check the required service/model access and current pricing.
Copy the API Key from the application card, or open Keys / Manage Keys → Create to create a separate key for this integration. Give it a recognizable name so you can revoke or rotate it independently.
When creating a key, review Expiration Time, Set Usage Limitation, and Allowed APIs. Enable only the restrictions you need, allow the operations you will call, then click Create and copy the token from the key list. Task lookup does not grant permission to submit a generation. Confirm the application's balance can cover your first request; any trial allowance is whatever your account currently displays.
Copy only the token value, without quotation marks, spaces, or
Bearer. An API Key / API Token field expects this raw value; only a manually configured HTTPAuthorizationheader needs theBearerprefix. Aplatform-...account-management token cannot replace a generation API key.


Save the key in the client's credential store or the environment variable shown below. Never put it in a prompt, shared workflow, screenshot, or Git commit. If authentication fails, check the full copied value, application/service access, expiration, usage limit, and balance before creating another key.
A fixed Bearer header bypasses OAuth. If the header is invalid, remove it before trying browser sign-in; keep the saved credential private.
For Claude Code, the shell expands the token when you add the server; treat the saved user MCP config as a secret:
export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN'
claude mcp add --transport http --scope user nanobanana https://nanobanana.mcp.acedata.cloud/mcp \
--header "Authorization: Bearer $ACEDATACLOUD_API_TOKEN"For a Claude Code project config, put a variable reference in <project>/.mcp.json and set that variable in the environment that launches Claude Code:
{
"mcpServers": {
"nanobanana": {
"type": "http",
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {"Authorization": "Bearer ${ACEDATACLOUD_API_TOKEN}"}
}
}
}Cursor uses a different environment-variable syntax in ~/.cursor/mcp.json or an uncommitted project config:
{
"mcpServers": {
"nanobanana": {
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {"Authorization": "Bearer ${env:ACEDATACLOUD_API_TOKEN}"}
}
}
}In VS Code, run MCP: Open User Configuration and merge this server plus its masked input; ${input:...} is for VS Code's user/workspace format and is not portable to the Agent Host .mcp.json format:
{
"inputs": [
{"id": "acedata-nanobanana-token", "type": "promptString", "description": "AceDataCloud API token", "password": true}
],
"servers": {
"nanobanana": {
"type": "http",
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {"Authorization": "Bearer ${input:acedata-nanobanana-token}"}
}
}
}For Cline, use its MCP configuration UI or CLI file ~/.cline/data/settings/cline_mcp_settings.json; its remote transport value is streamableHttp. For JetBrains AI Assistant, add a remote URL from Settings → Tools → AI Assistant → Model Context Protocol (MCP). For Zed, use a context_servers entry with the URL only for OAuth or add a local Bearer header. These clients have different configuration schemas; follow their current UI rather than copying another client's JSON. Cline · JetBrains · Zed.
Local stdio
Install the package and give the local process an API token:
python -m pip install mcp-nanobanana-pro
export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN'
mcp-nanobanana-proFor Claude Desktop local MCP, merge this entry into the file opened by its developer settings (~/Library/Application Support/Claude/claude_desktop_config.json on macOS). uvx requires uv on PATH:
{
"mcpServers": {
"nanobanana": {
"command": "uvx",
"args": ["mcp-nanobanana-pro"],
"env": {"ACEDATACLOUD_API_TOKEN": "YOUR_API_TOKEN"}
}
}
}Keep this user-level file private. Self-hosted HTTP uses mcp-nanobanana-pro --transport http --port 8000; expose it only with suitable network and TLS controls. Local execution still calls the AceDataCloud API.
Check before using the service
https://nanobanana.mcp.acedata.cloud/healthreturning{"status":"ok"}checks endpoint reachability only.Confirm that the MCP client loads tools. The tool list shows MCP discovery, not downstream API access or balance.
If you need a full API check, call
nanobanana_generate_imagewith your own valid input after reviewing current service documentation and displayed pricing. If the result contains a task ID, callnanobanana_get_taskon that same ID until terminal success or failure. Do not resubmit the operation just to check progress.
For 401, check which auth route the client used and whether the token or OAuth session is valid. A 403 may mean an account permission or content moderation failure; read the returned error. Insufficient balance and downstream service failures need their own diagnosis. A listed tool or submitted task does not prove a successful result.
Available Tools
Image Generation
Tool | Description |
| Generate an image from a text prompt |
| Edit or combine images with AI |
Tasks
Tool | Description |
| Query a single task status |
| Query multiple tasks at once |
Supported Models
Model | Resolution |
| 1K |
| 1K |
| 1K, 2K, 4K |
| 1K, 2K, 4K |
| 1K, 2K, 4K |
All five models support generation and editing. The existing nano-banana, nano-banana-2-lite, nano-banana-2, and nano-banana-pro models also have :official variants. Nano Banana 2.1 has no :official variant; use exactly nano-banana-2.1. Omitting model still selects nano-banana.
Usage Examples
Nano Banana 2.1 Generation and Editing
Pass these arguments to nanobanana_generate_image:
{
"prompt": "A blue ceramic vase on a cream background, soft side lighting, no text",
"model": "nano-banana-2.1",
"aspect_ratio": "1:1",
"resolution": "2K",
"count": 2
}For nanobanana_edit_image, supply your reference image URL:
{
"prompt": "Change the vase to green while preserving the background and lighting",
"image_urls": ["https://example.com/vase.png"],
"model": "nano-banana-2.1",
"resolution": "4K"
}Generation and editing submit asynchronously. Keep the returned task_id and query nanobanana_get_task until terminal success or failure; submission alone is not a completed image. Editing without aspect_ratio preserves the first reference image's aspect ratio; resolution defaults to 1K if omitted. Review the final image and pixel dimensions before using it.
Generate Image from Prompt
User: Create an image of a sunset over mountains
Claude: I'll generate that image for you.
[Calls nanobanana_generate_image with detailed prompt]Virtual Try-On
User: Put this shirt on this model
[Provides two image URLs]
Claude: I'll combine these images.
[Calls nanobanana_edit_image with both image URLs]Product Photography
User: Place this product in a modern kitchen scene
[Provides product image URL]
Claude: I'll create a product scene for you.
[Calls nanobanana_edit_image with scene description]Prompt Writing Tips
For best results, include these elements in your prompts:
Main Subject: What is the primary focus?
Atmosphere: What mood should the image convey?
Lighting: How is the scene illuminated?
Camera/Lens: What photographic style? (85mm portrait, wide-angle, etc.)
Quality Keywords: Technical descriptors (bokeh, film grain, HDR, etc.)
Example Prompt
A photorealistic close-up portrait of an elderly Japanese ceramicist
with deep wrinkles and a warm smile. Soft golden hour light streaming
through a window. Captured with an 85mm portrait lens, soft bokeh
background. Serene and masterful mood.Configuration
Environment Variables
Variable | Description | Default |
| API token from AceDataCloud | Required |
| API base URL |
|
| OAuth client ID (hosted mode) | — |
| Platform base URL |
|
| Request timeout in seconds |
|
| Logging level |
|
Command Line Options
mcp-nanobanana-pro --help
Options:
--version Show version
--transport Transport mode: stdio (default) or http
--port Port for HTTP transport (default: 8000)Development
Setup Development Environment
# Clone repository
git clone https://github.com/AceDataCloud/NanoBananaMCP.git
cd NanoBananaMCP
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # or `.venv\Scripts\activate` on Windows
# Install with dev dependencies
pip install -e ".[dev,test]"Run Tests
# Run unit tests
pytest
# Run with coverage
pytest --cov=core --cov=tools
# Run integration tests (requires API token)
pytest tests/test_integration.py -m integrationCode Quality
# Format code
ruff format .
# Lint code
ruff check .
# Type check
mypy core toolsBuild & Publish
# Install build dependencies
pip install -e ".[release]"
# Build package
python -m build
# Upload to PyPI
twine upload dist/*Project Structure
NanoBanana/
├── core/ # Core modules
│ ├── __init__.py
│ ├── client.py # HTTP client for NanoBanana API
│ ├── config.py # Configuration management
│ ├── exceptions.py # Custom exceptions
│ ├── server.py # MCP server initialization
│ ├── types.py # Type definitions
│ └── utils.py # Utility functions
├── tools/ # MCP tool definitions
│ ├── __init__.py
│ ├── image_tools.py # Image generation/editing tools
│ └── task_tools.py # Task query tools
├── prompts/ # MCP prompt templates
│ └── __init__.py
├── tests/ # Test suite
├── deploy/ # Deployment configs
│ └── production/
│ ├── deployment.yaml
│ ├── ingress.yaml
│ └── service.yaml
├── .env.example # Environment template
├── .gitignore
├── Dockerfile # Docker image for HTTP mode
├── docker-compose.yaml # Docker Compose config
├── LICENSE
├── main.py # Entry point
├── pyproject.toml # Project configuration
└── README.mdAPI Reference
This server wraps the AceDataCloud NanoBanana API:
NanoBanana Images API - Image generation and editing
NanoBanana Tasks API - Task queries
Use Cases
Portrait Enhancement - Try different clothing on the same person
Product Scene Composition - Place white-background products in realistic environments
Attribute Replacement - Change materials, colors, or variants
Poster Quick Editing - Rapidly change styles or themes
2D to 3D Conversion - Convert images to 3D product mockups
Image Restoration - Restore old or damaged photos
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch (
git checkout -b feature/amazing)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing)Open a Pull Request
Documentation
License
MIT License - see LICENSE for details.
Links
Made with love by AceDataCloud
Available Tools
4 toolsnanobanana_edit_imageAInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the edit to perform. Describe how the images should be combined or modified. Example: 'let this person wear this T-shirt', 'place this product in a modern kitchen scene' | |
| image_urls | Yes | List of image URLs to edit. Can be HTTP/HTTPS URLs (publicly accessible) or Base64-encoded images (data:image/png;base64,...). When combining multiple images, describe their relationship in the prompt. | |
| callback_url | No | Optional webhook URL to receive the result asynchronously. The API will POST the result to this URL when complete. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: the tool performs AI-based image editing/combination, supports multiple image inputs, handles both URLs and Base64 data (implied from schema), and returns a Task ID, trace ID, and image URL. It also mentions asynchronous processing via callback_url. However, it lacks details on rate limits, error conditions, or specific permissions required.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (purpose, usage guidelines, common use cases, returns) and front-loaded key information. However, it includes some redundancy (e.g., 'Common use cases' partially overlaps with 'Use this when:') and could be more concise by merging similar points, though all sentences contribute meaningful context.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (AI-based image editing with multiple inputs), no annotations, and an output schema (implied by 'Returns' section), the description is highly complete. It covers purpose, usage scenarios, behavioral aspects, and return values, providing sufficient context for an agent to understand when and how to invoke the tool effectively without relying on structured fields.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all three parameters thoroughly. The description adds minimal value beyond the schema by briefly mentioning 'text prompt' and 'multiple images' in the opening, but does not provide additional syntax, format, or usage details for parameters. The baseline score of 3 is appropriate as the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('edit or combine images using AI based on a text prompt') and distinguishes it from sibling tools like 'nanobanana_generate_image' by focusing on modifying existing images rather than generating new ones from scratch. It explicitly mentions the resource ('images') and the AI-driven mechanism.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool through a dedicated 'Use this when:' section listing five specific scenarios (e.g., combining multiple images, modifying an image, virtual try-on). It also distinguishes from alternatives by implying this is for editing existing images, unlike 'nanobanana_generate_image' for generation from scratch.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanobanana_generate_imageAInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the image to generate. Be descriptive about subject, atmosphere, lighting, camera/lens, and quality. Example: 'A photorealistic close-up portrait of an elderly Japanese ceramicist with deep wrinkles and a warm smile, soft golden hour light, 85mm portrait lens, bokeh background' | |
| callback_url | No | Optional webhook URL to receive the result asynchronously. The API will POST the result to this URL when complete. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: it's a generative operation ('creates high-quality images'), mentions quality dependencies ('more descriptive your prompt, the better the results'), and specifies the return format ('Task ID, trace ID, and generated image URL'). However, it doesn't cover potential limitations like rate limits, error conditions, or authentication needs, leaving some gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loaded, starting with the core purpose, followed by usage guidelines, tips, and return details. Each sentence earns its place by adding actionable information (e.g., prompt examples, when-to-use criteria) without redundancy. It's appropriately sized for a tool with two parameters and clear functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (generative AI image creation), the description is complete enough. It covers purpose, usage, behavioral aspects, and return values, and with an output schema present, it doesn't need to explain return values in detail. The combination of description, schema (100% coverage), and output schema provides a comprehensive context for the agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both parameters thoroughly. The description adds value by reinforcing the prompt's importance ('The more descriptive your prompt, the better the results') and providing detailed prompt writing tips with an example, which enhances understanding beyond the schema's technical descriptions. It doesn't add new parameter details but improves contextual usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Generate an AI image from a text prompt') and resource ('using Google's Nano Banana model'), distinguishing it from sibling tools like nanobanana_edit_image (which edits existing images) and nanobanana_get_task (which retrieves task status). It explicitly mentions creating high-quality images from detailed descriptions, establishing its unique purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit usage scenarios with a bulleted list ('Use this when:') that includes when to use this tool (e.g., 'generate a new image from scratch') and implicitly when not to use it (e.g., for editing existing images, which is handled by nanobanana_edit_image). It also offers prompt writing tips, further guiding effective usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanobanana_get_taskAInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task ID returned from a generation or edit request. This is the 'task_id' field from any nanobanana_generate_image or nanobanana_edit_image tool response. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that the tool queries task status and retrieves results, which implies it's a read-only operation without side effects. However, it lacks details on potential errors (e.g., invalid task IDs), rate limits, or authentication needs, leaving behavioral gaps for an agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loaded, starting with a clear purpose statement followed by usage guidelines and return details. Each sentence adds essential information without redundancy, making it efficient and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (single parameter, read-only query), the description is mostly complete. It covers purpose, usage, and returns, and an output schema exists, so return values need not be detailed. However, it lacks error handling or behavioral constraints, slightly reducing completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, so the baseline is 3. The description adds value by explaining the parameter's origin ('task_id' from generation/edit responses) and its role in retrieving task details, enhancing understanding beyond the schema's technical definition.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('Query the status and result') and resources ('image generation or edit task'), distinguishing it from siblings like nanobanana_generate_image (which creates tasks) and nanobanana_get_tasks_batch (which handles multiple tasks). It explicitly mentions retrieving image URLs and metadata, which sets it apart from creation tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit usage scenarios in a bulleted list, including when to use it (e.g., to check completion status or retrieve image URLs) and implies when not to use it (e.g., not for creating new tasks, which is handled by nanobanana_generate_image or nanobanana_edit_image). This offers clear guidance on context and alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nanobanana_get_tasks_batchAInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| task_ids | Yes | List of task IDs to query. Allows querying multiple tasks at once. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It describes the tool as a query/check operation, implying it's read-only and non-destructive, and mentions efficiency benefits. However, it lacks details on potential rate limits, error handling, or authentication needs. The description adds some context but doesn't fully cover behavioral traits beyond the basic purpose.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, followed by efficiency comparison, usage guidelines, and return information. Each sentence adds value without redundancy, and the structure is clear and well-organized. It's appropriately sized for the tool's complexity, with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (single parameter, no nested objects), high schema coverage, and the presence of an output schema (which handles return values), the description is complete enough. It covers purpose, usage guidelines, efficiency context, and return summary, addressing all necessary aspects without needing to duplicate schema information.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the parameter 'task_ids' well-documented as 'List of task IDs to query. Allows querying multiple tasks at once.' The description doesn't add any additional meaning beyond this, such as format examples or constraints. With high schema coverage, the baseline score of 3 is appropriate as the schema handles the parameter documentation adequately.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose as 'Query multiple image generation/edit tasks at once' and 'Efficiently check the status of multiple tasks in a single request,' specifying the verb (query/check), resource (tasks), and scope (multiple/batch). It explicitly distinguishes from the sibling tool nanobanana_get_task by noting it's 'More efficient than calling nanobanana_get_task multiple times,' providing clear differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description includes explicit usage guidelines with a 'Use this when:' section listing three specific scenarios (e.g., 'You have multiple pending generations to check'), and it names the alternative tool nanobanana_get_task, providing clear when-to-use and when-not-to-use guidance. This directly helps the agent choose between this tool and its sibling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v0.1.0- First observed
nanobanana_edit_image - First observed
nanobanana_generate_image - First observed
nanobanana_get_task - First observed
nanobanana_get_tasks_batch
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: generate_image creates new images from prompts, edit_image modifies or combines existing images, get_task retrieves single task results, and get_tasks_batch retrieves multiple task results. The descriptions reinforce these distinct roles, making tool selection unambiguous.
All tools follow a consistent snake_case pattern with the prefix 'nanobanana_' followed by a clear verb_noun combination (edit_image, generate_image, get_task, get_tasks_batch). The naming convention is perfectly uniform across all four tools, making them predictable and easy to understand.
Four tools is well-scoped for an image generation/editing server, covering core operations: generation, editing, and status retrieval (both single and batch). Each tool earns its place without redundancy, providing a complete yet manageable surface for the domain.
The tool set covers the essential lifecycle of image tasks: create (generate_image), modify (edit_image), and retrieve results (get_task and get_tasks_batch). A minor gap exists in lacking explicit deletion or management tools for tasks, but agents can work around this as the core workflows are fully supported.
Maintenance
Related MCP Connectors
Generate AI images and videos from any compatible MCP client.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Generate AI images, video, music, and sound effects, and upscale them, from any MCP client.
Generate images, video, audio and short films with 140+ AI models from any MCP client.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI image and video generation using Midjourney through the AceDataCloud API. It supports comprehensive features including image creation, transformation, blending, editing, and video generation directly within MCP-compatible clients.16778 PyPI14MIT
- FlicenseBqualityDmaintenanceEnables image generation and multi-turn editing sessions using the Gemini API within MCP-compatible environments. Users can create, modify, and configure images through natural language commands, supporting features like aspect ratio adjustments and session-based image transformations.5-
- AlicenseNot gradedqualityCmaintenanceAI-powered image generation MCP server with 16 specialized tools for generating, editing, analyzing, and processing images using Google's Nano Banana 2 model. Supports custom API endpoints and integrates with AI coding assistants via natural language.29 npm1MIT
- AlicenseAqualityDmaintenanceEnables AI image generation, editing, and upscaling via Google Gemini and Imagen models, supporting dynamic model switching and multiple MCP-compatible clients.12MIT