Skip to content
Grok

Agent Guardrails for Grok

io.github.logi-cmd/agent-guardrails

Merge gates and safety checks for AI coding agents via MCP.

client:Grok transport:stdio runtime:npm

Install Agent Guardrails in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "agent-guardrails": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-guardrails"
      ]
    }
  }
}

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

Agent Guardrails in other clients