io.github.TheBarmaEffect/glassbox-framework

io.github.TheBarmaEffect/glassbox-framework

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "glassbox-framework": {
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/mcp@1.0.3"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<your ANTHROPIC_API_KEY>",
        "GLASSBOX_MODEL": "claude-sonnet-4-6",
        "GLASSBOX_MAX_TOKENS": "2048",
        "GLASSBOX_ECS_MODE": "arithmetic"
      }
    }
  }
}
Environment variables
  • ANTHROPIC_API_KEYrequiredsecretYour 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_MODELOverride the Claude model used by the verification engines. Defaults to claude-sonnet-4-6.
  • GLASSBOX_MAX_TOKENSPer-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content.
  • GLASSBOX_ECS_MODEECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total).

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.0.3
Registry
active
Published
5/25/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.TheBarmaEffect/glassbox-framework is listed here — it’s also the link we check for a free listing.

io.github.TheBarmaEffect/glassbox-framework — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-thebarmaeffect-glassbox-framework?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.TheBarmaEffect/glassbox-framework — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.TheBarmaEffect/glassbox-framework — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-thebarmaeffect-glassbox-framework?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.