PayStage Auth Watch — Claude Code MCP server: what it does
PayStage Auth Watch — a Claude Code MCP server that scans and evaluates wallet token authorizations against a policy. Runs during smart contract security audits.
MIT ★ 6 updated 2026-11-16
claude mcp add --env PAYSTAGE_POLICY_PATH=<PAYSTAGE_POLICY_PATH> --env PAYSTAGE_RPC_URL=<PAYSTAGE_RPC_URL> --transport stdio auth-watch -- npx -y @paystage/auth-watchWhat PayStage Auth Watch does
The server inspects outstanding allowances and nonces for wallets on Base networks. It evaluates ERC-20 limits, Permit2 permissions, and EIP-3009 nonces without holding private keys or running shell commands.
It exposes list_outstanding_auths and evaluate_outstanding_auths tools to query and check states against defined policies. Network communication relies on eth_call JSON-RPC reads via default endpoints or the PAYSTAGE_RPC_URL environment variable.
The package operates in read-only mode and includes no telemetry or eval execution.
What it helps with
- list outstanding ERC-20 allowances for a wallet
- evaluate Permit2 permissions against a security policy
- check EIP-3009 nonces on Base network
- audit token approvals before deployment
Example prompts for the agent
- List outstanding authorizations for wallet 0x... using auth-watch
- Evaluate token allowances against the security policy
- Check Permit2 allowances and nonces for the given address
How to install PayStage Auth Watch
Platform CLI
claude mcp add --env PAYSTAGE_POLICY_PATH=<PAYSTAGE_POLICY_PATH> --env PAYSTAGE_RPC_URL=<PAYSTAGE_RPC_URL> --transport stdio auth-watch -- npx -y @paystage/auth-watchReplace <…> with your own values
Platform CLI
codex mcp add auth-watch --env PAYSTAGE_POLICY_PATH=<PAYSTAGE_POLICY_PATH> --env PAYSTAGE_RPC_URL=<PAYSTAGE_RPC_URL> -- npx -y @paystage/auth-watchReplace <…> with your own values
Config file
{
"mcpServers": {
"auth-watch": {
"command": "npx",
"args": [
"-y",
"@paystage/auth-watch"
],
"env": {
"PAYSTAGE_POLICY_PATH": "<PAYSTAGE_POLICY_PATH>",
"PAYSTAGE_RPC_URL": "<PAYSTAGE_RPC_URL>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"auth-watch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@paystage/auth-watch"
],
"env": {
"PAYSTAGE_POLICY_PATH": "<PAYSTAGE_POLICY_PATH>",
"PAYSTAGE_RPC_URL": "<PAYSTAGE_RPC_URL>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e PAYSTAGE_POLICY_PATH=<PAYSTAGE_POLICY_PATH> -e PAYSTAGE_RPC_URL=<PAYSTAGE_RPC_URL> auth-watch npx -y @paystage/auth-watchReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about PayStage Auth Watch
How to install PayStage Auth Watch in Claude Code?
Run the command claude mcp add auth-watch -- npx -y @paystage/auth-watch in your terminal.
What does PayStage Auth Watch do?
It provides read-only MCP tools to list and evaluate outstanding ERC-20, Permit2, and EIP-3009 authorizations for a wallet against a policy.
What is required to run PayStage Auth Watch?
Node.js is required to execute the package via npx, along with an RPC connection to the Base network.