Gemini CLI

How to Add MCP Servers to Gemini CLI

github.com/google-gemini/gemini-cli

Google's CLI for Gemini models with MCP server integration.

Setup Guide

1. Locate the config file

~/.gemini/settings.json

2. Add a server configuration

Add the following to your JSON config:

gemini mcp add --name=sequential-thinking -- npx -- -y @modelcontextprotocol/server-sequential-thinking

3. Restart Gemini CLI

Restart or reload Gemini CLI to pick up the new MCP server configuration.

Compatible Servers (1831)