Skip to content
Grok

Yagami AI Context Firewall for Grok

io.github.matthewtracy/yagami

Govern model, retrieval, memory, and tool access for AI applications and agents.

client:Grok transport:stdio runtime:pypi

Install Yagami AI Context Firewall in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "yagami": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "yagami"
      ],
      "env": {
        "YAGAMI_HEADLESS": "<YAGAMI_HEADLESS>",
        "YAGAMI_MCP_SERVER_ENABLED": "<YAGAMI_MCP_SERVER_ENABLED>",
        "YAGAMI_REQUIRE_AUTH": "<YAGAMI_REQUIRE_AUTH>"
      }
    }
  }
}

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

Yagami AI Context Firewall in other clients