Gemini Pro MCP Server
# 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"
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one analyzes images and the other generates text. There is no overlap in functionality, making it impossible to confuse them.
Both tools follow a consistent verb_noun pattern (analyze_image, generate_text) with clear, descriptive names that indicate their specific actions and targets.
With only two tools, the server feels under-scoped for a Gemini Pro MCP Server, which might be expected to offer more capabilities like editing, summarizing, or multimodal interactions beyond basic image analysis and text generation.
The toolset is severely incomplete for a Gemini Pro server, lacking essential operations such as editing text, summarizing content, handling multimodal inputs beyond images, or providing model configuration options, which limits agent workflows.