# 402 MCP server

Agent View of the PolicyLayer registry record for 402: identity, probed posture, risk grade, and all 10 tools classified. HTML page: https://policylayer.com/tools/dev-forgesworn-402-mcp

## Facts

- Server id: `402-mcp`
- Install: `npx -y 402-mcp`
- Homepage: https://github.com/forgesworn/402-mcp
- Registry record: grade F, identity unverified
- Lifecycle: active
- Rate-limited: no
- Tools: 10
- Tool categories present: Financial, Read, Write
- Tags: dev forgesworn 402 mcp, payments
- Record last modified: 2026-08-17T04:05:54.499Z

## Tools (10)

| Tool | Category | Risk | Record |
| --- | --- | --- | --- |
| `l402-buy-credits` | Financial | Critical | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-buy-credits.md |
| `l402-pay` | Financial | Critical | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-pay.md |
| `l402-redeem-cashu` | Financial | Critical | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-redeem-cashu.md |
| `l402-balance` | Read | Low | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-balance.md |
| `l402-config` | Read | Low | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-config.md |
| `l402-credentials` | Read | Low | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-credentials.md |
| `l402-discover` | Read | Low | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-discover.md |
| `l402-fetch` | Read | Low | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-fetch.md |
| `l402-search` | Read | Low | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-search.md |
| `l402-store-token` | Write | Medium | https://policylayer.com/tools/dev-forgesworn-402-mcp/l402-store-token.md |

## Tool descriptions

- `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 tier. Only works with toll-booth servers.
- `l402-pay` — Confirm payment and store credentials. Call this after l402-fetch returns a 402 with a paymentHash — polls the payment server for settlement (up to 30s for human wallet), then stores the credential so the next l402-fetch succeeds. For hu…
- `l402-redeem-cashu` — Redeem Cashu ecash tokens directly on a toll-booth server, avoiding the Lightning round-trip. Handles the two-step flow automatically (create invoice then redeem token). Only works with toll-booth servers.
- `l402-balance` — Check cached credit balance for a server. Returns the last known balance from the credential store without making a network request. The
- `l402-config` — Introspect the MCP\
- `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 timestamp.
- `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 (if toll-booth server). The challenge is cached so a subsequent l402-pay can reuse it.
- `l402-fetch` — Fetch a URL with automatic payment handling (L402 Lightning + x402 on-chain). Manages credentials, pays automatically when autoPay is true and cost is within budget, and retries. For human wallets, returns a payment page URL or QR code. …
- `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. Discovers services announced on Nostr and returns their URLs, pricing, and capabilities.…
- `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 token is stored as a credential so subsequent l402-fetch calls are authenticated.

## Related servers

- Delx Mcp A2a (1076 tools) — https://policylayer.com/tools/io-github-davidmosiah-delx-mcp-a2a.md
- Delx Protocol — Agent Recovery & Continuity (1076 tools) — https://policylayer.com/tools/io-github-davidmosiah-delx-protocol.md
- Delx MCP Server (740 tools) — https://policylayer.com/tools/io-github-davidmosiah-delx-mcp-server.md
- Binance MCP Server (734 tools) — https://policylayer.com/tools/nirholas-binance-mcp.md
- Ainumbers Mcp Apps (688 tools) — https://policylayer.com/tools/postoaklabs-ainumbers-mcp-apps.md
- GoCreative Agent API (647 tools) — https://policylayer.com/tools/io-github-colinhughes2121-gocreative-agent-api.md
- Yaver (645 tools) — https://policylayer.com/tools/io-github-kivanccakmak-yaver.md
- GoHighLevel MCP Server (559 tools) — https://policylayer.com/tools/busybee3333-go-high-level-mcp-2026-complete.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=dev-forgesworn-402-mcp · API: https://policylayer.com/registry/api · Recommended policies for every tool: https://policylayer.com/policies/dev-forgesworn-402-mcp
