AI Guard for Grok
io.github.ai-guard-dev/ai-guard
Guardrails for AI-written JS/TS: scans, weakened-test checks, package checks, verify before done.
client:Grok
transport:stdio
runtime:npm
Install AI Guard in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"ai-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"eslint-plugin-ai-guard"
]
}
}
}
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