Gemini CLI
Google ยท Terminal
Gemini CLI is Google's terminal-based coding agent, released as open source and now aimed at organisations using Gemini Code Assist on Google Cloud. MCP servers are defined under mcpServers in settings.json or added with gemini mcp add, and it reaches them over stdio, Streamable HTTP or SSE, and supports OAuth sign-in for remote ones. Free and individual users have been shifted to Antigravity CLI since June 2026.
Facts
How to add a server to Gemini CLI
- Find the server you want on plug.directory and open its page.
- In its install block, pick Gemini CLI. The block shows the config and where it goes.
- Put the config in ~/.gemini/settings.json. Then check the server's tools in Gemini CLI, as its docs describe.
For example, Azure MCP Server, one of the top ranked servers that work in Gemini CLI, goes in ~/.gemini/settings.json:
{
"mcpServers": {
"azure": {
"command": "npx",
"args": ["-y", "@azure/[email protected]", "server", "start"]
}
}
} How to add an MCP server to Gemini CLI: local and remote
Matches the official docs The config follows Gemini CLI's MCP docs, read on 2026-10-31.
Top servers for Gemini CLI
- Azure MCP Server All Azure MCP tools to create a seamless connection between AI agents and Azure services.
- Next Devtools Next.js development tools MCP server with stdio transport
- Supabase MCP server for interacting with the Supabase platform
- DBHub Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
- Sentry MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants
- Context7 Up-to-date docs for AI agents
- GitLab MCP Server GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more.
- EduBase EduBase MCP server
- Dynatrace [DEPRECATED] Dynatrace MCP Server. Migrate to dynatrace-for-ai or Dynatrace Remote MCP Server.
- Stripe MCP server integrating with Stripe - tools for customers, products, payments, and more.
All 123,005 servers that work in Gemini CLI The best list, side by side
Gemini CLI compared
Gemini CLI vs Claude CodeGemini CLI vs CodexGemini CLI vs Cursor
Facts read from Google's own pages on 2026-10-31; the description is ours, from its site. Every client