Home / Market / PipRail

PipRail

Budget-bound x402 payment wallet for AI agents — pays HTTP 402 URLs, capped locally. No backend.

mcp★ 0102 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-mcp-87832abd760b794fd2a9": { "command": "npx", "args": [ "-y", "--package", "@piprail/mcp@0.10.0", "piprail-mcp" ], "env": { "PIPRAIL_PRIVATE_KEY": "${ENV_PIPRAIL_PRIVATE_KEY}", "PIPRAIL_CHAIN": "${ENV_PIPRAIL_CHAIN}", "PIPRAIL_CHAINS": "${ENV_PIPRAIL_CHAINS}", "PIPRAIL_MAX_AMOUNT": "${ENV_PIPRAIL_MAX_AMOUNT}", "PIPRAIL_MAX_TOTAL": "${ENV_PIPRAIL_MAX_TOTAL}", "PIPRAIL_MAX_TOTAL_DENOM": "${ENV_PIPRAIL_MAX_TOTAL_DENOM}", "PIPRAIL_MAX_PAYMENTS": "${ENV_PIPRAIL_MAX_PAYMENTS}", "PIPRAIL_MAX_PAYMENTS_PER_WINDOW": "${ENV_PIPRAIL_MAX_PAYMENTS_PER_WINDOW}", "PIPRAIL_WARN_AT_FRACTION": "${ENV_PIPRAIL_WARN_AT_FRACTION}", "PIPRAIL_SPEND_LOG": "${ENV_PIPRAIL_SPEND_LOG}", "PIPRAIL_EVENT_LOG": "${ENV_PIPRAIL_EVENT_LOG}", "PIPRAIL_TOKENS": "${ENV_PIPRAIL_TOKENS}", "PIPRAIL_SCHEMES": "${ENV_PIPRAIL_SCHEMES}" } } }, "setup": { "fields": [ { "id": "ENV_PIPRAIL_PRIVATE_KEY", "label": "PIPRAIL_PRIVATE_KEY", "description": "Your wallet's private key/seed for the chosen chain. Optional: omit it to run read-only (discover/quote/register/budget/guide); set it to let the agent pay. Stays on your machine; the spend policy caps every payment.", "required": false, "secret": true, "default": "" }, { "id": "ENV_PIPRAIL_CHAIN", "label": "PIPRAIL_CHAIN", "description": "Chain to pay on (default: base).", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_CHAINS", "label": "PIPRAIL_CHAINS", "description": "Pay across several chains (instead of PIPRAIL_CHAIN): a comma-separated list, e.g. base,polygon,solana. Give each its own PIPRAIL_<CHAIN>_KEY (+ optional PIPRAIL_<CHAIN>_RPC_URL). The agent pays whichever chain a 402 asks for — the first listed that can settle — under one shared budget.", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_MAX_AMOUNT", "label": "PIPRAIL_MAX_AMOUNT", "description": "Max spend per single payment, in token units (default: 0.10).", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_MAX_TOTAL", "label": "PIPRAIL_MAX_TOTAL", "description": "Lifetime spend cap per token, in token units (default: 10.00).", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_MAX_TOTAL_DENOM", "label": "PIPRAIL_MAX_TOTAL_DENOM", "description": "Cross-token GRAND TOTAL: one spend cap per denomination across every stablecoin and chain, e.g. USD:20.00,EUR:5.00. Not a price oracle — sums tokens of the same unit, each counted 1:1. Native coins are excluded.", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_MAX_PAYMENTS", "label": "PIPRAIL_MAX_PAYMENTS", "description": "Lifetime cap on the NUMBER of payments, across every chain + token (e.g. 100).", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_MAX_PAYMENTS_PER_WINDOW", "label": "PIPRAIL_MAX_PAYMENTS_PER_WINDOW", "description": "Cap on the number of payments within PIPRAIL_WINDOW_SECONDS (a rolling rate limit; set PIPRAIL_WINDOW_SECONDS too).", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_WARN_AT_FRACTION", "label": "PIPRAIL_WARN_AT_FRACTION", "description": "Emit an early-warning event when spend crosses this fraction of any cap, e.g. 0.8 (80%). Needs PIPRAIL_EVENT_LOG to be visible.", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_SPEND_LOG", "label": "PIPRAIL_SPEND_LOG", "description": "Path to a local append-only spend log. When set, the budget (lifetime, grand total, counts) SURVIVES a restart — hydrated from this file. No backend; you own the file.", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_EVENT_LOG", "label": "PIPRAIL_EVENT_LOG", "description": "Mirror payment events (settled / declined / budget-threshold) as one-line JSON to 'stderr' or a file path — the operator's notification stream. Default: off.", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_TOKENS", "label": "PIPRAIL_TOKENS", "description": "Comma-separated allowed token symbols, plus the alias 'native' for the chain's coin (default: USDC).", "required": false, "secret": false, "default": "" }, { "id": "ENV_PIPRAIL_SCHEMES", "label": "PIPRAIL_SCHEMES", "description": "Comma-separated payment schemes to settle (default: onchain-proof). Add 'exact' (onchain-proof,exact) to also pay standard x402 servers GASLESS on EVM + Solana (method auto-selected). Add 'upto' to also pay metered x402 servers on EVM (Permit2): sign a MAX, the server settles the actual <= max.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.piprail/mcp", "registryVersion": "0.10.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.piprail%2Fmcp/versions/0.10.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@piprail/mcp", "version": "0.10.0", "integrity": "sha512-d4IR+axas5z/+mBplF/tdEBANHJVaD7h2ZVzNhYND6Fph7aQvd7ASE7DhHs9Z5h/KRt+aDlB/WH0mv3lzAKACQ==", "registryNameMatched": "io.github.piprail/mcp", "checkedAt": "2026-11-04T17:34:30.343Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }