Skip to main content
Glama

Gemini MCP Server

by dakrin
README.md1.16 kB
# Gemini MCP Server Model Context Protocol (MCP) server implementation that enables Claude Desktop to interact with Google's Gemini 2.5 Pro Experimental AI model. ## Features - Full MCP protocol support - Google Gemini 2.5 Pro Experimental model access - Secure API key handling - Google Search integration (optional) - Token usage reporting - TypeScript implementation ## Available Tools The MCP server provides the following tools: 1. **generateWithGemini** - Generate content with Google Gemini 2.5 Pro Experimental - Parameters: - `prompt` (string, required): The prompt to send to Gemini - `temperature` (number, optional): Temperature setting (0.0 to 1.0) - `maxTokens` (number, optional): Maximum output tokens - `safeMode` (boolean, optional): Enable safe mode for sensitive topics - `useSearch` (boolean, optional): Enable Google Search grounding tool 2. **getModelInfo** - Get information about the Gemini model being used ## Common Issues 1. **Connection Issues** - Check that you have a valid API key ## Security - API keys are handled via environment variables only - No sensitive data is logged or stored

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/dakrin/mcp-gemini-server'

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