Agent Trust Mcp

io.github.Nikoble1926由 GitHub 帳號 Nikoble1926 發布v1.0.0更新於 Nov 10, 2026

ERC-8004 agent trust scores via x402: free preview + paid USDC-on-Base signed scores (5 chains)

發布方自己的服務:Nsgoods Workbench Mcp

概覽

AI 產生的概覽

提供 ERC-8004 智慧代理信任評分(0–100):免費預覽工具,以及可選的付費簽章評分,透過 x402 以 Base 上的 USDC 付款。

可以做什麼
  • 取得免費的 ERC-8004 信任評分範例與各分項明細,不需錢包金鑰
  • 依代理編號查詢 base、bsc、ethereum、mantle 或 polygon 上的簽章信任評分,每次呼叫支付少量 USDC
  • 評分來自鏈上 ERC-8004 Identity 與 Reputation 登錄表,回應附帶 signed_by 與 signature 可供驗證
適用情境
適合在讓助理與某個 ERC-8004 智慧代理互動前查詢或核對其信譽,且願意為簽章版本支付小額加密貨幣費用時使用。
執行需求
透過 npx(Node.js)在 Claude Desktop、Cursor 等桌面 MCP 用戶端中以 stdio 方式在本機執行。需要能連線信任 API(預設 RESOURCE_SERVER_URL 覆寫)。付費工具另需 EVM_PRIVATE_KEY,即持有少量 USDC 的 Base 熱錢包私鑰;免費預覽不需該金鑰。服務端不需要帳號或 API 金鑰。
安裝前請注意
付費工具需要在 EVM_PRIVATE_KEY 中提供錢包私鑰;README 稱其僅保存在本機、不會傳送給 API,但私鑰一旦外洩錢包資金即暴露,應使用僅存少量 USDC 的專用一次性熱錢包,切勿使用主錢包。每次付費呼叫都會花費 USDC,README 建議限制單次與單一工作階段的支出。評分僅供學習參考,不構成財務建議。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agent Trust Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Agent Trust Oracle MCP

Wire the Agent Trust Oracle into Claude Desktop, Cursor, or any MCP client as tools. Ask your agent for an ERC-8004 trust score and it calls the tool; for the paid tool the bridge pays USDC on Base automatically via x402 and returns the signed result.

The get_trust_preview tool is free and needs no wallet key. The paid tool costs a few cents per call and activates only when you set a Base wallet key.

Quick start (no clone, no build)

Add this to your client config and you're done — npx fetches and runs it:

Claude Desktop — Settings → Developer → Edit Config:

json
{  "mcpServers": {    "agent-trust": {      "command": "npx",      "args": ["-y", "@nikosble1926/agent-trust-mcp"]    }  }}

That gives you the free preview out of the box. To enable the paid tool, add a low-balance Base wallet key:

json
{  "mcpServers": {    "agent-trust": {      "command": "npx",      "args": ["-y", "@nikosble1926/agent-trust-mcp"],      "env": {        "EVM_PRIVATE_KEY": "0x<your-low-balance-base-wallet-private-key>"      }    }  }}

Cursor — Settings → MCP → Add new server, same command/args/env.

Restart the client, then ask: "Get an agent trust preview" (free) or "Get the trust score for agent 6976 on ethereum" (paid).

Tools

ToolCostDescription
get_trust_previewfreeExample ERC-8004 agent trust score (0–100) with component breakdown, no wallet key required
get_agent_trust$0.005 USDCSigned ERC-8004 trust score (0–100) + component breakdown (client breadth, recency, value, volume) for one agent. Params: agent (uint256 id, e.g. 6976), chain (base/bsc/ethereum/mantle/polygon, default ethereum)

Paid mode (optional)

The paid tool needs an EVM_PRIVATE_KEY: a Base wallet private key for a low-balance, dedicated hot wallet holding a little USDC — never your main wallet. Payments are gasless for the payer (the facilitator covers gas), so you mainly need a small USDC balance. Without the key, the paid tool returns a clear "set EVM_PRIVATE_KEY" message and the free preview keeps working.

RESOURCE_SERVER_URL is optional and defaults to https://trust.nsgoods.org.

Run from source (dev)

bash
cd mcpnpm installnpm run buildnode dist/server.js   # or: npm run dev

Security

  • The EVM_PRIVATE_KEY is yours (the buyer's) and stays local in your client config — it is never sent to the API. Use a throwaway hot wallet with only a small USDC balance.
  • For spend control, see the policy-check hooks in the official x402 MCP guide and cap per-call / per-session amounts.

Notes

Mirrors the official x402 MCP client pattern: https://docs.x402.org/guides/mcp-server-with-x402 . The x402 v2 TypeScript packages (@x402/axios, @x402/evm) evolve quickly — if npm install or the build fails, check that guide for current package names/versions.

Trust scores read on-chain ERC-8004 Identity + Reputation registries; every paid /agent-trust and free /agent-trust/preview response carries signed_by + signature for verification. No accounts, no API keys on the service side. Educational — not financial advice. MIT licensed.

來源:mcp/README.md,提交 53dfbb3

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Nsgoods 整合