Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NANOBANANA_MODELNoDefault model to use (gemini-3.1-flash-image-preview or gemini-3-pro-image-preview).
GOOGLE_AI_API_KEYYesGoogle AI API key obtained from Google AI Studio.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
gemini_chat

Chat with Gemini 3.1 Flash model. Supports multi-turn conversations with up to 10 reference images.

gemini_generate_image

Generate images using Gemini's image generation capabilities. Supports session-based image consistency for maintaining style/character across multiple generations.

gemini_edit_image

Edit or modify existing images based on prompts. Supports session history references ('last' or 'history:N') and image consistency features.

get_image_history

Get the list of generated/edited images in a session for reference

clear_conversation

Clear conversation history for a specific conversation ID

set_aspect_ratio

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_model

Set the Gemini model for this session. 'flash' for faster generation (default), 'pro' for higher quality.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/pistachiomatt/nanobanana-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server