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 |
Capabilities
Features and capabilities supported by this server
| 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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fahmidme/nano-banana-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server