WhiteBoxXAI

v0.3.2
io.github.AgentaFlow/whiteboxxai-mcp Checked 8 hours ago Published 1 month ago

AI observability, explainability and governance: drift, fairness, ISO 42001, risk register.

Values you need

VariableWhat it is
WHITEBOXXAI_MCP_API_KEYrequired secret WhiteBoxXAI API key, generated from the dashboard under Settings > API Keys.
WHITEBOXXAI_MCP_API_BASE_URLoptional Base URL of your WhiteBoxXAI instance. Default: https://api.whiteboxxai.com

PyPI (uvx) discovery passed

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

Run in a terminal
claude mcp add whiteboxxai-mcp -e 'WHITEBOXXAI_MCP_API_KEY=<WHITEBOXXAI_MCP_API_KEY>' -- uvx whiteboxxai-mcp==0.3.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "whiteboxxai-mcp": {
      "args": [
        "whiteboxxai-mcp==0.3.2"
      ],
      "command": "uvx",
      "env": {
        "WHITEBOXXAI_MCP_API_KEY": "<WHITEBOXXAI_MCP_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "whiteboxxai-mcp": {
      "args": [
        "whiteboxxai-mcp==0.3.2"
      ],
      "command": "uvx",
      "env": {
        "WHITEBOXXAI_MCP_API_KEY": "<WHITEBOXXAI_MCP_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "WHITEBOXXAI_MCP_API_KEY",
      "id": "whiteboxxai-mcp-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "whiteboxxai-mcp": {
      "args": [
        "whiteboxxai-mcp==0.3.2"
      ],
      "command": "uvx",
      "env": {
        "WHITEBOXXAI_MCP_API_KEY": "${input:whiteboxxai-mcp-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.whiteboxxai-mcp]
command = "uvx"
args = ["whiteboxxai-mcp==0.3.2"]
env = { "WHITEBOXXAI_MCP_API_KEY" = "<WHITEBOXXAI_MCP_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http whiteboxxai-mcp https://api.whiteboxxai.com/mcp/ --header 'Authorization: <Authorization>' --header 'X-WhiteBox-API-Key: <X-WhiteBox-API-Key>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "whiteboxxai-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.whiteboxxai.com/mcp/",
        "--header",
        "Authorization: <Authorization>",
        "--header",
        "X-WhiteBox-API-Key: <X-WhiteBox-API-Key>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "whiteboxxai-mcp": {
      "headers": {
        "Authorization": "<Authorization>",
        "X-WhiteBox-API-Key": "<X-WhiteBox-API-Key>"
      },
      "url": "https://api.whiteboxxai.com/mcp/"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "whiteboxxai-mcp": {
      "headers": {
        "Authorization": "<Authorization>",
        "X-WhiteBox-API-Key": "<X-WhiteBox-API-Key>"
      },
      "type": "http",
      "url": "https://api.whiteboxxai.com/mcp/"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.whiteboxxai-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://api.whiteboxxai.com/mcp/", "--header", "Authorization: <Authorization>", "--header", "X-WhiteBox-API-Key: <X-WhiteBox-API-Key>"]

For AI agents

  1. Ask the user for: WHITEBOXXAI_MCP_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: whitebox_models_register, whitebox_models_get, whitebox_models_list, whitebox_models_update, whitebox_models_update_status, whitebox_models_versions, whitebox_models_latest, whitebox_models_update_baseline, ….
  5. 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