Skip to content
Gemini CLI

code context gate for Gemini CLI

io.github.wisdomrock/code-context-gate

Context-aware code retrieval MCP server — ranked, gated results for AI coding agents

client:Gemini CLI transport:stdio runtime:npm

Install code context gate in Gemini CLI

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

{
  "mcpServers": {
    "code-context-gate": {
      "command": "npx",
      "args": [
        "-y",
        "code-context-gate"
      ]
    }
  }
}

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

code context gate in other clients