XWatch for Grok
io.github.xtarwall/xwatch
Free local security checks for coding agents: scans git changes, alerts only on proven findings.
client:Grok
transport:stdio
runtime:npm
Install XWatch in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"xwatch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@xtarwall/xwatch"
],
"env": {
"DH_MCP_ALLOWED_ROOTS": "<DH_MCP_ALLOWED_ROOTS>"
}
}
}
}
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