MPP Payment Proxy
Wraps existing APIs with HTTP 402 payment gates to enable seamless machine-to-machine monetization.
The mpp-proxy skill enables developers to monetize internal or third-party APIs by implementing the Machine-to-Machine Payment Protocol (MPP) as a middleware layer. It allows for the creation of payment-gated proxies that challenge clients with HTTP 402 requirements without requiring any modifications to the upstream service code. This skill is ideal for building API marketplaces, reselling services, or replacing legacy rate-limiting with transparent pay-per-use models, supporting both Node.js environments and edge deployments like Cloudflare Workers.
Key Features
0132 GitHub stars
02Support for configurable pricing strategies including flat, metered, and tiered
03Seamless integration with the mppx SDK for machine-to-machine payments
04Implement HTTP 402 payment gates for any existing REST API
05Edge-ready patterns for Cloudflare Workers and serverless environments
06Automatic receipt handling and payment header sanitization
Use Cases
01Converting internal microservices into revenue-generating public APIs
02Building an API marketplace that aggregates and monetizes third-party AI services
03Implementing pay-per-use billing for high-value data or compute resources