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

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"

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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