One-click install
npx skills add https://github.com/NITISH-gitbit/hermes-custom --skill mpp-agent-nitish-gitbit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mpp-agent
Source: https://github.com/NITISH-gitbit/hermes-custom/tree/main/optional-skills/payments/mpp-agent
Command: npx skills add https://github.com/NITISH-gitbit/hermes-custom --skill mpp-agent-nitish-gitbit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, and includes scripts (resource) components.

What problem does it solve?

The mpp-agent skill addresses the issue of handling 'HTTP 402 Payment Required' responses programmatically by using the Machine Payments Protocol (MPP).

Core Features & Use Cases

  • MPP Payment Execution: Initiates and completes MPP payments for 'HTTP 402 Payment Required' API calls.
  • Client Selection: Supports multiple client options like link-cli, Tempo Wallet, Privy Agent CLI, AgentCash, and mppx.
  • Payment Verification: Includes receipt verification and handling of multiple payment methods in the www-authenticate header.

Quick Start

Use the mpp-agent skill to process an 'HTTP 402 Payment Required' response for the API call at 'https://api.example.com/resource'.

Frequently Asked Questions about mpp-agent

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

FAQPage Schema
How do I automate payments for HTTP 402 Payment Required responses?

Automate HTTP 402 Payment Required responses by using Machine Payments Protocol to programmatically initiate and complete API payments. The mpp-agent skill handles this process, including receipt verification and parsing multiple payment methods from the www-authenticate header.

What is the Machine Payments Protocol and when do I need it for API calls?

Machine Payments Protocol (MPP) is used when API merchants return HTTP 402 Payment Required responses. You need MPP to programmatically execute payments for these API interactions, verify receipts, and handle multiple payment method options automatically.

Does the Machine Payments Protocol client support multiple wallet options?

Machine Payments Protocol client selection supports multiple options, including link-cli, Tempo Wallet, Privy Agent CLI, AgentCash, and mppx. This allows API payment processing to utilize various client libraries for different payment method requirements.

How do I verify API payment receipts using the Machine Payments Protocol?

Verify API payment receipts through the Machine Payments Protocol by executing the payment for the HTTP 402 response. The mpp-agent skill includes built-in receipt verification and handles multiple payment methods specified in the www-authenticate header.

Do I need Node.js to process HTTP 402 Payment Required API responses?

Node.js is required to process HTTP 402 Payment Required API responses using the mpp-agent skill. The Node.js environment executes the provided scripts to automate Machine Payments Protocol interactions and client library selection.

Why does my API return HTTP 402 and how does MPP handle multiple payment methods?

APIs return HTTP 402 Payment Required when merchants demand payment for resource access. MPP handles this by parsing multiple payment methods from the www-authenticate header and executing the transaction via supported clients like Tempo Wallet or mppx.