Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYYesAPI key from a Google Cloud project with billing enabled (Gemini API Free Tier does NOT support image generation models).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
nanobanana_generate_image

Generate an image using Gemini's native image generation (Nano Banana).

This tool calls the Gemini API to generate an image based on your text prompt and saves it to the specified path.

Models:

  • gemini-2.5-flash-image: Fast, efficient (~$0.039/image)

  • gemini-3-pro-image-preview: Higher quality, supports 4K (~$0.134-0.24/image)

Supported Aspect Ratios: 1:1, 16:9, 9:16, 4:3, 3:4

Example:

prompt: "A modern flat illustration of a workflow diagram with three connected nodes, purple and blue gradient colors, minimal style"
output_path: "assets/generated/workflow-hero.png"
model: "gemini-2.5-flash-image"
aspect_ratio: "16:9"
nanobanana_list_queue

List and validate prompt files in the queue directory.

This tool scans the queue directory for markdown prompt files and provides:

  • Validation status for each file

  • Conflict detection (output file already exists)

  • Preview of prompt content

Use this to review what will be generated before running process_queue.

Example:

queue_dir: "nanobanana/queue"
validate: true
check_conflicts: true
nanobanana_process_queue

Process all prompt files in the queue directory and generate images.

Modes:

  • validate_only=true: Only validate prompts, no API calls

  • dry_run=true: Show what would be generated, no API calls

  • Both false: Actually generate images

Overwrite Strategies:

  • skip: Skip if output file exists (default)

  • overwrite: Replace existing files

  • rename: Generate with suffix (e.g., hero_1.png)

After successful generation, prompt files are moved to completed_dir with timestamp.

Example:

queue_dir: "nanobanana/queue"
dry_run: true
overwrite: "skip"

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

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