Gemini 2.5 Pro

by dakrin

4 stars
Not rated
GitHub

About

Enables Claude Desktop to interact with Google's Gemini 2.5 Pro model through a TypeScript server with Google Search integration for grounded responses and detailed token usage reporting.

Details

Author
dakrin
Repository
dakrin/mcp-gemini-server
GitHub stars
4
Categories
Developer Tools, Design, File Management, AI, Search, API, Infrastructure, Knowledge Base
Tags
#integration

- Full MCP protocol support
- Google Gemini 2.5 Pro Experimental model access
- Secure API key handling
- Google Search integration (optional)
- Token usage reporting
- 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 2.5 Pro
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    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

generateWithGemini

Generate content with Google Gemini 2.5 Pro Experimental. Parameters: prompt (string, required), temperature (number, optional), maxTokens (number, optional), safeMode (boolean, optional), useSearch (boolean, optional)

getModelInfo

Get information about the Gemini model being used.

The MCP server provides the following tools:

1. generateWithGemini - Generate content with Google Gemini 2.5 Pro Experimental
- Parameters:
- prompt (string, required): The prompt to send to Gemini
- temperature (number, optional): Temperature setting (0.0 to 1.0)
- maxTokens (number, optional): Maximum output tokens
- safeMode (boolean, optional): Enable safe mode for sensitive topics
- useSearch (boolean, optional): Enable Google Search grounding tool

2. getModelInfo - Get information about the Gemini model being used

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "gemini 2.5 pro": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

Gemini MCP Server

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

Features

- Full MCP protocol support
- Google Gemini 2.5 Pro Experimental model access
- Secure API key handling
- Google Search integration (optional)
- Token usage reporting
- TypeScript implementation

Available Tools

The MCP server provides the following tools:

1. generateWithGemini - Generate content with Google Gemini 2.5 Pro Experimental
- Parameters:
- prompt (string, required): The prompt to send to Gemini
- temperature (number, optional): Temperature setting (0.0 to 1.0)
- maxTokens (number, optional): Maximum output tokens
- safeMode (boolean, optional): Enable safe mode for sensitive topics
- useSearch (boolean, optional): Enable Google Search grounding tool

2. getModelInfo - Get information about the Gemini model being used

Common Issues

1. Connection Issues
- Check that you have a valid API key

Security

- API keys are handled via environment variables only
- No sensitive data is logged or stored

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.