Back to Browse

Trustscoreagent MCP Server

Developer ToolsModerate6.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Check the reputation of AI microservices and public APIs from an open trust registry.

About

Check the reputation of AI microservices and public APIs from an open trust registry.

Security Report

6.2
Moderate6.2Moderate Risk

This is a well-engineered MCP server with solid security practices. Input validation is thorough with precise error messages, authentication is properly handled via environment variables and persistent agent ID storage, and there are no dangerous patterns like command injection or credential exfiltration. The server's permissions (network_http, env_vars, file_read/write) are appropriate for its stated purpose of querying a reputation API and managing local agent identity. Minor code quality observations exist but do not materially affect security. Supply chain analysis found 2 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.

3 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

What You'll Need

Set these up before or after installing:

Base URL of the TrustScore registry. Defaults to the public production API; override only for a self-hosted or staging instance.Optional

Environment variable: TRUSTSCORE_API_URL

Optional stable agent DID used when submitting ratings. If omitted, a local anonymous DID is generated and persisted on first use.Optional

Environment variable: TRUSTSCORE_AGENT_DID

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-trustscoreagent-mcp-server": {
      "env": {
        "TRUSTSCORE_API_URL": "your-trustscore-api-url-here",
        "TRUSTSCORE_AGENT_DID": "your-trustscore-agent-did-here"
      },
      "args": [
        "-y",
        "@trustscoreagent/mcp-server"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

TrustScoreAgent

Free, open reputation registry for AI microservices. Agents check trust scores before calling any service.

Status: Phase 1 (early). The API, scoring (Beta + EigenTrust), receipt verification, Merkle audit trail and MCP server are implemented and tested — but the public dataset is still small, some services (*.example.com) are demo seed data, and parts of the design (on-chain anchoring, x402 payments, mandatory agent signatures) are Phase 2. We publish early and openly on purpose: the trust layer for the agentic economy should exist, be auditable, and be adoptable before it becomes critical. See the trust model in SECURITY.md.

What is this?

AI agents increasingly rely on paid microservices. TrustScoreAgent lets any agent:

  • Check the reputation of a service before calling it
  • Rate a service after calling it
  • Discover which services are reliable

No account needed. No API key. Identify services by URL, domain, or DID.

Quick start

# Check a service's trust score (any format works)
curl "https://api.trustscoreagent.com/v1/score?service=api.example.com"
curl "https://api.trustscoreagent.com/v1/score?service=https://api.example.com/v1/translate"

# Unknown services return a neutral score (0.5) — no errors
curl "https://api.trustscoreagent.com/v1/score?service=never-seen-before.com"

# Rate a service after calling it
curl -X POST "https://api.trustscoreagent.com/v1/rate" \
  -H "Content-Type: application/json" \
  -H "X-Agent-DID: my-agent.example.com" \
  -d '{
    "service": "api.example.com",
    "metrics": {
      "status_code": 200,
      "latency_ms": 143,
      "schema_valid": true
    }
  }'

# List top-rated services
curl "https://api.trustscoreagent.com/v1/services?sort_by=score&min_ratings=10"

Local development

# Start PostgreSQL and Redis
docker compose up -d

# Run the API
dotnet run --project src/TrustScore.Api

# Run tests
dotnet test

# Swagger UI
open http://localhost:5000/swagger

Architecture

  • C# / .NET 8 — ASP.NET Core Minimal API
  • PostgreSQL — Ratings and service scores
  • Redis — Score caching, rate limiting, nonce tracking
  • Beta Reputation System — Bayesian scoring (per-dimension: availability, latency, conformity)
  • EigenTrust — Anti-Sybil agent trust scoring
  • Merkle Tree — Cryptographic audit log with inclusion proofs
  • Ed25519 Receipt Verification — Cryptographic proof of service interaction
  • MCP Server — Integration with Claude, Cursor, and MCP-compatible agents

API Reference

Core (free, always)

EndpointDescription
GET /v1/score?service=Trust score for a service (0.5 neutral for unknown)
POST /v1/rateSubmit a rating after calling a service
GET /v1/servicesList rated services (pagination, sorting, filtering)
GET /v1/agent/trust?did=Check your agent's trust score
GET /v1/audit/rootLatest Merkle tree root
GET /v1/audit/proof/{id}Cryptographic inclusion proof for a rating

Premium (free for now, x402 micropayments later)

EndpointDescription
GET /v1/score/history?service=Daily aggregated score history
GET /v1/score/detailed?service=Latency percentiles, quality distribution
POST /v1/scores/bulkUp to 100 scores in one request

Service identification

All endpoints accept services in any format — they are normalized internally:

  • api.example.com (domain)
  • https://api.example.com/v1/translate (URL)
  • did:web:api.example.com (DID)

All three resolve to the same service.

MCP Server

TrustScoreAgent is available as an MCP server for Claude, Cursor, and other agents.

# Add to Claude Code
claude mcp add trustscoreagent -- npx -y @trustscoreagent/mcp-server

See docs/mcp.md for full setup instructions.

Framework integrations

Drop-in tools for agent frameworks (no account or API key needed):

  • LangChainfrom trustscoreagent_langchain import get_trustscoreagent_tools
  • CrewAIfrom trustscoreagent_crewai import get_trustscoreagent_tools

Each exposes trustscore_check_reputation, trustscore_submit_rating, and trustscore_list_services. See integrations/.

Documentation

Contributing

Contributions are welcome — see CONTRIBUTING.md and our Code of Conduct. To report a vulnerability, follow SECURITY.md.

Project status & trust model

TrustScoreAgent is Phase 1 (early). What that means in practice:

  • Baseline data is real and auditable. Initial scores come from a transparent operated probe (did:web:trustscoreagent.com:probe) that measures the availability, latency and conformity of a curated list of public, free APIs — real, Merkle-audited measurements, not fabricated numbers. Community and receipt-verified ratings accumulate on top. (The earlier fictitious *.example.com seeds have been removed.)
  • Single operator. Neutrality currently rests on open-source scoring code and a verifiable Merkle audit trail, not on decentralization. Federation is a later phase.
  • Agent identity is self-asserted. Sybil resistance in Phase 1 is rate limiting + hourly EigenTrust; verified service receipts are the trustworthy signal. Mandatory agent signatures and on-chain Merkle anchoring are Phase 2.

See SECURITY.md for the full trust model and how to report vulnerabilities.

License

Apache-2.0. See LICENSE.

Reviews

No reviews yet

Be the first to review this server!