Skip to content
Gemini CLI

toolgovern for Gemini CLI

io.github.rudrendupaul/toolgovern

Wraps the toolgovern CLI as a single generic MCP tool for agent-tool policy validation.

client:Gemini CLI transport:stdio runtime:pypi

Install toolgovern in Gemini CLI

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

{
  "mcpServers": {
    "toolgovern": {
      "command": "uvx",
      "args": [
        "toolgovern-cli"
      ]
    }
  }
}

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

toolgovern in other clients