NanoBanana MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | Yes | Your Google Gemini API key from Google AI Studio |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gemini_generate_imageB | Generate an image from a text prompt using the Google Gemini Nano Banana image generation model. Args:
Returns:
Examples:
|
| gemini_edit_imageA | Edit or transform one or more images using a text instruction, powered by the Google Gemini Nano Banana image model. Supports single or multiple input images. Provide file paths and/or base64-encoded image data along with a text instruction. Args:
Returns:
Examples:
|
| gemini_upload_imageA | Upload one or more images to the Gemini Files API and return their file URIs. Use this to pre-upload reference images before calling gemini_batch_submit. Uploaded files persist for 48 hours on Google's servers. Pass the returned URIs to batch_submit via the file_uris field to avoid slow base64 encoding. Args:
Returns:
|
| gemini_batch_submitA | Submit a batch of image generation requests to the Gemini API at 50% reduced cost. Builds a JSONL file, uploads it to the Gemini Files API, and submits a batch job. The job processes asynchronously (usually completes within minutes). Returns the batch ID — the caller is responsible for tracking it (e.g. in Supabase). Args:
Returns:
|
| gemini_batch_statusA | Check the status of a batch image generation job. Args:
Returns:
|
| gemini_batch_resultsA | Download and save images from a completed batch job. Checks the batch status, retrieves the output JSONL from Gemini, decodes each image, and saves them to the specified output directory using the key as the filename. Args:
Returns:
|
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
- 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/slackermafia/NanoBanana-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server