Skip to main content
Glama
DigiBugCat

Gemini Interactions MCP

by DigiBugCat

Gemini Interactions MCP

A FastMCP server for stateful Gemini conversations with automatic Google Search grounding.

Features

  • Stateful Conversations: Maintain context across queries via interaction_id

  • Google Search Grounding: Model automatically searches the web when needed

  • URL Context: Parse and analyze linked web pages

  • Thinking Levels: Control reasoning depth (minimal, medium, high)

Related MCP server: Gemini Research MCP Server

Setup

uv sync
cp .env.example .env
# Edit .env with your GEMINI_API_KEY

Get your API key from: https://aistudio.google.com/app/apikey

Usage

uv run python server.py

Tools

Tool

Thinking Level

Description

search

minimal

Quick web search, structured results

ask

medium

Balanced grounded answers

ask_thinking

high

Deep reasoning with grounding

All tools support interaction_id for stateful follow-up conversations.

Claude Desktop Integration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "gemini": {
      "command": "uv",
      "args": ["run", "python", "/path/to/gemini-interactions-mcp/server.py"],
      "env": {
        "GEMINI_API_KEY": "your_api_key_here"
      }
    }
  }
}

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

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/DigiBugCat/gemini-interactions-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server