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»).
@paystage/auth-watchclaude 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
{
"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_PATHPath to policy.json spending rulesPAYSTAGE_RPC_URLBase RPC URL override
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
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 localpolicy.json.PAYSTAGE_RPC_URL(optional): RPC endpoint used by on-chain checks. Defaults to a public Base RPC.
Tools
| Tool | Status | What it does |
|---|---|---|
evaluate_mcp_payment | Available now | Evaluates a proposed x402 payment against the local policy and returns pay, review, or do_not_pay. |
list_outstanding_auths | Available now | Lists payments that are authorized but not yet settled. |
evaluate_outstanding_auths | Available now | Evaluates outstanding authorizations and flags double-pay or limbo risk. |
Packages
| Package | Role | Links |
|---|---|---|
@paystage/mcp | Umbrella MCP server (start here) | npm |
@paystage/preflight | MCP payment preflight | npm |
@paystage/auth-watch | Outstanding-auth watch | npm |
@paystage/policy | Policy parsing and evaluation | npm |
Links
- Website: https://paystage.xyz
- GitHub: https://github.com/base-buzz/paystage
- npm: https://www.npmjs.com/org/paystage
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 الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.