Skip to main content
Glama
ion-aluminium

Nano Banana MCP Server (CLIProxyAPI Edition)

.env.example2.16 kB
# ============================================================ # Authentication Settings # ============================================================ # NANOBANANA_AUTH_METHOD: Authentication method # - api_key: Developer API + API Key (default) # - vertex_ai: Vertex AI API + ADC (for Google Cloud) # - auto: Use API Key if available, else try Vertex AI NANOBANANA_AUTH_METHOD=auto # ============================================================ # API Key Authentication (when auth_method=api_key or auto) # ============================================================ # Recommended for local development GEMINI_API_KEY=your_api_key_here # GOOGLE_API_KEY=your_api_key_here # Alternative # ============================================================ # CLIProxyAPI Authentication (optional) # ============================================================ # When CLIPROXY_BASE_URL is set, the server will use CLIProxyAPI # instead of the Google SDK. Provide either CLIPROXY_API_KEY or # CLIPROXY_CONFIG pointing to CLIProxyAPI's config.yaml. CLIPROXY_BASE_URL=http://127.0.0.1:8318 # CLIPROXY_API_KEY=sk-your-cli-proxy-key # CLIPROXY_CONFIG=/path/to/cliproxyapi/config.yaml # ============================================================ # Vertex AI Authentication (when auth_method=vertex_ai or auto) # ============================================================ # Google Cloud Project ID (Required for Vertex AI) GCP_PROJECT_ID=your-project-id # GOOGLE_CLOUD_PROJECT=your-project-id # Alternative # Google Cloud Region (Default: us-central1) GCP_REGION=us-central1 # GOOGLE_CLOUD_LOCATION=us-central1 # Alternative # ============================================================ # Model Settings # ============================================================ # Options: flash (speed), pro (quality), auto (intelligent selection) NANOBANANA_MODEL=auto # Image Output Directory (optional) # Default: ~/nanobanana-images # IMAGE_OUTPUT_DIR=/path/to/output # Gemini 3 Pro Model Settings (optional, only applies when using Pro model) # GEMINI_PRO_THINKING_LEVEL=high # low, high # GEMINI_PRO_ENABLE_GROUNDING=true # Enable Google Search grounding

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/ion-aluminium/nanobanana-mcp-cliproxyapi'

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