MCP Hub
Back to servers

TrustMesh MCP Server

Provides AI agents with trust scoring and reputation management capabilities for secure interactions. Enables agents to check trust scores, rate interactions, and manage disputes before transacting with other agents.

glama
Updated
Apr 19, 2026

TrustMesh MCP Server

Trust scoring for AI agents via Model Context Protocol.

npm version

What is this?

An MCP server that gives AI agents (Claude, Cursor, Windsurf, etc.) the ability to check trust scores and rate interactions with other agents — before transacting.

Why?

When autonomous agents trade APIs, data, and services, they need to know: can I trust this counterparty? TrustMesh provides the reputation layer that's missing from the AI agent ecosystem.

Tools

ToolDescription
trustmesh_rateRate an interaction with another agent
trustmesh_scoreCheck trust score before transacting
trustmesh_batch_scoreBatch check multiple agents
trustmesh_disputeFile a dispute against a bad rating
trustmesh_resolve_disputeResolve a dispute
trustmesh_graphSee who trusts whom
trustmesh_peersList all known peers

Install

npm install -g trustmesh-mcp

Configure

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "trustmesh": {
      "command": "npx",
      "args": ["-y", "trustmesh-mcp"],
      "env": {
        "TRUSTMESH_NODE_ID": "my-agent-001",
        "TRUSTMESH_STORAGE": "sqlite",
        "TRUSTMESH_DB_PATH": "/path/to/trust.db"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "trustmesh": {
      "command": "npx",
      "args": ["-y", "trustmesh-mcp"]
    }
  }
}

Windsurf

Add to .windsurf/mcp.json:

{
  "mcpServers": {
    "trustmesh": {
      "command": "npx",
      "args": ["-y", "trustmesh-mcp"]
    }
  }
}

Environment Variables

VariableDefaultDescription
TRUSTMESH_NODE_IDRandomYour agent's identity
TRUSTMESH_STORAGEmemorymemory or sqlite
TRUSTMESH_DB_PATH./trustmesh.dbSQLite path (if using sqlite)

Usage Examples

Before transacting with an unknown agent:

> Check trust score for agent-paybot-42
→ Trust Score: 0.23 (🔴 LOW)
→ ⚠️ WARNING: This agent has very low trust. Proceed with extreme caution.

After a successful API call:

> Rate agent-weather-api 0.9 for delivered-api-data
→ Rating recorded. Trust graph updated.

Batch check counterparties:

> Check scores for [agent-a, agent-b, agent-c]
→ 🟢 agent-a: 0.85
→ 🟡 agent-b: 0.52
→ 🔴 agent-c: 0.18

License

MIT

Reviews

No reviews yet

Sign in to write a review