{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.TheBarmaEffect/glassbox-framework",
  "slug": "io.github.thebarmaeffect.glassbox-framework",
  "title": "glassbox-framework",
  "summary": "Runtime constitutional verification for AI answers — claim reasoning, ECS, red team, audits.",
  "version": "1.0.3",
  "serverKey": "glassbox-framework",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.thebarmaeffect.glassbox-framework",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.thebarmaeffect.glassbox-framework/install.md",
  "trust": {
    "score": 89,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T12:30:57.153631629Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@glassbox-framework/mcp@1.0.3",
        "glassbox-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add glassbox-framework -e 'ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY>' -- npx -y --package=@glassbox-framework/mcp@1.0.3 glassbox-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"glassbox-framework\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@glassbox-framework/mcp@1.0.3\",\n        \"glassbox-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ANTHROPIC_API_KEY\": \"<ANTHROPIC_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"glassbox-framework\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@glassbox-framework/mcp@1.0.3\",\n        \"glassbox-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ANTHROPIC_API_KEY\": \"<ANTHROPIC_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"ANTHROPIC_API_KEY\",\n      \"id\": \"anthropic-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"glassbox-framework\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@glassbox-framework/mcp@1.0.3\",\n        \"glassbox-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ANTHROPIC_API_KEY\": \"${input:anthropic-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.glassbox-framework]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@glassbox-framework/mcp@1.0.3\", \"glassbox-mcp\"]\nenv = { \"ANTHROPIC_API_KEY\" = \"<ANTHROPIC_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "ANTHROPIC_API_KEY",
      "required": true,
      "secret": true,
      "description": "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.",
      "help": "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.",
      "placeholder": "<ANTHROPIC_API_KEY>"
    },
    {
      "name": "GLASSBOX_MODEL",
      "required": false,
      "secret": false,
      "description": "Override the Claude model used by the verification engines. Defaults to claude-sonnet-4-6.",
      "help": "Override the Claude model used by the verification engines. Defaults to claude-sonnet-4-6.",
      "default": "claude-sonnet-4-6",
      "placeholder": "claude-sonnet-4-6"
    },
    {
      "name": "GLASSBOX_MAX_TOKENS",
      "required": false,
      "secret": false,
      "description": "Per-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content.",
      "help": "Per-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content.",
      "default": "2048",
      "placeholder": "2048"
    },
    {
      "name": "GLASSBOX_ECS_MODE",
      "required": false,
      "secret": false,
      "description": "ECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total).",
      "help": "ECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total).",
      "default": "arithmetic",
      "placeholder": "arithmetic"
    }
  ],
  "expectedTools": [
    "glassbox_verify_answer",
    "glassbox_extract_claims",
    "glassbox_score_ecs",
    "glassbox_red_team",
    "glassbox_generate_trust_card",
    "glassbox_export_audit_report"
  ],
  "agentSteps": [
    "Ask the user for: ANTHROPIC_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: glassbox_verify_answer, glassbox_extract_claims, glassbox_score_ecs, glassbox_red_team, glassbox_generate_trust_card, glassbox_export_audit_report.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T12:30:57.153631629Z"
}
