AgentHubAgentHub

glassbox-framework

MCP ServerMCP Registry官方收录

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

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

概览

glassbox-framework 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "glassbox-framework": {
      "command": "npx",
      "args": [
        "-y",
        "@glassbox-framework/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

环境变量

ANTHROPIC_API_KEY必填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可选

Override the Claude model used by the verification engines. Defaults to claude-sonnet-4-6.

GLASSBOX_MAX_TOKENS可选

Per-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content.

GLASSBOX_ECS_MODE可选

ECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total).

相关资源

统一 Manifest

{
  "id": "io.github.TheBarmaEffect/glassbox-framework",
  "type": "mcp-server",
  "version": "1.0.3",
  "displayName": "glassbox-framework",
  "description": "Runtime constitutional verification for AI answers — claim reasoning, ECS, red team, audits.",
  "repository": {
    "url": "https://github.com/TheBarmaEffect/glassbox",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@glassbox-framework/mcp",
        "version": "1.0.3",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "ANTHROPIC_API_KEY",
            "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.",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "GLASSBOX_MODEL",
            "description": "Override the Claude model used by the verification engines. Defaults to claude-sonnet-4-6."
          },
          {
            "name": "GLASSBOX_MAX_TOKENS",
            "description": "Per-engine-call max-tokens cap. Defaults to 2048; raise for verifying long-form content."
          },
          {
            "name": "GLASSBOX_ECS_MODE",
            "description": "ECS aggregation mode: arithmetic (weighted mean, default) or geometric (stricter — any zero dimension collapses the total)."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.TheBarmaEffect/glassbox-framework",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.TheBarmaEffect%2Fglassbox-framework/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
glassbox-framework — MCP Server 安装与配置 · AgentHub