Sentinel Payment Boundary Tools

io.github.TerminallyLazy由 GitHub 账号 TerminallyLazy 发布v0.4.1更新于 Oct 24, 2026

Read-only payment-boundary preflights plus an unsubmitted public quote-request draft tool.

概览

AI 生成的概览

本地只读 MCP 服务器,用于预检公开的支付边界文档与 x402 支付要求,并生成未提交的报价请求草稿。

可以做什么
对一到两份内联的公开 JSON、Markdown 或文本文档执行固定确定性检查,覆盖请求与支付权限、钱包托管、过期、重放和元数据完整性,返回 clear、ambiguous 或 missing 结果及受限证据标记和修正建议。按固定的严格配置对单个已解码的 x402 v2 PaymentRequired 对象执行九项检查。根据一到两个公开 HTTPS 文档网址和可选请求信息,生成完整但未提交的公开 GitHub issue 草稿。读取并校验实时服务目录与报价请求契约资源。
适用场景
适合在采取行动前让助手核查支付相关元数据或 x402 支付要求,或整理一份评审请求草稿,且不涉及钱包、网络提交或付款。
运行要求
以本地 stdio 进程运行,需用 Node.js 从已校验的代码检出或已发布的 MCPB 包启动。无需环境变量、API 密钥、凭据或钱包访问。资源读取仅访问两个硬编码的规范 HTTPS 网址;预检只处理内联内容。
安装前请注意
结果不构成认证,也不验证实现行为、链是否存在、代币行为、签名、结算或收据。草稿工具不提交任何内容,也不产生服务权益;可选的 49 美元评审为先报价模式,使用免费工具不产生付款义务。该包为 UNLICENSED,依赖某版本前应核对发布校验和与注册表记录。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Sentinel Payment Boundary Tools

Read-only stdio MCP server with two deterministic free preflights for public payment metadata, one local public quote-request draft preparer, and Sentinel Recovery's public service catalog and quote-request contract.

Source version 0.4.1 hardens public quote-draft URL validation and the service catalog guard while retaining prepare_agent_payment_boundary_quote_request and the pinned x402 v2 exact-EVM EIP-3009 safety profile. Checksummed versioned MCPB artifacts are published on the GitHub Releases page. It is not published to npm. The official MCP Registry name is io.github.TerminallyLazy/sentinel-recovery-services; verify the current mcp/server.json, release checksum, and Registry record before relying on a published version. The GitHub Pages site is static and is not a remote MCP endpoint.

Tools

  • preflight_agent_payment_boundary analyzes one or two inline public JSON, Markdown, or text documents, with a 100 KiB combined limit.
  • It performs 11 fixed checks covering request-versus-payment authority, payer policy, inbound versus outbound wallet authority, custody/signing/spending, the canonical payment tuple, quote expiry, replay handling, receipt states, sensitive wallet inputs, donation separation, and metadata integrity.
  • Findings are deterministic clear, ambiguous, or missing results with a bounded locator, normalized evidence marker, risk, and correction. Supplied prose is never copied into model-visible output.
  • It does not fetch requester-controlled URLs, execute document content, submit a request, connect a wallet, or move funds.
  • clear means the required recognized structured declarations are present and no unmodeled supplied content was observed; it is not a certification and does not verify implementation behavior. For every check that can clear, an unknown field or non-allowlisted free-form value conservatively downgrades the declaration to ambiguous instead of guessing whether it is safe. External digest URLs remain ambiguous because the offline preflight does not fetch or trust them; the full review can verify supplied integrity evidence separately.
  • preflight_x402_v2_payment_required analyzes exactly one decoded inline JSON x402 v2 PaymentRequired object using nine fixed checks. It accepts only the pinned closed-world Sentinel profile: exact, canonical eip155:<chain-id>, EIP-3009 transfer metadata, 1–64 unique complete alternatives, positive uint256 atomic amounts, and a 1–86,400 second timeout.
  • The x402 profile is intentionally stricter than core x402. A structurally clear result does not prove that a chain exists, a token behaves as claimed, an EIP-712 domain is correct, a recipient controls an address, payer policy authorizes a payment, a signature is valid, settlement occurred, or a receipt exists. Permit2, ERC-7710, nonempty extensions, and other unmodeled content are reported as unsupported or ambiguous, not silently accepted.
  • prepare_agent_payment_boundary_quote_request accepts one or two unique public HTTPS document URLs without credentials, query strings, fragments, or non-public hosts, plus optional public request details, and prepares a complete, unsubmitted public GitHub issue draft for the fixed-scope Agent Payment Boundary Review.
  • The preparer formats the request locally. It does not fetch or verify supplied URLs, make a network request, use a credential, submit the issue, authorize payment, include payment instructions, or create service entitlement.

Resources

  • sentinel://services/catalog reads and validates the live services.json.
  • sentinel://services/quote-request-contract reads and validates the live service-request.json.

A resource read, preflight, or request-draft preparation moves no funds. The draft preparer returns a complete public GitHub request packet but submits nothing, authorizes no payment, and creates no service entitlement. The requester remains in control of whether to submit it within its own delegated communication policy. A Sentinel human remains in control of issuing a complete written quote, and any later payment remains controlled by the payer's own policy. The server never requests credentials, keys, signatures, wallet connections, custody, or wallet control. An optional $49 review is quote-first; using a free tool does not create a payment obligation.

Install and verify

From the repository root:

bash
npm ci --prefix mcp --ignore-scriptsnpm test --prefix mcpnpm audit --prefix mcp --audit-level=highnpm run pack:check --prefix mcp

Client configuration

Replace the example path with the absolute path to the verified checkout:

json
{  "mcpServers": {    "sentinel-recovery-services": {      "command": "node",      "args": ["/absolute/path/to/sentinel-recovery-support/mcp/server.mjs"]    }  }}

The client launches node mcp/server.mjs over stdio. The server writes only MCP protocol messages to stdout; startup failures go to stderr.

Network and validation boundaries

  • Only the two hard-coded canonical HTTPS URLs are fetched.
  • Both preflight tools accept inline content only and make no network requests.
  • The request-draft preparer accepts caller-supplied public HTTPS URLs but does not accept query strings, fragments, credential-bearing URLs, or non-public hosts and does not fetch them, verify their availability, use credentials, make a network request, or submit the resulting public GitHub issue draft.
  • JSON with duplicate object keys is rejected before evaluation; recognized fields and containers must match their bounded types and value domains.
  • Requests use GET, a ten-second timeout, and a 256 KiB response cap.
  • Responses must be JSON objects matching the expected minimal contract shape.
  • An upstream failure returns an actionable MCP error with the canonical URL.
  • No environment variables, API keys, install scripts, or wallet access are required.

The package is UNLICENSED because this repository does not currently publish a general code license. Installing or running the source does not grant any financial authority.

来源:mcp/README.md,提交 41de6d4

工具

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

版本历史

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

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

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