Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HTTP_PROXYNoHTTP proxy URL.
HTTPS_PROXYNoHTTPS proxy URL (e.g., http://127.0.0.1:7890).
GEMINI_API_KEYYesYour key from Google AI Studio.
GEMINI_VISION_MODELNoDefault model for vision requests.gemini-2.5-flash
GEMINI_VISION_ALLOW_URLNoAllow URL inputs.true
GEMINI_VISION_MAX_IMAGE_MBNoMaximum image size in MB.10
GEMINI_VISION_ALLOW_LOCAL_FILENoAllow local file inputs.true
GEMINI_VISION_BLOCK_LOCAL_URLSNoBlock private/loopback IPs for URLs.true
GEMINI_VISION_GEMINI_TIMEOUT_MSNoTimeout for Gemini API call in milliseconds.60000
GEMINI_VISION_REQUEST_TIMEOUT_MSNoTimeout for URL fetch in milliseconds.20000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_image_with_geminiA

Analyze a local image file or image URL using Google Gemini Vision.

PRIVACY RULES:

  1. Use this tool ONLY when the current main model cannot natively understand images.

  2. If the current main model has native vision capability, do NOT use this tool unless the user explicitly asks to use Gemini.

  3. Before calling this tool with confirm_send_to_gemini=true, you MUST ask the user for consent.

  4. The image bytes and prompt will be sent to Google Gemini API.

  5. If image_source is a URL, this MCP downloads the image from your machine first, then sends bytes to Gemini.

  6. If the user has not explicitly agreed, omit confirm_send_to_gemini or set it to false to show a confirmation notice only.

Supported inputs:

analyze_images_batchA

Batch analyze multiple images (2-5) using Google Gemini Vision.

Same privacy rules as analyze_image_with_gemini apply. Useful for comparing screenshots, before/after views, or multi-page documents.

Supported inputs: local file paths or HTTP/HTTPS image URLs (can mix).

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/nianshou555qiansui/gemini-vision-mcp-safe'

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