Gemini MCP Server

by MCP-Mirror

342 downloads Not rated yet
GitHub

About

Gemini MCP Server is a Model Context Protocol (MCP) server that enables Claude Desktop to interact with Google's Gemini AI models. It provides full MCP protocol support with real‑time response streaming and secure API key handling.

Explore

- Full MCP protocol support
- Real-time response streaming
- Secure API key handling
- Configurable model parameters
- TypeScript implementation

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Gemini MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Get Gemini API Key
- Visit Google AI Studio
- Create a new API key

2. Configure Claude Desktop
- Locate your config file:

     Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

- Add Gemini configuration:
     {
"mcpServers": {
"gemini": {
"command": "npx",
"args": ["-y", "github:aliargun/mcp-server-gemini"],
"env": {
"GEMINI_API_KEY": "your_api_key_here"
}
}
}
}

3. Restart Claude Desktop

npm install

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "gemini mcp server": {
            "gemini": {
                "command": "npx",
                "args": [
                    "-y",
                    "github:aliargun/mcp-server-gemini"
                ],
                "env": {
                    "GEMINI_API_KEY": "your_api_key_here"
                }
            }
        }
    }
}

McpServers

{
    "gemini": {
        "command": "npx",
        "args": [
            "-y",
            "github:aliargun/mcp-server-gemini"
        ],
        "env": {
            "GEMINI_API_KEY": "your_api_key_here"
        }
    }
}

Model Context Protocol (MCP) server implementation that enables Claude Desktop to interact with Google's Gemini AI models.

Features

- Full MCP protocol support
- Real-time response streaming
- Secure API key handling
- Configurable model parameters
- TypeScript implementation

Quick Start

1. Get Gemini API Key
- Visit Google AI Studio
- Create a new API key

2. Configure Claude Desktop
- Locate your config file:

     Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

- Add Gemini configuration:
     {
"mcpServers": {
"gemini": {
"command": "npx",
"args": ["-y", "github:aliargun/mcp-server-gemini"],
"env": {
"GEMINI_API_KEY": "your_api_key_here"
}
}
}
}

3. Restart Claude Desktop

Documentation

- Claude Desktop Setup Guide - Detailed setup instructions
- Examples and Usage - Usage examples and advanced configuration
- Implementation Notes - Technical implementation details
- Development Guide - Guide for developers
- Troubleshooting Guide - Common issues and solutions

Local Development

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.