PayStage Auth Watch

xyz.paystage由 paystage.xyz 发布v0.1.0更新于 Oct 30, 2026

Read-only MCP tools to list and flag outstanding ERC-20, Permit2, and EIP-3009 auths

已验证STDIO仅桌面金融安全与监控

概览

AI 生成的概览

只读 MCP 服务器,用于列出钱包中未撤销的 ERC-20、Permit2 和 EIP-3009 代币授权,并按支出策略标记风险项。

可以做什么
  • 列出某个钱包未撤销的代币授权,涵盖 ERC-20 授权、Permit2 授权和 EIP-3009 nonce。
  • 按 Paystage 策略评估这些授权,并标出不符合规则的条目。
  • 可按网络、代币地址、spender 或指定的 EIP-3009 nonce 限定扫描范围。
  • 支持从文件路径加载策略或直接内联传入策略,并可覆盖 RPC 端点。
适用场景
适合让助手审计 Base 钱包的代币授权,查看哪些未撤销的授权或 nonce 超出了既定支出策略,且全程不签名、不发交易。
运行要求
以 Node.js 本地进程方式从 npm 包运行。需要访问 Base RPC 端点(默认 Base 主网或 Base Sepolia),可通过 PAYSTAGE_RPC_URL 覆盖。策略文件路径可通过 PAYSTAGE_POLICY_PATH 或每次调用传入。未声明需要账号或 API 密钥。
安装前请注意
服务器通过第三方 RPC 端点读取钱包授权数据,因此钱包地址以及查询的代币和 spender 地址会发送给该服务商。工具标称为只读,但评估结果取决于策略文件内容,使用前应确认该文件。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@paystage/auth-watch

Scan and evaluate outstanding token authorizations (ERC-20 allowances, Permit2 allowances, and EIP-3009 nonces) for a wallet against a Paystage policy.

Install

sh
pnpm add @paystage/auth-watch

Library usage

ts
import {  createRpcClient,  resolveRpcUrl,  listOutstandingAuths,  evaluateOutstandingAuths,} from "@paystage/auth-watch";import { loadPolicy } from "@paystage/policy";
const network = "eip155:8453";const rpc = createRpcClient(resolveRpcUrl(network));const policy = await loadPolicy("./paystage.policy.json");
const items = await listOutstandingAuths({  wallet: "0x...",  network,  tokens: ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],  spenders: policy.allowed_spenders ?? policy.allowed_pay_to,  rpc,});
const results = evaluateOutstandingAuths(items, policy);

MCP server

sh
node dist/cli.js

Tools:

  • list_outstanding_auths — list outstanding authorizations.
  • evaluate_outstanding_auths — list and evaluate against a policy.

Both accept wallet, optional network, tokens, spenders, policy_path or inline policy, eip3009_nonces, and rpc_url.

Environment

  • PAYSTAGE_RPC_URL — overrides the default RPC URL for the network.

Networks

  • eip155:8453 — Base mainnet (https://mainnet.base.org)
  • eip155:84532 — Base Sepolia (https://sepolia.base.org)

来源:packages/auth-watch/README.md,提交 51d940d

工具

2

list_outstanding_auths

List outstanding token authorizations for a wallet

输入参数policytokenswallet必填networkrpc_urlspenderspolicy_patheip3009_nonces

evaluate_outstanding_auths

List and evaluate outstanding token authorizations against a policy

输入参数policytokenswallet必填networkrpc_urlspenderspolicy_patheip3009_nonces

版本历史

1
  1. v0.1.0最新Oct 30, 2026

评分

已满足适用检查项的 90%

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

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

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

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分