verify402
v3.6.0Token safety check for AI agents before they swap: quote-based sellability, $0.02/call, free gate.
Values you need
| Variable | What it is | |
|---|---|---|
VERIFY402_URL | optional | verify402 base URL. Default https://vex402.online, the live mainnet service. The public Base Sepolia demo was retired on 2026-11-19; there is no public testnet endpoint. |
EVM_PRIVATE_KEY | optional secret | Private key for a dedicated hot wallet. Omit and the seven paid tools refuse with a clear error (the free tools still work). verify402-mcp@3.6.0 (this published release) defaults paid calls to Base mainnet (eip155:8453) — real USDC, $0.02-$0.10 per call, capped by MAX_PAYMENT_USD. The public Base |
VERIFY402_NETWORKS | optional | Comma-separated EVM payment networks for paid calls. Default Base mainnet (eip155:8453), real USDC; eip155:84532 (Base Sepolia) is no longer a public endpoint; the demo was retired on 2026-11-19. The supported network-to-canonical-asset map is constrained to Base mainnet and Base Sepolia. Default: eip155:8453 |
MAX_PAYMENT_USD | optional | Hard cap on one x402 payment in USD (default 0.25). Enforced before signing. |
MAX_DAILY_USD | optional | Optional cap for total spend per UTC day across restarts. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add verify402-mcp -- npx -y verify402-mcp@3.6.0Add to
claude_desktop_config.json{
"mcpServers": {
"verify402-mcp": {
"args": [
"-y",
"verify402-mcp@3.6.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"verify402-mcp": {
"args": [
"-y",
"verify402-mcp@3.6.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"verify402-mcp": {
"args": [
"-y",
"verify402-mcp@3.6.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.verify402-mcp]
command = "npx"
args = ["-y", "verify402-mcp@3.6.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: preflight_gate, inspect_402, directory_402, verify_arbitrage, check_token_safety, get_best_route, verify_quote_fairness, get_trade_depth, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json