Skip to content
Gemini CLI

ref tools mcp for Gemini CLI

tools.ref/ref-tools-mcp

Token-efficient search for coding agents over public and private documentation.

client:Gemini CLI transport:streamable-http

Install ref tools mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "ref-tools-mcp": {
      "httpUrl": "https://api.ref.tools/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

ref tools mcp in other clients