Machine Payment Client (MPP)

•
32
•

Enables AI agents to automatically handle HTTP 402 payment challenges using the mppx.fetch() protocol.

This skill provides comprehensive guidance and implementation patterns for the Machine Payment Protocol (MPP) client-side flow. It allows developers and AI agents to replace standard fetch calls with mppx.fetch(), which transparently manages the entire '402 Payment Required' cycle—detecting challenges, fulfilling payments via wallets or Stripe tokens, and retrying requests—without manual intervention. It is an essential tool for building autonomous commerce agents that need to consume paid APIs, pay for compute, or access premium data services securely while maintaining strict spending controls.

Características Principales

0132 GitHub stars
02Multi-method support including Stripe SPT and Tempo/Crypto
03CLI integration for rapid testing of paid resources
04Configurable spending controls and session budget limits
05Transparent 402 challenge-response handling
06Automatic payment receipt capture and header logging

Casos de Uso

01Building autonomous agents that consume per-request paid APIs
02Implementing machine-to-machine (M2M) micro-payments
03Developing commerce-ready bots with automated wallet management