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 107,240 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @google/gemini-cli.
- Developer tools
- Apache-2.0
- Actively maintained
Install Gemini CLI
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"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-cliCursor
{
"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
{
"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 is an open-source AI agent that brings the power of Gemini directly into your terminal. It provides lightweight access to Gemini, giving you the most direct path from your prompt to our model.
- gemini
- gemini-api
- ai
- ai-agents
- cli
- mcp-client
- mcp-server
Similar MCP servers
More developer tools MCP servers
Front-End Checklist
thedaviddias/Front-End-Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
Developer toolsMDXClaude Flow
ruvnet/ruflo
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
Developer toolsTypeScriptCodebase Memory
DeusData/codebase-memory-mcp
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Developer toolsCBytedance Filesystem
bytedance/UI-TARS-desktop
MCP server for filesystem access.
Developer toolsTypeScriptGitHub
github/github-mcp-server
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
OfficialDeveloper toolsGoRepomix
yamadashy/repomix
Pack local or remote codebases into AI-friendly files that LLMs and coding agents can read or search.
Developer toolsTypeScript
What is 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 107,240 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @google/gemini-cli. The source code is at github.com/google-gemini/gemini-cli.
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 Oct 6, 2026. The latest release is v0.63.0, published Oct 6, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.