Skip to main content
Glama

Gemini Pro MCP Server

MCP server for integrating Gemini Pro API with Claude Desktop.

Setup Instructions

  1. Install dependencies:

    npm install
  2. Get your Gemini API key:

  3. Set up environment variable:

    export GEMINI_API_KEY="your-api-key-here"
  4. Build the project:

    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:

    {
      "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

Related MCP server: MCP Gemini Server

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"

Available Tools

2 tools
analyze_imageC

Analyze an image using Gemini 2.5 Pro Vision

Inputs: imageData (required), prompt.

generate_textC

Generate text using Gemini 2.5 Pro model

Inputs: prompt (required), maxTokens, temperature.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern (analyze_image, generate_text) with clear, descriptive names that indicate their specific actions and targets.

    Tool Count2/5

    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.

    Completeness2/5

    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.

    Related MCP Connectors

    Related MCP Servers

    Appeared in Searches