Gemini MCP Tool MCP Server

MCP server for Gemini CLI integration

Local serverstdioPython

What is the Gemini MCP Tool MCP server?

Gemini MCP Tool becomes available to MCP clients through the gemini mcp tool mcp server. MCP server for Gemini CLI integration.

What Gemini MCP Tool does

This is a simple Model Context Protocol (MCP) server that allows AI assistants to interact with the Gemini CLI. It enables the AI to leverage the power of Gemini's massive token window for large analysis, especially with large files and codebases using the @ syntax for direction.

Installing the gemini mcp tool mcp server

The server is distributed via npm as gemini-mcp-tool, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

The server reads one environment variable: AGY_CLI_PATH. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Gemini MCP Tool sits in that group. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by jamubc, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the gemini mcp tool mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

How to install the Gemini MCP Tool MCP server

{
  "mcpServers": {
    "gemini-cli": {
      "command": "npx",
      "args": ["-y", "gemini-mcp-tool"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
AGY_CLI_PATHFilesystem location the server is allowed to use.Optional

Frequently asked questions

It connects Gemini MCP Tool to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Gemini MCP Tool directly.