PayStage Auth Watch

السجل الرسمي الأمن

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @paystage/auth-watch
Claude Code
claude mcp add paystage-auth-watch -e 'PAYSTAGE_POLICY_PATH=<PAYSTAGE_POLICY_PATH>' -e 'PAYSTAGE_RPC_URL=<PAYSTAGE_RPC_URL>' -- npx -y @paystage/auth-watch@0.1.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "paystage-auth-watch": {
            "command": "npx",
            "args": [
                "-y",
                "@paystage/auth-watch@0.1.0"
            ],
            "env": {
                "PAYSTAGE_POLICY_PATH": "<PAYSTAGE_POLICY_PATH>",
                "PAYSTAGE_RPC_URL": "<PAYSTAGE_RPC_URL>"
            }
        }
    }
}

متغيرات البيئة

  • PAYSTAGE_POLICY_PATH Path to policy.json spending rules
  • PAYSTAGE_RPC_URL Base RPC URL override

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. PayStage
  2. Quick start
  3. Configure
  4. Tools
  5. Packages
  6. Links
  7. Development
  8. License

PayStage

Safety tools for AI agent payments (x402 + MCP).

PayStage sits in front of an agent's wallet and answers one question before money moves: should this payment happen? Tools return pay, review, or do_not_pay.

Quick start

npx -y @paystage/mcp

@paystage/mcp is the umbrella MCP server. It exposes the PayStage tools over stdio and reads a local policy file.

Configure

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "paystage": {
      "command": "npx",
      "args": ["-y", "@paystage/mcp"],
      "env": {
        "PAYSTAGE_POLICY_PATH": "/absolute/path/to/policy.json",
        "PAYSTAGE_RPC_URL": "https://mainnet.base.org"
      }
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "paystage": {
      "command": "npx",
      "args": ["-y", "@paystage/mcp"],
      "env": {
        "PAYSTAGE_POLICY_PATH": "/absolute/path/to/policy.json",
        "PAYSTAGE_RPC_URL": "https://mainnet.base.org"
      }
    }
  }
}
  • PAYSTAGE_POLICY_PATH (required): path to your local policy.json.
  • PAYSTAGE_RPC_URL (optional): RPC endpoint used by on-chain checks. Defaults to a public Base RPC.

Tools

ToolStatusWhat it does
evaluate_mcp_paymentAvailable nowEvaluates a proposed x402 payment against the local policy and returns pay, review, or do_not_pay.
list_outstanding_authsAvailable nowLists payments that are authorized but not yet settled.
evaluate_outstanding_authsAvailable nowEvaluates outstanding authorizations and flags double-pay or limbo risk.

Packages

PackageRoleLinks
@paystage/mcpUmbrella MCP server (start here)npm
@paystage/preflightMCP payment preflightnpm
@paystage/auth-watchOutstanding-auth watchnpm
@paystage/policyPolicy parsing and evaluationnpm

Development

This is a monorepo.

pnpm install
pnpm build
pnpm test
pnpm lint

License

MIT

الأسئلة الشائعة

ما هو PayStage Auth Watch؟

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

كيف أثبّت PayStage Auth Watch؟

يعمل على جهازك. في Claude Code: claude mcp add paystage-auth-watch -e 'PAYSTAGE_POLICY_PATH=<PAYSTAGE_POLICY_PATH>' -e 'PAYSTAGE_RPC_URL=<PAYSTAGE_RPC_URL>' -- npx -y @paystage/auth-watch@0.1.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج PayStage Auth Watch إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل PayStage Auth Watch مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون PayStage Auth Watch؟

ينشره base-buzz. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.