Score any AI for trust across 10 dimensions; evaluate, monitor & govern LLMs and agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A Model Context Protocol (MCP) server that lets any AI agent call TrustModel for trust evaluation, safety/bias analysis, and end-to-end agentic trace evaluation.
Works with Claude Code, Cursor, Windsurf, Claude Desktop, and any other MCP-compatible client.
Sign up at app.trustmodel.ai and create an API key under Settings β API Keys. Keys have the format tm-{env}-{keyid}_{secret} (e.g. tm-prod-abc12345_0123456789abcdefβ¦).
Add to your MCP configuration file (.cursor/mcp.json or equivalent):
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
| Variable | Required | Default | Description |
|---|---|---|---|
TRUSTMODEL_API_KEY | No* | β | Your TrustModel API key (tm-{env}-{keyid}_{secret}). *Not needed for the local tools (trustmodel_evaluate_local, trustmodel_govern); required for calibrated cloud tools. |
TRUSTMODEL_TRACE_DIR | No | ~/.trustmodel-mcp/traces/ | Where streaming trace sessions are persisted as append-only JSONL. Sessions survive server restarts via rehydrate-on-read. |
TRUSTMODEL_PROFILE | No | default | Tool profile. default exposes only the daily-driver tools; security / advanced / all expose every tool. See Tool profiles. |
TRUSTMODEL_ADVANCED_TOOLS | No | false | Set true to expose all tools regardless of TRUSTMODEL_PROFILE. |
TRUSTMODEL_AGT_DISCOVERY_ENABLED | No | false | Enables the filesystem-touching Shadow Discovery tools (trustmodel_shadow_discovery_*). When unset, those tools return a skip report. (Only relevant when the advanced profile is on.) |
To stay within the 5β8 tool best-practice budget (more tools degrade an agent's tool selection), the server exposes a small default set and keeps advanced tools opt-in.
Default profile (6 tools) β the daily drivers:
trustmodel_evaluate_local Β· trustmodel_score Β· trustmodel_trace_start Β· trustmodel_trace_step Β· trustmodel_trace_finalize Β· trustmodel_govern
Advanced β set TRUSTMODEL_PROFILE=security (or advanced / all, or TRUSTMODEL_ADVANCED_TOOLS=true) to additionally expose: trustmodel_evaluate (cloud batch), trustmodel_credits, trustmodel_upload_trace, trustmodel_evaluate_agent, trustmodel_score_agent, trustmodel_mcp_scan_server, trustmodel_shadow_discovery_*, trustmodel_redteam_*, and trustmodel_shadowai_* β 20 tools total.
The server exposes 18 tools across six areas. Use this table to pick the right one; full input/output docs follow below.
| Tool | Group | When to use |
|---|---|---|
trustmodel_evaluate | Eval | Kick off a batch trust evaluation of a model (safety, bias, accuracy, β¦); returns an id to poll. |
trustmodel_score | Eval | Fetch status/scores for an evaluation created with trustmodel_evaluate. |
trustmodel_credits | Eval | Check remaining API credit balance. |
trustmodel_trace_start | Agentic Trace | Open a streaming trace session before an agent starts working. |
trustmodel_trace_step | Agentic Trace | Record one reasoning step, tool call, tool result, or response as the agent runs. |
trustmodel_trace_finalize | Agentic Trace | Close the session, upload the trace, and auto-create the agent evaluation run. |
trustmodel_upload_trace | Agentic Trace | One-shot: PUT a pre-assembled trace JSON when you didn't stream it. |
trustmodel_evaluate_agent | Agentic Trace | Create an agentic evaluation run against an already-uploaded trace file_path. |
trustmodel_score_agent | Agentic Trace | Fetch scores/grade for an agentic evaluation run. |
trustmodel_mcp_scan_server | Security | Security-scan a third-party MCP server's tool list for risky/abusable tools. |
trustmodel_shadow_discovery_scan_paths | Shadow Discovery | Scan local filesystem paths for unregistered/shadow AI usage. |
trustmodel_shadow_discovery_fingerprint_keys | Shadow Discovery | Detect & fingerprint OpenAI/Anthropic API keys found on disk. |
trustmodel_redteam_evaluate | Red Team | Launch an adversarial red-team evaluation against a model/endpoint. |
trustmodel_redteam_results | Red Team | Fetch results for a red-team evaluation. |
trustmodel_redteam_list_probes | Red Team | List available red-team probes/attack categories. |
trustmodel_shadowai_scan | Shadow AI | Start a Shadow AI scan to find unregistered AI use across an environment. |
trustmodel_shadowai_results | Shadow AI | Fetch results for a Shadow AI scan. |
trustmodel_shadowai_events | Shadow AI | Stream the detection events for a Shadow AI scan. |
Shadow Discovery tools (
trustmodel_shadow_discovery_*) touch the local filesystem. They are always listed, but return a skip report unlessTRUSTMODEL_AGT_DISCOVERY_ENABLED=trueis set on the server.
trustmodel_evaluateCreate a batch evaluation run against a specified AI model. The backend runs a comprehensive suite (safety, bias, accuracy, hallucination, reasoning, etc.) and returns an id you can poll with trustmodel_score.
Inputs:
model_identifier (string, required) β e.g. "gpt-4o", "claude-sonnet-4-5". Discover via GET /sdk/v1/models/.vendor_identifier (string, required) β e.g. "openai", "anthropic", "google".api_key (string, optional) β Vendor API key for BYOK. Omit to use TrustModel's platform key. Do not pass a TrustModel API key here β that goes in the TRUSTMODEL_API_KEY env var.categories (string[], optional) β Category names to evaluate. Only honored when evaluation_type is "Custom" or "Score Only".evaluation_type (string, optional, default "Custom") β One of "Custom", "Score Only", "Comprehensive", "Limited", "Quick Scan".application_type (string, optional, default "generic") β chatbot, knowledge-agent, creation-tool, document-repository, analysis-tool, automation-agent, generic.user_personas (string[], optional, default ["external-customer"]) β Any of external-customer, internal-employee, technical-user, domain-expert, vulnerable-groups, generic.application_description (string, optional).domain_expert_description (string, optional) β When user_personas includes "domain-expert". One of "cross-domain" (default), "medical", "commercial_banking".model_config_name (string, optional) β Display name for this run.template_id (UUID, optional), template_name (string, optional) β Reuse or rename an existing evaluation template.trustmodel_scoreFetch the detail (status, completion %, scores) for an evaluation created via trustmodel_evaluate.
Inputs:
evaluation_id (integer or numeric string, required) β The id returned by trustmodel_evaluate.trustmodel_creditsCheck remaining API credit balance. No inputs.
TrustModel evaluates AI agents by consuming their execution trace (thoughts, tool calls, tool results, responses) and scoring them across 4 categories: tool_use_accuracy, reasoning_quality, goal_completion, safety_compliance.
There are two ways to submit a trace β streaming (preferred for live agents) and one-shot (when you have a pre-assembled trace).
Open a session, record steps as the agent works, finalize at the end. Finalize uploads to cloud storage and auto-creates the evaluation run.
trustmodel_trace_startOpen a new trace session.
Inputs:
goal (string, required) β What the agent is trying to achieve.name (string, required) β Display name for the evaluation run.agent_framework (string, required) β e.g. "langchain", "crewai", "claude-code", "custom".agent_model (string, optional) β e.g. "gpt-4o", "claude-sonnet-4-5".user_query (string, optional) β Original user prompt, if different from goal.expected_outcome (string, optional).metadata (object, optional) β Free-form passthrough metadata.Returns: { trace_id, started_at }.
trustmodel_trace_stepAppend a single step to the active session. Call once per reasoning step, tool call, tool result, or user-facing response.
Inputs:
trace_id (string, required) β From trustmodel_trace_start.step_type (enum, required) β One of thought, think, tool_call, tool_result, observation, decision, error, human_input, response, final_answer.content (string, required) β Human-readable text for the step. Empty string allowed.tool_name (string, optional), tool_args (object, optional) β Use with tool_call.tool_result (string or object, optional), tool_call_success (boolean, optional) β Use with tool_result.model_used (string, optional), input_tokens / output_tokens (int, optional), duration_ms (int, optional), timestamp (ISO 8601, optional).Returns: { trace_id, step_number, steps_recorded }. step_number is auto-assigned.
trustmodel_trace_finalizeNo reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/trustmodel-mcp)<a href="https://allmcps.com/mcp/trustmodel-mcp"><img src="https://allmcps.com/api/badge/trustmodel-mcp?style=directory" alt="Trustmodel MCP on AllMCPs" /></a>