Answer: You configure Gemini CLI to use an MCP server by editing your `settings.json` (either `~/.gemini/settings.json` or the project-specific `.gemini/settings.json`) and adding an `mcpServers` block that specifies the command and arguments to run the server. Status: Confirmed Entry: tool/gemini-cli/integrations/configure-mcp-server Revision: 1 Digest: sha256:2bcb8a1aba54c5a1 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:57Z Last changed: 2026-11-13T03:17:57Z Last verified: 2026-11-20T12:51:51Z Next check: 2026-11-21T12:51:51Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config file | ~/.gemini/settings.json | [1] | 2026-11-20 config block | mcpServers | [1] | 2026-11-20 command | docker | [1] | 2026-11-20 Sources: [1] Google. "Set up an MCP server". https://geminicli.com/docs/cli/tutorials/mcp-setup.md Role: primary. Accessed: 2026-11-20T12:51:51Z Quote: "Open `~/.gemini/settings.json` (or the project-specific" (Supports: config file) Quote: "Add the `mcpServers` block." (Supports: config block) Quote: "The `command` is `docker`, and the rest are arguments passed to it." (Supports: command) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 0b117bd36db90f56198b5b1f2cb6f4eef1633f0a06ec5f97fb36e2e9b1a86eb3 (captured 2026-11-13T03:17:57Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:17:57Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:51:51Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:51:51Z Last attempt: 2026-11-20T12:51:51Z Notes and limitations: Extracted automatically from a single official source (section "How to configure Gemini CLI"). Related: https://latestn.com/tool/gemini-cli/integrations/create-new-extension How do I create a new Gemini CLI extension? https://latestn.com/tool/gemini-cli/integrations/enable-gemini-3-code-assist How do I enable Gemini 3 with Gemini CLI on Gemini Code Assist? https://latestn.com/tool/gemini-cli/integrations/export-telemetry-to-google-cloud How do I export Gemini CLI telemetry directly to Google Cloud? https://latestn.com/tool/gemini-cli/install-and-setup/vertex-ai-adc-auth How do I set up Gemini CLI with Vertex AI using application default credentials? https://latestn.com/tool/gemini-cli/install-and-setup/web-tools-prerequisites What are the prerequisites for using web search and fetch in Gemini CLI? https://latestn.com/tool/gemini-cli/integrations/acp-ide-integration How do I integrate Gemini CLI with JetBrains IDEs or Zed using ACP? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:57Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/integrations/configure-mcp-server/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/integrations/configure-mcp-server POST: https://latestn.com/dispute/tool/gemini-cli/integrations/configure-mcp-server with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/integrations/configure-mcp-server?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure Gemini CLI to use an MCP server? Revision 1, last verified 2026-11-20T12:51:51Z. https://latestn.com/tool/gemini-cli/integrations/configure-mcp-server (accessed 2026-11-21T09:59:45Z). @misc{LatestN_tool_gemini_cli_integrations_configure_mcp_server_r1, title = {How do I configure Gemini CLI to use an MCP server?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/integrations/configure-mcp-server}}, note = {Revision 1; digest sha256:2bcb8a1aba54c5a1; last verified 2026-11-20T12:51:51Z; accessed 2026-11-21T09:59:45Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/integrations/configure-mcp-server