Skip to content
appsgit

Gemini CLI

Gemini CLI is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. An open-source AI agent that brings the power of Gemini directly into your terminal. It has 108,864 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @google/gemini-cli.

github.com/google-gemini/gemini-cli (opens in a new tab)

Data as of from the GitHub API; description from the project's repository. Report an error

Install Gemini CLI

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "gemini-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@google/gemini-cli"
      ]
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --transport stdio gemini-cli -- npx -y @google/gemini-cli

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "gemini-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@google/gemini-cli"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "gemini-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@google/gemini-cli"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

About Gemini CLI

Gemini CLI (gemini) is an open-source terminal agent maintained for enterprise Gemini Code Assist workflows on Google Cloud. Learn more in the Gemini CLI documentation.

  • gemini
  • gemini-api
  • ai
  • ai-agents
  • cli
  • mcp-client
  • mcp-server

FAQ

Gemini CLI FAQ

Still curious? Email info@appsgit.com.

How do I install the Gemini CLI MCP server?

Add the command npx -y @google/gemini-cli to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Gemini CLI free?

The server is open source under the Apache-2.0 license, so running it is free. It does not declare any required API key.

Is Gemini CLI actively maintained?

The most recent commit was on Nov 13, 2026. The latest release is v0.68.0, published Nov 10, 2026. appsgit only lists MCP servers with a commit in the last six months.