Leanwall for Grok
io.github.kaushaljogi2002/leanwall
Local MCP firewall: 3 meta-tools front all your servers, cut tokens, redact secrets, gate writes
client:Grok
transport:stdio
runtime:pypi
Install Leanwall in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"leanwall": {
"type": "stdio",
"command": "uvx",
"args": [
"leanwall"
],
"env": {
"LEANWALL_CONFIG": "<LEANWALL_CONFIG>"
}
}
}
}
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