trustmodel-mcp

v0.3.0
io.github.pdxlab/trustmodel-mcp Checked 4 days ago Published 6 days ago

Score any AI for trust across 10 dimensions; evaluate, monitor & govern LLMs and agents.

Runs scripts at install time.

Values you need

VariableWhat it is
TRUSTMODEL_API_KEYoptional secret TrustModel API key (free — 5 credits / $500 at https://app.trustmodel.ai) for calibrated cloud scoring. Optional: the local trustmodel_evaluate_local and trustmodel_govern tools work without it.
TRUSTMODEL_BASE_URLoptional Override the TrustModel API base URL (default https://api.trustmodel.ai).
TRUSTMODEL_PROFILEoptional Tool profile: 'default' exposes the 7 daily-driver tools; 'security' / 'advanced' / 'all' expose all 23. Default: default
TRUSTMODEL_GUARDRAIL_FAIL_MODEoptional Behavior only when no HTTP response is received: fail_closed (default) or fail_open. HTTP refusals always block. Default: fail_closed

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add trustmodel-mcp -- npx -y --package=@trustmodel/mcp-server@0.3.0 trustmodel-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "trustmodel-mcp": {
      "args": [
        "-y",
        "--package=@trustmodel/mcp-server@0.3.0",
        "trustmodel-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "trustmodel-mcp": {
      "args": [
        "-y",
        "--package=@trustmodel/mcp-server@0.3.0",
        "trustmodel-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "trustmodel-mcp": {
      "args": [
        "-y",
        "--package=@trustmodel/mcp-server@0.3.0",
        "trustmodel-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.trustmodel-mcp]
command = "npx"
args = ["-y", "--package=@trustmodel/mcp-server@0.3.0", "trustmodel-mcp"]

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: trustmodel_score, trustmodel_trace_start, trustmodel_trace_step, trustmodel_trace_finalize, trustmodel_evaluate_local, trustmodel_govern, trustmodel_guardrails_check.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json