mppx
TypeScript SDK for the Payment HTTP Authentication Scheme. Handles 402 Payment Required flows with Tempo, Stripe, and other payment methods. Use when integrating payments or mppx into a client or server application.
npx skills add internet-court/internet-court-skill --skill mppx --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# mppx TypeScript SDK for the "Payment" HTTP Authentication Scheme. Full 402 flow: challenge → credential → receipt. ## What I can accomplish - Add `402` payment handling to a client with `Fetch.polyfill` or `Fetch.from`. - Protect HTTP routes with server-side MPP Challenges and Receipt responses. - Accept one-time Tempo stablecoin payments with `tempo.charge`. - Accept metered Tempo stablecoin payments with `tempo.session`. - Accept one-time card payments with `stripe.charge`. - Verify Credentials directly for custom transports or background workflows. - Wrap MCP clients and servers so tool calls can require payment. ## Required inputs - Client integrations need a signing account and one or more client payment methods. - Server integrations need a recipient, currency, amount, and `MPP_SECRET_KEY`. - Tempo examples use chain ID `4217` unless a page explicitly covers Moderato testnet. - Stripe examples need a configured Stripe account and Shared Payment Token flow. - MCP integrations need the MCP client or server object to wrap. ## Constraints - Keep `MPP_SECRET_KEY` server-side and out of logs. - Never commit private keys or wallet seeds. - Treat runtime `402` Challenges as authori
- What I can accomplish
- Required inputs
- Constraints
- Client
- Server
- Methods
- Exports
- CLI
- References
npx mppx account create # create wallet npx mppx mpp.dev/api/ping/paid # make paid request npx mppx example.com -v # verbose output
What does the mppx skill do?
TypeScript SDK for the Payment HTTP Authentication Scheme. Handles 402 Payment Required flows with Tempo, Stripe, and other payment methods. Use when integrating payments or mppx into a client or server application.
How do I install it?
Run `npx skills add internet-court/internet-court-skill --skill mppx --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From internet-court/internet-court-skill, a repository with 1,536 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.