Logo vun Gemini MCP Server

Gemini MCP Server

Communautéit
tuannvm

An MCP server that allows AI assistants to connect with Google Gemini's command-line interface, taking advantage of Gemini's large token capacity to analyze large files and understand codebases.

Editeurtuannvm
Repositorygemini-mcp-server
SproochTypeScript
Forks
5
Stären
36
Disponibel Tools
9
Transporttypstdio
Kategorien
Linken
  • Tools mat KI-Workflows verbannen

    Gemini MCP Server stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 9 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    36 Stären an 5 Forks aus dem verlinkte Repository.

Gemini MCP Server

npm version npm downloads license

Give Claude superpowers with Gemini's massive context window. Analyze entire codebases, search the web, process images, and brainstorm ideas—all through MCP.

Quick Start

Prerequisites

  1. Install Gemini CLI: npm install -g @google/gemini-cli
  2. Authenticate: Run gemini and login with Google (free: 60 req/min, 1000 req/day)
  3. Set default model (recommended): export GEMINI_MODEL="gemini-3-pro-preview"

Install

One-Click

VS Code VS Code Insiders Cursor

Manual

bash
# Claude Code
claude mcp add gemini-cli -- npx -y @tuannvm/gemini-mcp-server

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):

json
{
  "mcpServers": {
    "gemini-cli": {
      "command": "npx",
      "args": ["-y", "@tuannvm/gemini-mcp-server"]
    }
  }
}

What You Can Do

ToolWhat it does
geminiAnalyze files and codebases with Gemini's 1M+ token context
web-searchSearch the web with Google Search grounding
analyze-mediaProcess images, PDFs, and screenshots
shellGenerate and execute shell commands
brainstormCreative ideation with structured methodologies

Gemini CLI Extensions

Enable access to Gmail, Drive, Sheets, Docs, Calendar, and more through Gemini CLI extensions.

bash
# Install the Google Workspace extension
gemini extensions install https://github.com/gemini-cli-extensions/workspace

Then use with yolo: true to auto-approve extension tool calls:

# Search your Google Drive
Use gemini with yolo=true to search my Google Drive for Q4 reports

# Read a Google Sheet
Use gemini with yolo=true to read the first sheet from "Budget 2025"

# Access Gmail
Use gemini with yolo=true to summarize my last 10 unread emails

Note: Any Gemini CLI extension can be used. Pass the full GitHub URL or local path to gemini extensions install.

Examples

# Analyze an entire codebase
Use gemini to analyze @. and provide an architecture overview

# Compare files
Use gemini to compare @src/old.ts and @src/new.ts

# Search the web
Use web-search to find the latest React 19 features

# Analyze a screenshot
Use analyze-media with filePath "@error.png" and prompt "what's this error?"

# Brainstorm ideas
Use brainstorm with methodology "design-thinking" to improve user onboarding

Documentation

Development

bash
npm install    # Install dependencies
npm run dev    # Development mode
npm run build  # Build
npm test       # Run tests

Acknowledgments

Inspired by gemini-mcp-tool.

Related Projects

  • codex-mcp-server — MCP server for OpenAI Codex CLI with AI-powered code analysis and review

License

MIT — This is an unofficial tool, not affiliated with Google.

Installatioun

TypingMind
{
  "mcpServers": {
    "gemini-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@tuannvm/gemini-mcp-server"
      ]
    }
  }
}

Disponibel Tools

  • gemini

    Query Gemini AI. Supports model selection, sandbox mode for safe code execution, and structured change mode for applying edits.

  • web-search

    Search the web using Gemini with Google Search grounding for real-time information.

  • analyze-media

    Analyze images, PDFs, or other media files using Gemini multimodal capabilities. Supports screenshots, diagrams, documents, and more.

  • shell

    Generate and optionally execute shell commands using Gemini. By default runs in dry-run mode (explains commands). Set dryRun=false to execute in sandbox.

  • brainstorm

    Generate creative ideas using structured frameworks (SCAMPER, Design Thinking, etc.) with domain context, feasibility analysis, and iterative refinement.

  • fetch-chunk

    Retrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response.

  • ping

    Test connectivity by echoing a message back.

  • help

    Display Gemini CLI help and available options.

  • timeout-test

    Test timeout prevention by running for a specified duration

Gemini MCP Server MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Gemini MCP Server verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Gemini MCP Server als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Gemini MCP Server an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "gemini-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@tuannvm/gemini-mcp-server"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Gemini MCP Server. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Gemini MCP Server.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Gemini MCP Server?
Gemini MCP Server
Jo. Ech hunn et gelies.
Dat hunn ech mat Gemini MCP Server fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Gemini MCP Server benotzt?

Gemini MCP Server ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Gemini MCP Server MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Gemini MCP Server mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Gemini MCP Server MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Gemini MCP Server verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Gemini MCP Server MCP mat TypingMind?

Gemini MCP Server leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Gemini MCP Server MCP an TypingMind zur Verfügung?

Gemini MCP Server stellt 9 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Gemini MCP Server MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Gemini MCP Server eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

gemini

Query Gemini AI with optional sandbox execution and structured change mode.

web-search

Search the web for real-time information using Google Search grounding.

analyze-media

Analyze media files (images, PDFs) using Gemini multimodal AI

shell

Generate shell commands for a task, optionally executing in sandbox mode

brainstorm

Generate creative ideas using structured brainstorming methodologies.

fetch-chunk

Fetch the next chunk of a response

ping

Echo a test message to verify connectivity.

help

Display Gemini CLI help information.

timeout-test

Test the timeout prevention system by running a long operation

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇