G

Google-MCP-Server-

@lutic1/Google-MCP-Server-
0 Stars 157 次浏览 lutic1 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "gemini-pro": {
      "args": [
        "/Users/luis_ticas/Documents/gemini-mcp-server/dist/index.js"
      ],
      "command": "node",
      "env": {
        "GEMINI_API_KEY": "your-gemini-api-key-here"
      }
    }
  }
}

服务介绍

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"

相关 MCP 服务