NestDaddy

Glassbox Framework

io.github.TheBarmaEffect/glassbox-framework · v1.0.3

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

Connect Runs on your machine

Terminal
claude mcp add glassbox-framework -e ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> -e GLASSBOX_MODEL=<GLASSBOX_MODEL> -e GLASSBOX_MAX_TOKENS=<GLASSBOX_MAX_TOKENS> -e GLASSBOX_ECS_MODE=<GLASSBOX_ECS_MODE> -- npx -y @glassbox-framework/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "glassbox-framework": {
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/[email protected]"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "GLASSBOX_MODEL": "<GLASSBOX_MODEL>",
        "GLASSBOX_MAX_TOKENS": "<GLASSBOX_MAX_TOKENS>",
        "GLASSBOX_ECS_MODE": "<GLASSBOX_ECS_MODE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "glassbox-framework": {
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/[email protected]"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "GLASSBOX_MODEL": "<GLASSBOX_MODEL>",
        "GLASSBOX_MAX_TOKENS": "<GLASSBOX_MAX_TOKENS>",
        "GLASSBOX_ECS_MODE": "<GLASSBOX_ECS_MODE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "glassbox-framework": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/[email protected]"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "GLASSBOX_MODEL": "<GLASSBOX_MODEL>",
        "GLASSBOX_MAX_TOKENS": "<GLASSBOX_MAX_TOKENS>",
        "GLASSBOX_ECS_MODE": "<GLASSBOX_ECS_MODE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
ANTHROPIC_API_KEY
Required, secret
Your Anthropic API key (sk-ant-...). Required for the claim extractor, red team, constitution engines, and ECS coherence checks. One v1 tool (generate_trust_card) works without an API key — it's pure assembly + deterministic audit hashing.
GLASSBOX_MODEL
Optional
Override the Claude model used by the verification engines. Defaults to claude-sonnet-4-6.
GLASSBOX_MAX_TOKENS
Optional
Per-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content.
GLASSBOX_ECS_MODE
Optional
ECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total).

Details

Package@glassbox-framework/[email protected] (NPM, stdio)
First published25 May 2026
Last updated25 May 2026
Registry nameio.github.TheBarmaEffect/glassbox-framework

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.