mpp-agent

Automate micro-payments for HTTP 402 API challenges using the Machine Payments Protocol.

Updated Jul 13, 2026
One-click install
npx skills add https://github.com/zangjeicy/Hermes --skill mpp-agent-zangjeicy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mpp-agent
Source: https://github.com/zangjeicy/Hermes/tree/main/optional-skills/payments/mpp-agent
Command: npx skills add https://github.com/zangjeicy/Hermes --skill mpp-agent-zangjeicy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves the friction of accessing premium APIs that require micro-payments, allowing the agent to handle HTTP 402 Payment Required challenges autonomously.

Core Features & Use Cases

  • Automated Payment Handling: Detects and responds to 402 challenges using supported protocols like MPP and Stripe.
  • Multi-Wallet Support: Integrates with Tempo, Privy, and AgentCash to manage spend controls and service discovery.
  • Use Case: When an API returns a payment challenge, the agent automatically negotiates the transaction using your configured wallet, ensuring uninterrupted access to paid data services.

Quick Start

Use the mpp-agent skill to pay for the API request at the provided URL using your configured Tempo wallet.

Frequently Asked Questions about mpp-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle HTTP 402 Payment Required challenges when accessing premium APIs?

You can handle HTTP 402 Payment Required challenges by using an agent that detects the response and autonomously negotiates micro-payments via the Machine Payments Protocol. It pays the requested amount from your wallet and verifies merchant receipts for uninterrupted API access.

What is the Machine Payments Protocol for automated API micro-payments?

The Machine Payments Protocol is a standard that enables automated micro-payments for per-request API access. It allows agents to dynamically respond to payment challenges, routing transactions through configured wallets like Tempo or Privy to unlock premium data services.

Do I need a pre-funded wallet to automate API micro-payments?

Yes, you need a pre-funded wallet to automate API micro-payments. Before the agent can process HTTP 402 challenges and execute transactions, you must configure a supported payment backend like Tempo, Privy, or AgentCash with sufficient funds.

Can I use Stripe for HTTP 402 payment challenges with automated agents?

Yes, you can use Stripe for HTTP 402 payment challenges. The agent supports diverse payment backends including Stripe, allowing it to automatically negotiate per-request service access transactions alongside other protocols like Tempo and Privy.

What are the requirements to run an automated micro-payment agent?

To run an automated micro-payment agent, you need Node.js 20+ and a configured, pre-funded wallet. These requirements ensure the agent can execute payment transactions and verify merchant receipts when accessing paid APIs.