NanoBanana MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NANOBANANA_MODEL | No | Default model: gemini-3.1-flash-image-preview or gemini-3-pro-image-preview | |
| GOOGLE_AI_API_KEY | Yes | Google AI API key |
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 |
|---|---|
| gemini_chatA | Chat with Gemini 3.1 Flash model. Supports multi-turn conversations with up to 10 reference images. |
| gemini_generate_imageB | Generate images using Gemini's image generation capabilities. Supports session-based image consistency for maintaining style/character across multiple generations. |
| gemini_edit_imageB | Edit or modify existing images based on prompts. Supports session history references ('last' or 'history:N') and image consistency features. |
| get_image_historyA | Get the list of generated/edited images in a session for reference |
| clear_conversationB | Clear conversation history for a specific conversation ID |
| set_aspect_ratioA | Set the aspect ratio for subsequent image generation and editing in this session. Must be called before generating/editing images if a specific ratio is desired. |
| set_modelA | Set the Gemini model for this session. 'flash' for faster generation (default), 'pro' for higher quality. |
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 7 tools
Each tool has a clearly distinct purpose: retrieving history, chatting, generating images, editing images, clearing conversation, and setting session parameters. There is no functional overlap between generate and edit, and chat is text-focused while image tools are visual. Even the history and clear tools are unambiguous (images vs. conversation).
Most tools follow a verb_noun pattern (get_image_history, clear_conversation, set_aspect_ratio, set_model), but three tools are prefixed with 'gemini_' (gemini_chat, gemini_generate_image, gemini_edit_image), creating an inconsistency in form. The verbs are clear, but the prefix usage is not uniform, and 'gemini_chat' reads more as a noun phrase than a verb_noun command.
Seven tools is a well-scoped count for a server focused on image generation/editing and session management. Each tool serves a necessary function without redundancy or bloat, fitting comfortably within the ideal 3-15 range.
The surface covers the main lifecycle for image work: generate (create), edit (update), view history (read), and session management. The only minor gap is the lack of an explicit delete/image removal tool and no way to view conversation history outside of image history, but these are workarounds in most use cases.