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 集成