agentguard for Grok
io.github.agentwares/agentguard
MCP policy proxy: spend caps, approvals for destructive tools, kill switch, dry-run, audit log.
client:Grok
transport:stdio
runtime:npm
Install agentguard in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"agentguard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agentwares/agentguard"
],
"env": {
"AGENTGUARD_CONFIG": "<AGENTGUARD_CONFIG>",
"AGENTGUARD_KILL": "<AGENTGUARD_KILL>"
}
}
}
}
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