
Agentpay Sentinel Mcp
io.github.Rumblingb由 GitHub 账号 Rumblingb 发布v1.0.0更新于 Oct 24, 2026
Security guardrails for AI agent payments
概览
一个本地看门狗 MCP,对 AI 代理的支付请求执行预检安全检查,返回 PASS 或 BLOCKED 结论。
- 可以做什么
- 对支付交易执行九项检查(令牌哈希、预算上限、商户白名单、受限类别、过期、速率限制、金额不符、重放、吊销),返回 PASS/BLOCKED 结论与审计哈希
- 吊销令牌,使后续审计一律拦截;为合法重试从重放存储中清除 nonce
- 校验一串审计哈希是否构成完整链条
- 模拟令牌伪造、预算溢出、重放、商户冒充等攻击向量,返回严重程度、防御与检测方式
- 适用场景
- 当代理被允许发起支付,且你希望在每次付款前用本地建议性关卡检查策略、预算与令牌完整性时适用。也适合用来了解常见支付攻击向量会如何被检测。
- 运行要求
- 以本地 Python 进程运行:需要 Python 3.10+ 与 mcp 包,并在客户端配置(Claude Desktop 或 Cursor)中以命令加脚本路径启动。未声明任何 API 密钥或环境变量。状态保存在用户主目录下。
安装
在 SourceWeft 中
- 打开 控制台中的 Agentpay Sentinel Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
AgentPay Sentinel MCP
A watchdog MCP that validates every agent payment request against all 9 security checks before it executes — catching policy violations, replay attacks, amount tampering, revoked tokens, and budget overruns at call time.
What your agent can do
- Run a pre-flight audit on any payment transaction before executing it — get PASS or BLOCKED with the specific check that failed
- Validate token integrity: confirms the SHA-256 hash matches the expected
merchant_id:amountbinding, catching forged or tampered tokens - Enforce budget caps: rejects transactions where
current_spend + amount > budget_capand returns exact remaining budget - Check merchant allowlist membership and block purchases in restricted categories
- Verify token expiry and rate limits before the payment fires
- Simulate known attack vectors (token forgery, budget overflow, replay, merchant spoof, expiry bypass) and get the specific defense mechanism and detection method for each
Installation
Requires: Python 3.10+, mcp package.
Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Cursor — add to .cursor/mcp.json in your project root:
Tool Reference
All 9 checks run by sentinel_audit_transaction
Checks 7–9 activate when the corresponding param is passed. State persists to ~/.sentinel/.
Attack vectors in sentinel_threat_model
token_forgery · budget_overflow · replay_attack · amount_mismatch · revocation_evasion · merchant_spoof · expiry_bypass
Security
sentinel_audit_transaction returns an advisory verdict — it does not intercept network traffic. Your agent is responsible for calling it before executing a payment and halting on BLOCKED. The audit hash returned is a SHA-256 digest of all check results, giving you a tamper-evident record of each pre-flight decision.
Pricing
License
MIT — AgentPay Labs. Source: github.com/Rumblingb/agentpay-sentinel-mcp
来源:README.md,提交 eb6284f
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Agentpay 集成
AgentPay — Pay-per-call AI Microservices
help.agentpay官方发布者
AgentPay 通过 x402 提供 34 个按次付费的 AI 与数据微服务,以 Base 上的 USDC 结算,无需 API 密钥。

AgentPay Doc Tools
由 GitHub 账号 noah-silver 发布
远程 MCP 服务器,按次付费提供文档与网页小工具:PDF 转文本、RSS/Atom/JSON 订阅解析、站点地图 URL 列举。

AgentPay Domain & Network Lookup
由 GitHub 账号 noah-silver 发布
远程 MCP 服务器,按次付费提供 DNS、WHOIS/RDAP、IP 归属与综合域名报告查询。

AgentPay Web Extract
由 GitHub 账号 noah-silver 发布
远程按次付费的 MCP 服务器,抓取网页并返回干净的 Markdown、元数据和链接供助手使用。

AgentPay (all tools)
由 GitHub 账号 noah-silver 发布
远程按次付费的 MCP 服务器,提供网页抓取、DNS/WHOIS/IP 查询以及 PDF、订阅源和站点地图工具,以 USDC 或预付额度计费。