trustmodel-mcp
v0.3.0Score any AI for trust across 10 dimensions; evaluate, monitor & govern LLMs and agents.
Runs scripts at install time.
Values you need
| Variable | What it is | |
|---|---|---|
TRUSTMODEL_API_KEY | optional 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_URL | optional | Override the TrustModel API base URL (default https://api.trustmodel.ai). |
TRUSTMODEL_PROFILE | optional | Tool profile: 'default' exposes the 7 daily-driver tools; 'security' / 'advanced' / 'all' expose all 23. Default: default |
TRUSTMODEL_GUARDRAIL_FAIL_MODE | optional | 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-mcpAdd 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
- 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: trustmodel_score, trustmodel_trace_start, trustmodel_trace_step, trustmodel_trace_finalize, trustmodel_evaluate_local, trustmodel_govern, trustmodel_guardrails_check.
- 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