Nano-Banana Pro MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | MCP configuration setting for the current working directory. Set to your project folder to have images saved directly to the project. | |
| GEMINI_API_KEY | No | Your Gemini API key from Google AI Studio. Can be provided via MCP configuration environment variables, system environment variables, or the configure_gemini_token tool/local .nano-banana-config.json. | |
| NANO_BANANA_OUTPUT_DIR | No | Environment variable to force a specific output directory for generated and edited images. |
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 |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| configure_gemini_tokenA | Configure your Gemini API token for nano-banana image generation |
| generate_imageA | Generate a NEW image from text prompt. Use this ONLY when creating a completely new image, not when modifying an existing one. |
| edit_imageA | Edit a SPECIFIC existing image file, optionally using additional reference images. Use this when you have the exact file path of an image to modify. |
| get_configuration_statusA | Check if Gemini API token is configured |
| continue_editingA | Continue editing the LAST image that was generated or edited in this session, optionally using additional reference images. Use this for iterative improvements, modifications, or changes to the most recent image. This automatically uses the previous image without needing a file path. |
| get_last_image_infoA | Get information about the last generated/edited image in this session (file path, size, etc.). Use this to check what image is currently available for continue_editing. |
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 6 tools
Each tool targets a distinct action in the image workflow: token setup, token status, new image generation, editing a known file path, iterating on the last session image, and inspecting that last image. The descriptions explicitly draw the boundaries (e.g. generate_image says 'ONLY when creating a completely new image', edit_image requires an exact file path, continue_editing uses the previous image automatically), leaving little room for misselection.
All names are snake_case with a verb-first pattern (configure_, generate_, edit_, get_, continue_), which is predictable throughout. The only minor deviation is the gerund form 'continue_editing' versus the noun-object pattern of the others, but it remains readable and idiomatic.
Six tools is a tight, well-scoped set for an image generation/editing server; every tool maps to a necessary operation (auth, config check, create, edit, iterate, inspect). There is no visible redundancy or filler.
The surface covers the core lifecycle: configure auth, verify config, generate, edit by path, iterate on the last result, and inspect that result. Minor gaps exist—no way to list or browse previously generated images, choose explicit output destinations, or clean up files—but agents can work around these with normal filesystem access.