Skip to content
Grok

ctxfw for Grok

io.github.heuristicolab/ctxfw

Zero-egress AI Agent Firewall: SARA prompt injection defense, AST context pruning & MCP governance.

client:Grok transport:stdio runtime:pypi

Install ctxfw in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "ctxfw": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ctxfw"
      ]
    }
  }
}

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

ctxfw in other clients