nano-banana-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| VERTEX_LOCATION | No | Vertex AI location (e.g., global, us-central1, europe-west4). | global |
| NANO_BANANA_MODEL | No | Gemini model ID for image generation. | gemini-3-pro-image-preview |
| VERTEX_PROJECT_ID | No | GCP project ID. Optional if the service account JSON includes project_id. | |
| NANO_BANANA_GCS_BUCKET | No | GCS bucket for uploading local reference images. Required if using referenceImagePaths. | |
| NANO_BANANA_GCS_PREFIX | No | Object prefix for uploaded reference images. | nano-banana/refs |
| NANO_BANANA_OUTPUT_DIR | No | Local directory to save generated images. | ~/nano-banana-outputs |
| NANO_BANANA_AUTO_TASK_4K | No | Run 4K generations in task mode automatically to avoid client timeouts. | false |
| GOOGLE_SERVICE_ACCOUNT_JSON | Yes | JSON string or file path of the GCP service account key. | |
| NANO_BANANA_AUTO_TASK_TTL_MS | No | How long auto-task results remain available (ms). Set 0 for no expiry. | 1200000 |
| NANO_BANANA_OUTPUT_GCS_BUCKET | No | GCS bucket for generated images. Defaults to NANO_BANANA_GCS_BUCKET if not set. | |
| NANO_BANANA_OUTPUT_GCS_PREFIX | No | Object prefix for generated images. | nano-banana/outputs |
| NANO_BANANA_PROGRESS_INTERVAL_MS | No | How often progress notifications are emitted (ms). Set 0 to disable. | 20000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tasks | {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
}
}
} |
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| nano_banana_generate_imageA | Generate images with Gemini 3 Pro Image on Vertex AI and upload results to GCS. Prefer referenceImagePaths or referenceImageUris to avoid base64. For 4K imageSize requests, the server may return a polling task (or MCP task when explicitly requested) when auto-task mode is enabled to avoid client timeouts. |
| nano_banana_get_taskA | Get status/results for polling tasks returned by nano_banana_generate_image when auto-task is enabled. Wait a few seconds between polls to avoid hammering the server. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools are unambiguously distinct: one generates images, the other retrieves task status for async operations. There is zero overlap in their purposes.
Both tools follow the same verb_noun pattern with a shared 'nano_banana_' prefix: 'generate_image' and 'get_task'. This is perfectly consistent and predictable.
With only two tools, the count is minimal but fits the narrow purpose of image generation with async polling. It could feel slightly thin, but the scope is clear and each tool is essential.
The surface covers the core workflow of generating images and retrieving results. Minor gaps exist (e.g., no task cancellation or listing), but these are not critical for the primary use case.