mpp-agent

Pay HTTP 402 API requests via Machine Payments Protocol clients.

1|Updated Aug 6, 2026
One-click install
npx skills add https://github.com/agtktID/indagis-agent --skill mpp-agent-agtktid
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mpp-agent
Source: https://github.com/agtktID/indagis-agent/tree/main/optional-skills/payments/mpp-agent
Command: npx skills add https://github.com/agtktID/indagis-agent --skill mpp-agent-agtktid

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mppx.

What problem does it solve? Some APIs respond with HTTP 402 Payment Required and demand per-request payment before returning data. This Skill lets an agent actually pay those Machine Payments Protocol (MPP) challenges instead of just logging the response. ## Core Features & Use Cases - Multiple MPP clients: Choose between mppx, Tempo Wallet, Privy Agent CLI, AgentCash, or Stripe Link depending on the challenge method and the user's funded wallet. - Challenge inspection: Probe a URL with curl to confirm it speaks MPP and decode the www-authenticate header before paying. - Use Case: A merchant API returns 402 Payment Required with a Tempo challenge. Install mppx, create an account, and run mppx <url> to pay the challenge and receive the merchant's actual response with a receipt header. ## Quick Start Ask the agent to pay the HTTP 402 challenge on a given URL using mppx and show the paid response.

Frequently Asked Questions about mpp-agent

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

FAQPage Schema
How do I pay an HTTP 402 Payment Required API response?▼

Install mppx globally with npm, create an account, then run `mppx <url>` against the endpoint. The client handles the 402 challenge and credential exchange automatically and prints the merchant's response on success.

Which MPP client should I use for per-request API payments?▼

Use Stripe Link's link-cli when the challenge advertises method="stripe" or Link is already configured. Otherwise use mppx for one-off paid calls and debugging, or Tempo Wallet when you want persistent spend controls and service discovery.

Can Stripe Link pay any HTTP 402 challenge?▼

No. Stripe Link only pays challenges advertising method="stripe". If the www-authenticate header lists only Tempo or other methods, use mppx or the matching wallet instead, since Link will reject non-Stripe challenges.

Does mpp-agent work on Windows?▼

No. The Skill is gated to Linux and macOS platforms while the broader payments tooling matures on Windows. It also requires Node.js 20 or later available on PATH.

Why does a 402 challenge with zero amount still require a client?▼

Some MPP endpoints charge $0.00 and only want a proof credential rather than real payment. These zero-amount challenges work without a funded wallet and should not be treated as broken responses.

Can I use this Skill to add 402 payments to my own API?▼

No. This Skill covers the client side of paying 402 challenges only. For server-side MPP, use the middlewares documented at mpp.dev such as mppx/nextjs, mppx/hono, mppx/express, or mppx/elysia.