Skip to content
Zed

guardian mcp for Zed

io.github.odingard/guardian-mcp

Routes agent tool calls through Guardian for ALLOW/ASK/DENY before execution.

client:Zed transport:stdio runtime:npm

Install guardian mcp in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "guardian-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@odingard/guardian-mcp"
      ],
      "env": {
        "GUARDIAN_BASE_URL": "<GUARDIAN_BASE_URL>",
        "GUARDIAN_AGENT_CREDENTIAL": "<GUARDIAN_AGENT_CREDENTIAL>",
        "GUARDIAN_CONNECTION_ID": "<GUARDIAN_CONNECTION_ID>",
        "GUARDIAN_ADAPTER_ID": "<GUARDIAN_ADAPTER_ID>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

guardian mcp in other clients