402 TOOLS

11 tools from the 402 MCP Server, categorised by risk level.

View the 402 policy →

READ TOOLS

9
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

WRITE TOOLS

1

FINANCIAL TOOLS

1
How many tools does the 402 MCP server have? +

The 402 MCP server exposes 11 tools across 3 categories: Read, Write, Financial.

How do I enforce policies on 402 tools? +

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.

What risk categories do 402 tools fall into? +

402 tools are categorised as Read (9), Write (1), Financial (1). Each category has a recommended default policy.

Enforce policies on 402

Open source. One binary. Zero dependencies.

npx -y @policylayer/intercept
github.com/policylayer/intercept →
// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.