SafeRoute

io.github.crystalsignal由 GitHub 账号 crystalsignal 发布v0.18.1更新于 Oct 25, 2026

Noncustodial Base x402 payment control and seller settlement recovery

已验证Streamable HTTP可网页运行金融安全与监控

概览

AI 生成的概览

SafeRoute 是一个远程 MCP 服务器,用于非托管的 Base 支付安全:付款前检查、兑换与交易预检,以及签名收据。

可以做什么
通过 protect_payment 执行付款前 ALLOW/BLOCK 检查,支持防重复的 ID 绑定和可选的结算验证;该工具免费且限流,由买方签名并付款。无需钱包即可检查 Base 兑换安全性,并获取经过安全检查的非托管兑换报价。评估钱包风险以及已批准代币的风险和流动性。解码并模拟已批准的 ERC-20 calldata 或官方 ERC-8004 注册,并准备有上限的模拟未签名代币转账。签名前守护交易,将已上链交易与买方意图比对,并依据签名收据验证兑换执行。为 x402 付款准备通往付款方自有 USDC 目标的有上限路由,并列出七个已批准的 Base 资产。
适用场景
当 AI 代理即将在 Base 上发起或签署付款、兑换时,用于获取签名前安全检查、风险判定或签名收据。也适合事后核对已上链交易是否符合预期操作。
运行要求
远程 streamable HTTP 端点;未声明本地软件包、环境变量或请求头。多数工具按次以 Base 上的 USDC 收费(0.001 至 0.12 USDC),且由买方签名并广播交易。
安装前请注意
多个工具每次调用都收取 USDC,代理可能因此花钱。服务器为非托管模式,由买方签名并付款,但它会处理付款和交易数据,请留意发送的内容。protect_payment 免费且限流;推荐返佣已停用。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.crystalsignal%2Fsaferoute/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "saferoute": {
      "type": "http",
      "url": "https://api.usesaferoute.com/mcp"
    }
  }
}

README

该仓库没有 README。

工具

13

protect_payment

One automatic x402 payment-safety front door: pre-payment ALLOW/BLOCK, duplicate-safe ID binding, policy risk reasons, and optional mined-settlement verification. Free and rate-limited; the buyer signs and pays.

输入参数payment必填settlementidempotencyKey必填

check_base_swap

Wallet-free approved-token Base swap safety preflight. Costs $0.001 USDC.

输入参数to必填from必填amount必填intentIdreferralCodesourceAgentId

get_safe_swap_quote

Safety-checked noncustodial Base swap quote. Costs $0.01 USDC; the buyer signs and broadcasts.

输入参数to必填from必填amount必填wallet必填intentIdreferralCodeexecutionModesourceAgentId

prove_safe_action

Create a signed pre-sign ALLOW, BLOCK, or REVIEW receipt. Costs $0.05 USDC.

输入参数tofromtokenaction必填amountwalletintentIdtransactionreferralCodeexecutionModesourceAgentId

check_wallet_risk

Read-only Base wallet account-posture check. Costs $0.01 USDC.

输入参数wallet必填intentIdreferralCodesourceAgentId

check_token_risk

Approved Base token risk and liquidity check. Costs $0.03 USDC.

输入参数token必填intentIdreferralCodesourceAgentId

preflight_transaction

Decode and simulate approved Base ERC-20 calldata or SafeRoute's exact official ERC-8004 registration. Costs $0.05 USDC.

输入参数intentIdtransaction必填referralCodesourceAgentId

prepare_token_transfer

Prepare a bounded, simulated unsigned Base token transfer. Costs $0.10 USDC.

输入参数token必填amount必填sender必填intentIdrecipient必填referralCodesourceAgentId

guard_base_trade

Complete pre-sign trade guard with route and simulation evidence. Costs $0.12 USDC.

输入参数to必填from必填amount必填wallet必填intentIdreferralCodeexecutionModesourceAgentId

verify_transaction_intent

Compare a mined Base transaction with buyer intent. Costs $0.05 USDC.

输入参数intent必填intentIdreferralCodesourceAgentIdtransactionHash必填

verify_swap_execution

Verify a standard-mode SafeRoute Base execution against its signed receipt. Free; referral payouts remain disabled.

输入参数receipt必填transactionHash必填receiptSignature必填

route_agent_payment

Prepare a bounded, simulated exact-buy route to a payer-owned Base USDC target covering the x402 payment and optional buffer. Costs $0.05 USDC; buyer confirms funding, then retries standard x402 once.

输入参数request必填

list_supported_assets

List SafeRoute's seven approved Base assets, limits, fees, and execution modes. Free.

无需输入参数。

版本历史

1
  1. v0.18.1最新Sep 16, 2026

评分

已满足适用检查项的 75%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。