Skip to content
Grok

guardian mcp for Grok

io.github.odingard/guardian-mcp

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

client:Grok transport:stdio runtime:npm

Install guardian mcp in Grok

.mcp.json (in your project root)

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

{
  "mcpServers": {
    "guardian-mcp": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

guardian mcp in other clients