Provides access to Google's Gemini Pro API for text generation and image analysis using Gemini Pro Vision capabilities
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gemini Pro MCP Servergenerate a summary of quantum computing basics"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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"