
How to Add MCP Servers to Gemini CLI
github.com/google-gemini/gemini-cliGoogle's CLI for Gemini models with MCP server integration.
Setup Guide
1. Locate the config file
~/.gemini/settings.json2. Add a server configuration
Add the following to your JSON config:
gemini mcp add --name=sequential-thinking -- npx -- -y @modelcontextprotocol/server-sequential-thinking3. Restart Gemini CLI
Restart or reload Gemini CLI to pick up the new MCP server configuration.