MCP.so
ログイン
T

Trustbench MCP Server

@lithvall

基本情報

カテゴリ

その他

トランスポート

stdio

作者

lithvall

投稿者

Johan Lithvall

Trustbench MCP Server について

x402 provider rankings + Ed25519-signed payment receipts + signature verification (3 tools).

Trustbench MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "trustbench": {
      "command": "npx",
      "args": [
        "-y",
        "@trustbench/mcp"
      ]
    }
  }
}

Trustbench MCP Server のツール

3

Get TrustBench liveness rankings for x402 providers by capability. Returns a scored list of providers with latency and success-rate telemetry. Methodology note: scores are derived from HEAD-probe liveness checks (3 samples from one host), not a rigorous benchmark. See trustbench.io/methodology. Output: returns a JSON array. Each object has name (string, provider name), score (number 0-100, composite liveness score), latency_p50 (number, ms), success_rate (number 0.0-1.0, last 7 days), endpoint (string, URL), capabilities (array of strings).

Fetch a TrustBench routing receipt by ID. Receipts are immutable, Ed25519-signed records of a routing or payment event. Use to verify what was paid, to whom, for what capability, and what the on-chain settlement reference is. IDs start with rcpt_ (Phase 3) or rrcpt_ (Phase 4). Output: returns the signed receipt envelope as JSON. Phase 3 (rcpt_) returns a SignedReceipt with receipt (call metadata + settlement ref) and signature (Ed25519 over JCS-canonicalized receipt body). Phase 4 (rrcpt_) returns {receipt, signature} where receipt.paid contains routing details and signature covers the canonical envelope. To verify an envelope offline use the verify_receipt tool with the returned JSON, or @trustbench/verify-receipt npm.

Verify the Ed25519 signature on a TrustBench receipt. Two modes: (1) Lookup mode — pass receipt_id and the server fetches the receipt from trustbench.io and re-runs verification (handy when you only have an ID). (2) Offline mode — pass receipt_json (the full {receipt, signature} envelope an agent received from a third party) and the server verifies the Ed25519 signature against the published public key at trustbench.io/.well-known/trustbench-pubkey without trusting the database. Exactly one of receipt_id or receipt_json must be provided. Output: returns JSON with receipt_id, signature_valid (boolean), on_chain_verified (boolean, where present), signature_alg ("ed25519"), verify_url, pubkey_url. For non-server-mediated verification with no network round-trip, use the @trustbench/verify-receipt npm package.

概要

What is Trustbench?

TrustBench is the public registry, routing layer, and signed-receipt audit trail for x402 agent payments. It provides three read-only MCP tools—get_rankings, get_receipt, and verify_receipt—to query provider rankings, fetch routing receipts, and verify Ed25519 signatures. It is designed for developers building agent-to-agent payment workflows.

How to use Trustbench?

Install via npx -y @trustbench/mcp for stdio-based MCP hosts (Claude Desktop, Cursor, Cherry Studio, Kimi) or use the hosted Streamable HTTP endpoint at https://trustbench.io/mcp for browser-based MCP clients. No API key is required for any of the MCP tools.

Key features of Trustbench

  • Non-custodial — TrustBench never holds agent funds.
  • Three read-only tools: rankings, receipts, verification.
  • Ed25519 signature verification (lookup by ID or offline).
  • No API key required for MCP tools.
  • Supports both stdio and Streamable HTTP transports.

Use cases of Trustbench

  • Query live x402 provider rankings by capability (search, inference, data, media, infra).
  • Fetch a specific routing receipt by ID (rcpt_… or rrcpt_…).
  • Verify an Ed25519 signature on a receipt JSON envelope received from a third-party agent.

よくある質問

1

What are the runtime dependencies for Trustbench?

Trustbench requires Node.js (via npx) for stdio installations, or any HTTP client for the Streamable HTTP endpoint.

2

Does Trustbench require an API key?

No. All three MCP tools are available without any API key.

3

Where are TrustBench receipts and rankings stored?

Receipts and rankings are stored on the TrustBench public registry; the server queries this registry on behalf of the user.

4

What transports does the MCP server support?

It supports stdio (for desktop MCP hosts) and Streamable HTTP (for browser-based clients).

5

Does TrustBench handle agent funds?

No. It is non-custodial throughout and never holds agent funds.

コメント

「その他」の他のコンテンツ