11 tools from the 402 MCP Server, categorised by risk level.
View the 402 policy →l402-balance Check cached credit balance for a server. Returns the last known balance from the credential store without making a network request. The "stale" fl... l402-buy-credits Buy credits from a toll-booth server with volume discounts. Omit amountSats to discover available tiers. Provide amountSats to purchase a specific ... l402-config Introspect the MCP's payment capabilities: which wallets are configured, spending limits, and stored credential count. Call this first to understan... l402-credentials List all stored L402 credentials. Shows origin, cached credit balance, and server type. Balance values are cached and may be stale; check lastUsed ... l402-discover Probe an endpoint to discover its L402 pricing without committing to payment. Returns the cost in sats, available payment methods, and credit tiers... l402-fetch Fetch a URL with automatic payment handling (L402 Lightning + x402 on-chain). Manages credentials, pays automatically when autoPay is true and cost... 2/5 l402-fetch-preview Preview payment requirements for a URL without spending any sats. Returns cost, protocol, and payment method so a confirmation dialog can be shown.... l402-search Search for paid APIs and services. Use this when the user wants something that might be available as a paid service — jokes, data, AI, content, etc... 2/5 l402-store-token Store an L402 token (macaroon:preimage) obtained from a payment page. Use this when a user pastes back a token from a toll-booth payment page. The ... 2/5 The 402 MCP server exposes 11 tools across 3 categories: Read, Write, Financial.
Use Intercept, the open-source MCP proxy. Write YAML rules for each tool — rate limits, argument validation, or deny rules — then run Intercept in front of the 402 server.
402 tools are categorised as Read (9), Write (1), Financial (1). Each category has a recommended default policy.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept