Skip to main content
Glama

MCP Server Gemini

by gurr-i

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoEnvironment mode (production or development)production
LOG_LEVELNoLogging level (error, warn, info, debug)info
ENABLE_METRICSNoEnable performance metricsfalse
GEMINI_API_KEYYesGoogle AI Studio API Key for accessing Gemini models
REQUEST_TIMEOUTNoRequest timeout in milliseconds (30000 = 30 seconds)30000
RATE_LIMIT_WINDOWNoTime window in ms (60000 = 1 minute)60000
RATE_LIMIT_ENABLEDNoEnable/disable rate limitingtrue
RATE_LIMIT_REQUESTSNoMax requests per window100

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
code_reviewComprehensive code review with Gemini 2.5 Pro
explain_with_thinkingDeep explanation using Gemini 2.5 thinking capabilities
creative_writingCreative writing with style control

Resources

Contextual data attached and managed by the client

NameDescription
Available Gemini ModelsList of all available Gemini models and their capabilities
API CapabilitiesDetailed information about Gemini API capabilities
Usage GuideComplete guide on using all tools and features
Parameters ReferenceDetailed documentation of all parameters
ExamplesExample usage patterns for common tasks

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_text

Generate text using Google Gemini with advanced features

analyze_image

Analyze images using Gemini vision capabilities

count_tokens

Count tokens for a given text with a specific model

list_models

List all available Gemini models and their capabilities

embed_text

Generate embeddings for text using Gemini embedding models

get_help

Get help and usage information for the Gemini MCP server

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/gurr-i/mcp-server-gemini-pro'

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