Skip to content
Grok

glassbox framework for Grok

io.github.thebarmaeffect/glassbox-framework

Runtime constitutional verification for AI answers — claim reasoning, ECS, red team, audits.

client:Grok transport:stdio runtime:npm

Install glassbox framework 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": {
    "glassbox-framework": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "GLASSBOX_MODEL": "<GLASSBOX_MODEL>",
        "GLASSBOX_MAX_TOKENS": "<GLASSBOX_MAX_TOKENS>",
        "GLASSBOX_ECS_MODE": "<GLASSBOX_ECS_MODE>"
      }
    }
  }
}

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

glassbox framework in other clients