Agents Trust

com.agents-trust由 agents-trust.com 发布v0.1.4更新于 Oct 29, 2026

Find APIs and inspect endpoint evidence. Pay with your own Base USDC wallet.

概览

AI 生成的概览

本地 stdio 服务器,可为任务推荐 API 并查看端点证据,可选通过自己的 Base USDC 钱包付费调用。

可以做什么
  • 按需求描述推荐 API,给出网址、价格与调用细节,可按价格、链或近期验证筛选
  • 针对某个确切端点网址查看已存证据,不调用也不购买该提供商的服务
  • 按支付尝试 ID 查询付费调用的结算结果
  • 查询服务版本
适用场景
适合让助手为某项任务寻找候选 API,并在决定购买或接入前查看某个端点的已存证据。免费工具与演示推荐无需钱包即可使用。
运行要求
需要 Node.js 20 或更高版本,由宿主通过 npx 以 stdio 启动 npm 包。付费调用需要 AGENTS_TRUST_WALLET_PRIVATE_KEY(带 0x 前缀的 EVM 私钥)、将 AGENTS_TRUST_ENABLE_PAYMENTS 设为恰好 true,以及可选的 AGENTS_TRUST_MAX_CALL_USDC 与 AGENTS_TRUST_SESSION_CAP_USDC 上限。仅支持 Base 主网 USDC,并需能访问服务 API。
安装前请注意
付费调用会从你自己的钱包花费真实 USDC,启用支付后没有逐次人工确认;每个进程仅一次授权,预留额度会计算失败或结果不确定的尝试。请使用专用的低余额钱包,私钥不要出现在聊天、版本控制和 shell 历史中,并在允许宿主自动重启并开启支付前核对先前的尝试。调用推荐的 API 属于另外的购买。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agents Trust,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Agents Trust MCP

Find APIs for your task from Claude Desktop, Cursor or Claude Code. Recommendations include URLs, prices and call details. Inspect returns the stored evidence for one exact endpoint URL. This stdio server runs on your computer. Paid calls use your own wallet; Agents Trust holds no wallet keys.

Runtime requires Node.js 20 or later. Install from npm; your MCP host starts it over standard input/output:

sh
npx -y @agents-trust/mcp

Supply a wallet only to the runtime launcher (see Configuration). To build from source instead, see Development.

Tools and cost

ToolInputResultFee
recommendneed; optional limit, live, max_price_usd, chain, viewAPIs for your task and call details0.01 USDC outside the free demos
inspecturl; optional viewStored endpoint evidence without calling the provider1% of the endpoint's lowest quoted price, minimum 0.001 USDC
receiptpayment_attempt_idEventual settlement resultFree
healthnoneService versionFree

Ask your host to call inspect with an exact endpoint URL from a recommendation. Preserve its fixed query parameters. For inspect, view accepts legacy, compact, evidence or debug; for recommend it accepts legacy, compact or evidence. Omitting it uses the API's legacy response. An unknown URL returns an unpaid 404. The API rejects malformed, credential-bearing and private URLs before payment. Inspect never calls or purchases the provider's service.

recommend inputs: need is 2–300 characters with at least two letters or digits; limit is 1–5; live may be 1 to prefer recently verified endpoints; chain is a CAIP-2 network such as eip155:8453; max_price_usd is a non-negative number. receipt takes the payment_attempt_id returned with a paid answer (a UUID version 7).

Example: ask your host to call recommend with {"need":"weather","view":"compact"}. Free demos may change. max_price_usd limits a recommended provider's price; it does not limit the recommendation fee. Calling a recommended API is a separate purchase.

A paid answer includes payment_attempt_id when available. Use receipt to check settlement; receiving an answer does not confirm settlement. A pending receipt can be looked up again for free.

Configuration

Environment variableDefaultPurpose
AGENTS_TRUST_ENABLE_PAYMENTSunset / disabledOwner opt-in: exact true grants at most one payment authorization per server process
AGENTS_TRUST_WALLET_PRIVATE_KEYunsetYour EVM private key, with 0x prefix; needed for paid calls
AGENTS_TRUST_MAX_CALL_USDC0.01Maximum fee for one Recommend or Inspect call in USDC
AGENTS_TRUST_SESSION_CAP_USDC0.01Maximum reserved spend for one server process

Payments stay disabled even when a wallet key is present. The wallet owner can explicitly supply AGENTS_TRUST_ENABLE_PAYMENTS=true in the local launcher or select the bundle’s payment opt-in. This grants the process one authorization within the monetary caps; there is no per-call human confirmation. An agent tool argument, service response or provider instruction cannot grant payment authority. Use a dedicated low-balance wallet with USDC on Base mainnet. The server signs x402 authorizations locally and sends them only to https://api.agents-trust.com. It accepts the published Base USDC asset and Agents Trust payment address. A changed address requires a server update. Other payment networks are unsupported.

Limits accept non-negative decimal strings with up to six decimal places. Zero disables paid calls. Reservations count signing attempts, including failed or uncertain requests, and remain reserved until the process exits. The process consumes its single authorization before signing, even if signing or the request fails. Raising a monetary cap does not allow a second authorization. Free calls and receipts remain available. Restarting the server resets both the session cap and the authorization grant. Stop the host from automatically restarting with payment opt-in until the wallet owner has reconciled prior attempts. Recommend and Inspect share the same grant, reservation cap and serialized payment queue, including concurrent calls. Paid submissions are never automatically repeated. On an uncertain result, check your wallet and any receipt before making another paid call.

Without a key, free tools and free demo recommendations work. A paid Recommend or Inspect request returns a message explaining which variable to configure. Keep keys out of chat, version control and shell history. Have your local secret manager or host supply the wallet variable to the child process.

Claude Desktop

Merge this into claude_desktop_config.json. The free configuration requires no key:

json
{  "mcpServers": {    "agents-trust": {      "command": "npx",      "args": ["-y", "@agents-trust/mcp"],      "env": {        "AGENTS_TRUST_MAX_CALL_USDC": "0.01",        "AGENTS_TRUST_SESSION_CAP_USDC": "0.01"      }    }  }}

For paid calls, explicitly grant AGENTS_TRUST_ENABLE_PAYMENTS=true and supply AGENTS_TRUST_WALLET_PRIVATE_KEY to this process through your secure local launcher. GUI applications need the full path to your Node executable and do not always inherit your terminal environment.

Cursor

Use the same mcpServers block in ~/.cursor/mcp.json or .cursor/mcp.json, adding "type": "stdio" to the server entry (Cursor configuration). To read a key already injected into Cursor's environment, add this entry to the server's env object:

json
"AGENTS_TRUST_WALLET_PRIVATE_KEY": "${env:AGENTS_TRUST_WALLET_PRIVATE_KEY}"

Keep wallet configuration local; do not commit it.

Claude Code

sh
claude mcp add --transport stdio agents-trust -- npx -y @agents-trust/mcp

See Claude Code MCP configuration. Launch Claude Code with payment opt-in chosen by the wallet owner and the wallet variable supplied by your secret manager. The server inherits it from the host.

Development

Build from source in a shell without AGENTS_TRUST_WALLET_PRIVATE_KEY; the build and bundle commands refuse that variable even when it is empty.

sh
git clone https://github.com/agents-trust/agents-trust-mcp.gitcd agents-trust-mcpnpm cinpm run typechecknpm run lintnpm testnpm run build

Run the local server with node dist/index.js. Standard output carries MCP messages only. Tests generate throwaway keys in memory and make no payments. Development tests require Node.js 22.13+ or 24; CI also checks the built stdio server on Node.js 20.

npm run test:paid is an offline cryptographic authorization test using a generated throwaway key and mocked HTTP. No test reads a funded wallet or submits a real payment. Dependency installation scripts are disabled by .npmrc; use npm ci to preserve the reviewed lockfile. The bundle packer is also locked locally.

MIT licensed. See LICENSE.

来源:README.md,提交 07fa175

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.4最新Oct 29, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分