Provides access to Google's Gemini Pro API for text generation and image analysis using Gemini Pro Vision capabilities
Gemini Pro MCP Server
MCP server for integrating Gemini Pro API with Claude Desktop.
Setup Instructions
Install dependencies:
npm installGet your Gemini API key:
Go to Google AI Studio
Create a new API key
Copy the key
Set up environment variable:
export GEMINI_API_KEY="your-api-key-here"Build the project:
npm run buildConfigure Claude Desktop:
Edit your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.json
Add this configuration:
{ "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" } } } }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"