Skip to content
Gemini CLI

agentsafe for Gemini CLI

io.github.andyscott88/agentsafe

Real-time URL trust scoring for AI agents. Blocks phishing and malicious sites.

client:Gemini CLI transport:stdio runtime:npm

Install agentsafe in Gemini CLI

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "agentsafe": {
      "command": "npx",
      "args": [
        "-y",
        "agentsafe-mcp-server"
      ],
      "env": {
        "AGENTSAFE_API_KEY": "<AGENTSAFE_API_KEY>"
      }
    }
  }
}

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

agentsafe in other clients