trackmcp
Back to directory
blesscat

gemini-cli-mcp

View on GitHub

Gemini MCP Server

5 stars JavaScriptOthers Updated Aug 4, 2025

Documentation

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

bash
npm install

Usage

Running the MCP Server

bash
npm start

Available Tools

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

    2. gemini_generate - Generate content with Gemini using a specific prompt

      3. gemini_list_models - List available Gemini models

        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:

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

        Development

        bash
        npm run dev

        This will start the server with file watching for development.

        Frequently asked questions

        What is gemini-cli-mcp?

        gemini-cli-mcp is Gemini MCP Server

        How do I install gemini-cli-mcp?

        Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

        Is gemini-cli-mcp open source?

        Yes — it is hosted on GitHub at https://github.com/blesscat/gemini-cli-mcp and has 5 stars.

        Related MCP tools

        Run your own MCP server? See who uses it and what to fix.

        Measure it with TrackMCP