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 分