glassbox-mcp

v4.2.4
glassbox-mcp Checked 2 days ago Published 8 months ago

MCP server for Glassbox — mechanistic interpretability + EU AI Act Annex IV compliance tools for Claude and any MCP-compatible client

Starts only with mcp<2 (written for an older SDK); the install commands pin it.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add glassbox-mcp -- uvx --with 'mcp<2' glassbox-mcp==4.2.4
Add to claude_desktop_config.json
{
  "mcpServers": {
    "glassbox-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "glassbox-mcp==4.2.4"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "glassbox-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "glassbox-mcp==4.2.4"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "glassbox-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "glassbox-mcp==4.2.4"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.glassbox-mcp]
command = "uvx"
args = ["--with", "mcp<2", "glassbox-mcp==4.2.4"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: glassbox_circuit_discovery, glassbox_faithfulness_metrics, glassbox_compliance_report, glassbox_attention_patterns, glassbox_logit_lens.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json