
How to Configure MCP in Gemini CLI
Google Gemini terminal client and developer toolkit with tool calling.
macOS
~/.gemini/settings.jsonWindows
%USERPROFILE%\.gemini\settings.jsonLinux
~/.gemini/settings.jsonSetup and verification
Configuration: settings.json / mcpServers / Guide only
Documentation reviewed: 2026-11-02. This is not a runtime test or security audit.
- Choose user ~/.gemini/settings.json or project .gemini/settings.json.
- Follow the official mcpServers schema for your transport. Preserve other settings in the file.
- Inspect connected servers and permissions in Gemini CLI.
This guide corrects the filename; there is no Gemini-specific generator here. Do not copy another client's remote configuration without checking the official schema.
Review every command and requested permission. Merge only the relevant server entries; do not overwrite unrelated settings. Keep credentials out of version control.
Reviewed configurations for Gemini CLI
0 servers with a documentation-reviewed configuration for at least one platform. Check the platform selector before copying.
No reviewed configurations for this client are published yet. Other clients' server lists are not evidence of compatibility. Use the official setup guide.