MCP Hub
Back to servers

Gemini CLI

MCP (Model Context Protocol) Server. Integrates with Google's Gemini CLI tool to enable conversational interactions, content generation with configurable temperature settings, and model discovery through command-line interface calls.

Stars
5
Tools
3
Validated
Jan 11, 2026

Gemini MCP Server

An MCP (Model Context Protocol) server that provides integration with the Gemini CLI tool.

Prerequisites

  • Node.js 18+
  • Gemini CLI tool installed and configured

Installation

npm install

Usage

Running the MCP Server

npm start

Available Tools

  1. gemini_chat - Send a message to Gemini and get a response

    • Parameters: message (required), model (optional, default: gemini-pro)
  2. gemini_generate - Generate content with Gemini using a specific prompt

    • Parameters: prompt (required), model (optional), temperature (optional, 0.0-1.0)
  3. gemini_list_models - List available Gemini models

    • No parameters required

Configuration

This MCP server assumes the Gemini CLI is available in your system PATH. Make sure you have:

  1. Installed the Gemini CLI tool
  2. Configured your API credentials
  3. Verified the CLI works by running gemini --help

Integration with Claude Desktop

Add this to your Claude Desktop configuration:

{
  "mcpServers": {
    "gemini": {
      "command": "node",
      "args": ["/path/to/gemini-mcp/index.js"]
    }
  }
}

Development

npm run dev

This will start the server with file watching for development.

Reviews

No reviews yet

Sign in to write a review