Skip to main content
Glama

Gemini Pro MCP Server

by lutic1
README.md1.32 kB
# Gemini Pro MCP Server MCP server for integrating Gemini Pro API with Claude Desktop. ## Setup Instructions 1. **Install dependencies:** ```bash npm install ``` 2. **Get your Gemini API key:** - Go to [Google AI Studio](https://aistudio.google.com/app/apikey) - Create a new API key - Copy the key 3. **Set up environment variable:** ```bash export GEMINI_API_KEY="your-api-key-here" ``` 4. **Build the project:** ```bash npm run build ``` 5. **Configure Claude Desktop:** Edit your Claude Desktop config file: - **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json` - **Windows:** `%APPDATA%/Claude/claude_desktop_config.json` Add this configuration: ```json { "mcpServers": { "gemini-pro": { "command": "node", "args": ["/Users/luis_ticas/Documents/gemini-mcp-server/dist/index.js"], "env": { "GEMINI_API_KEY": "your-gemini-api-key-here" } } } } ``` 6. **Restart Claude Desktop** ## Available Tools - **generate_text**: Generate text using Gemini Pro - **analyze_image**: Analyze images using Gemini Pro Vision ## Usage Once connected, you can use commands like: - "Generate text using Gemini about [topic]" - "Analyze this image using Gemini"

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/lutic1/Google-MCP-Server-'

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