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,394 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
{
"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
REA
morluto/rea
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Active · last commit Oct 26, 2026
Developer toolsTypeScriptClaude Flow
ruvnet/ruflo
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
Active · last commit Oct 26, 2026
Developer toolsTypeScriptLineai MCP Server
lineai-intelligence/lineai-mcp-server
An MCP Server to utilize Lineai's rich software dependency data in your AI programming assistant.
Active · last commit Oct 13, 2026
OfficialDeveloper toolsPythonFront-End Checklist
thedaviddias/Front-End-Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
Active · last commit Oct 6, 2026
Developer toolsMDXeCFR
1102tools-dev/federal-contracting-mcps
Electronic Code of Federal Regulations including FAR, DFARS, and agency supplements.
Active · last commit Oct 25, 2026
OfficialDeveloper toolsPythonCodebase Memory
DeusData/codebase-memory-mcp
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Active · last commit Oct 26, 2026
Developer toolsC
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 23, 2026. The latest release is v0.65.0, published Oct 20, 2026. appsgit only lists MCP servers with a commit in the last six months.