Gemini Nano Banana MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_MODEL | No | Default image model (e.g., gemini-2.0-flash-preview-image-generation). | |
| GEMINI_API_KEY | No | Your Gemini API key from Google AI Studio. | |
| GEMINI_AUTH_MODE | No | Set to 'gemini-web' to use cookie-based authentication. | |
| GEMINI_SECURE_1PSID | No | The __Secure-1PSID cookie value from gemini.google.com. | |
| GEMINI_SECURE_1PSIDTS | No | Optional __Secure-1PSIDTS cookie value. |
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_api_keyA | Set or update the Gemini API key for image generation. The key is stored locally and persists across sessions. |
| configure_google_loginA | Switch to the free, unofficial "gemini-web" auth mode that uses your logged-in consumer Gemini (gemini.google.com) session instead of an API key. Supports image generation and editing (no video). Extract the cookies from your browser DevTools (Application > Cookies > gemini.google.com). Cookies are stored locally and may need re-extraction when they expire. |
| configure_modelA | Set the default Gemini model for image generation and editing. Persists across sessions. Use "quality" param to set either "high" (default) or "fast" model tier. High-quality: gemini-3.1-flash-image-preview (default). Fast/cheap: gemini-2.5-flash-image (default fast). |
| generate_imageB | Generate a new image from a text description using Gemini AI. Returns the generated image and saves it to disk. |
| edit_imageB | Edit an existing image based on text instructions. Provide the file path of the image to modify. |
| continue_editingA | Continue editing the last generated or edited image. Automatically uses the most recent image from the session. |
| generate_videoA | Generate a video from a text prompt using Gemini Veo. Supports text-to-video, image-to-video (first frame), and first+last frame interpolation. Video generation takes 1-6 minutes. Available models: veo-3.1-generate-preview (latest), veo-3-generate-preview, veo-2-generate-preview. |
| list_video_historyA | List recently generated videos with their prompts, models, and timestamps. |
| get_statusA | Check the current configuration status, active model, and last image/video information. |
| list_historyA | List recently generated and edited images with their prompts and timestamps. |
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/seungmanchoi/nano-banana-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server