gemini-mcp

LanceVCS/gemini-mcp

3.2

If you are the rightful owner of gemini-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Gemini MCP is a server that enhances the Gemini CLI by adding support for multi-turn conversations.

Gemini MCP

MCP server that adds multi-turn conversation support to Gemini CLI.

Prerequisites

  • Node.js 14.0 or higher
  • Gemini CLI installed and configured
  • Claude Code installed

Installation

Quick Install (CLI Method)

# Clone the repository
git clone <repo-url>
cd gemini-mcp

# Install dependencies
npm install

# Add to Claude Code
claude mcp add --transport stdio gemini -- node ~/.claude/mcp-servers/gemini-mcp/index.js

# Verify it's connected
claude mcp list

Manual Installation

If you prefer manual configuration:

  1. Clone to the standard MCP servers location:

    git clone <repo-url> ~/.claude/mcp-servers/gemini-mcp
    cd ~/.claude/mcp-servers/gemini-mcp
    npm install
    
  2. Add to ~/.claude.json in the mcpServers section:

    "gemini": {
      "type": "stdio",
      "command": "node",
      "args": ["/Users/YOUR_USERNAME/.claude/mcp-servers/gemini-mcp/index.js"],
      "env": {}
    }
    
  3. Restart Claude Code to load the new MCP server

Usage

// Start conversation
mcp__gemini__gemini("What is Docker?")
// Returns: conversationId: conv-abc123... + response

// Continue conversation
mcp__gemini__gemini_reply("conv-abc123...", "What about Kubernetes?")
// Maintains context from previous messages

Conversations auto-expire after 2 hours. Max 25 concurrent conversations.