Claude Code plugin that scaffolds MPP (Machine Payments Protocol) billing into any API project
mpp-bundler is an early-stage Shell project in the AI payments / x402 ecosystem. It currently has 0 GitHub stars and 0 forks.
A Claude Code plugin that scaffolds MPP (Machine Payments Protocol) billing into any API project. It generates production-ready cost tracking, session management, and payment integration code for your framework.
claude install-plugin /path/to/mpp-bundler
Or run Claude with the plugin directory:
claude --plugin-dir /path/to/mpp-bundler
/mpp-bundler:init| Command | Description |
|---|---|
/mpp-bundler:init [billing-model] |
Scaffold MPP billing into your project |
/mpp-bundler:add-provider <name> |
Add an API provider to your cost bundle |
/mpp-bundler:add-payment-method <method> |
Enable a payment method (stripe/tempo/card/lightning) |
/mpp-bundler:setup-tempo |
Guided Tempo wallet onboarding |
/mpp-bundler:add-dashboard |
Scaffold a cost/revenue dashboard |
/mpp-bundler:status |
Show current MPP configuration summary |
The plugin teaches Claude how to:
mpp-bundle.config.ts with provider pricing, payment methods, and platform premiummpp-bundle.ts) that tracks costs across providers and bundles themAfter setting up billing, run /mpp-bundler:add-dashboard to scaffold a cost/revenue dashboard that shows:
The dashboard includes a database migration (bundle_usage_log table), a fire-and-forget usage logger wired into track(), 6 admin API endpoints (gated by MPP_ADMIN_KEY), and a dashboard UI (React page for Next.js, standalone HTML for other frameworks).
TypeScript Interface for Machine Payments Protocol
Alephant is an open-source AI Agent Gateway for routing, tracking, and controlling LLM usage across AI agents, members, and workflows, and for publishing agent capabilities as paid endpoints with x402 and MPP payment rails.
Specifications for the Machine Payments Protocol - powered by the "Payment" HTTP authentication scheme
Rust SDK for the Machine Payments Protocol
Website for the Machine Payments Protocol
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.