TypeScript SDK for the Payment HTTP Authentication Scheme. An agent skill from internet-court/internet-court-skill.

Apache-2.0Auto-check passedBackend & APIs

Install Mppx

skills CLI
$ npx skills add internet-court/internet-court-skill --skill mppx -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install internet-court/internet-court-skill mppx --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vendored/tempo/mppx .claude/skills/mppx && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mppx
GitHub stars
6.6k
Used in
1 other repo
Token cost
~1.1k tokens
SKILL.md length
311 words
Files
2
Skills in repo
80
Repo updated
First seen
Licence
Apache-2.0

At a glance

TypeScript SDK for the Payment HTTP Authentication Scheme. An agent skill from internet-court/internet-court-skill.

  • Integrating payments
  • SKILL.md covers What I can accomplish, Required inputs, Constraints and Client, plus 5 more sections
  • Calls npx; needs MPP_SECRET_KEY
  • Mppx into a client

What it does

Mppx is an agent skill from internet-court/internet-court-skill. TypeScript SDK for the Payment HTTP Authentication Scheme. Handles 402 Payment Required flows with Tempo, Stripe, and other payment methods. Use when integrating payments or mppx into a client or server application.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.

It sits in Backend & APIs. It works with Stripe, TypeScript and Circle USDC. The repository describes itself as: The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all… The licence is Apache-2.0.

When your agent uses it

  • Integrating payments
  • Mppx into a client
  • Server application

Example prompts

  • “/mppx”

Requirements

  • Node.js
  • A credential in MPP_SECRET_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit fa89195. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • mpp.dev
    • github.com
    • paymentauth.org
    • docs.tempo.xyz

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • MPP_SECRET_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mppx loads about 1.1k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 311 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from internet-court/internet-court-skill at commit fa89195, republished under its Apache-2.0 licence (© internet-court). 311 words, ~1,070 tokens.

Download SKILL.mdSave it as .claude/skills/mppx/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
mppx
description
TypeScript SDK for the Payment HTTP Authentication Scheme. Handles 402 Payment Required flows with Tempo, Stripe, and other payment methods. Use when integrating payments or mppx into a client or server application.

mppx

TypeScript SDK for the "Payment" HTTP Authentication Scheme. Full 402 flow: challenge → credential → receipt.

What I can accomplish

  • Add 402 payment handling to a client with Fetch.polyfill or Fetch.from.
  • Protect HTTP routes with server-side MPP Challenges and Receipt responses.
  • Accept one-time Tempo stablecoin payments with tempo.charge.
  • Accept metered Tempo stablecoin payments with tempo.session.
  • Accept one-time card payments with stripe.charge.
  • Verify Credentials directly for custom transports or background workflows.
  • Wrap MCP clients and servers so tool calls can require payment.

Required inputs

  • Client integrations need a signing account and one or more client payment methods.
  • Server integrations need a recipient, currency, amount, and MPP_SECRET_KEY.
  • Tempo examples use chain ID 4217 unless a page explicitly covers Moderato testnet.
  • Stripe examples need a configured Stripe account and Shared Payment Token flow.
  • MCP integrations need the MCP client or server object to wrap.

Constraints

  • Keep MPP_SECRET_KEY server-side and out of logs.
  • Never commit private keys or wallet seeds.
  • Treat runtime 402 Challenges as authoritative for current payment terms.
  • Return id and opaque unchanged when responding to a Challenge.
  • Use USDC.e for Tempo bridged USDC examples, not generic USDC.

Client

ts
import { Mppx, tempo } from 'mppx/client'

// Polyfills globalThis.fetch to handle 402 automatically
Mppx.create({
  methods: [tempo({ account })],
})

const res = await fetch('https://api.example.com/resource')

Without polyfilling:

ts
const mppx = Mppx.create({
  methods: [tempo({ account })],
  polyfill: false,
})

const res = await mppx.fetch('https://api.example.com/resource')

Server

ts
import { Mppx, Store, tempo } from 'mppx/server'
import { privateKeyToAccount } from 'viem/accounts'

const account = privateKeyToAccount('0x...')

const mppx = Mppx.create({
  methods: [
    tempo.charge({ currency: '0x...', recipient: '0x...' }),
    tempo.session({
      account,
      chainId: 4217,
      currency: '0x...',
      store: Store.memory(),
    }),
  ],
  secretKey: process.env.MPP_SECRET_KEY,
})

async function handler(request: Request): Promise<Response> {
  const result = await mppx.charge({ amount: '1.00' })(request)
  if (result.status === 402) return result.challenge
  return result.withReceipt(Response.json({ data: '...' }))
}

Methods

MethodIntentDescription
tempo.chargechargeOne-time stablecoin payment (TIP-20 token transfer on Tempo)
tempo.sessionsessionStreaming payments via payment channels on Tempo
stripe.chargechargeOne-time payment via Stripe

tempo() returns [tempo.charge, tempo.session] as a tuple using the current v2 Sessions implementation. Use tempo.charge() or tempo.session() individually if you only need one intent. Use tempo.sessionLegacy only for Legacy Sessions v1 compatibility.

Exports

PathPurpose
mppxCore primitives (Challenge, Credential, Method, Receipt, PaymentRequest)
mppx/clientMppx, tempo, stripe, session, Transport
mppx/serverMppx, tempo, stripe, Transport, Store, NodeListener
mppx/honoHono middleware
mppx/expressExpress middleware
mppx/nextjsNext.js middleware
mppx/elysiaElysia middleware

CLI

mppx includes a CLI for making paid requests during development:

sh
npx mppx account create        # create wallet
npx mppx mpp.dev/api/ping/paid # make paid request
npx mppx example.com -v        # verbose output

References

© internet-court, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in vendored/tempo/mppx of internet-court/internet-court-skill.

  • SKILL.md
  • LICENSE

Open the folder on GitHubat commit fa89195

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in internet-court/internet-court-skill, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Mppx next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mppx compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mppx this skillinternet-court/internet-court-skill6.6k1 repos~1.1kAutomated safety check: PassApache-2.0
Dinero Currency Patternsdinerojs/dinero.js6.8k—~650Automated safety check: PassMIT
Payram Payment IntegrationPayRam/payram-mcp158—~1.8kAutomated safety check: PassNone
AlchemyBankrBot/skills1.2k—~3.5kAutomated safety check: PassMIT
SaaS Scaffolderborghei/Claude-Skills891—~1.8kAutomated safety check: PassMIT
Payram Vs X402LeoYeAI/openclaw-master-skills2.2k—~4.2kAutomated safety check: PassMIT

Similar skills

  • Dinero Currency Patterns

    dinerojs/dinero.js

    Currency handling patterns for the Dinero.js money library. An agent skill from dinerojs/dinero.js.

    6.8k GitHub stars~650 tokensUpdated 5 days ago
    Backend & APIsAuto-check passed
  • Integrate crypto payments into any web application with PayRam.

    158 GitHub stars~1.8k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Alchemy

    BankrBot/skills

    Blockchain API access via Alchemy. An agent skill from BankrBot/skills.

    1.2k GitHub stars~3.5k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • SaaS Scaffolder

    borghei/Claude-Skills

    Generate SaaS boilerplate with auth, database schemas, Stripe billing, multi-tenancy, API routes, and dashboard UI on a Next.js/TypeScript/Tailwind stack.

    891 GitHub stars~1.8k tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Payram Vs X402

    LeoYeAI/openclaw-master-skills

    Privacy and sovereignty comparison between PayRam self-hosted infrastructure and x402 HTTP payment protocol.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Purposebot

    LeoYeAI/openclaw-master-skills

    Agentic commerce with Stripe and x402 USDC payments. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~5k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed

More from internet-court/internet-court-skill

All 80 skills in this repo
  • Kleros IPFS Upload

    internet-court/internet-court-skill

    Uploads one Kleros-related file per paid request to IPFS through the Kleros x402 gateway for 0.01 USDC on Base, returning a CID that Kleros contracts can reference.

    6.6k GitHub stars~4.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • 0G Compute Network Guide

    internet-court/internet-court-skill

    Guides building on the 0G Compute Network, a decentralized GPU marketplace for AI inference and fine-tuning, with SDK patterns and CLI commands.

    6.6k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • PNP Prediction Markets on Solana

    internet-court/internet-court-skill

    Creates, trades and settles permissionless prediction markets on Solana with any SPL token as collateral, including social-media and custom-oracle markets.

    6.6k GitHub stars~7.5k tokensUpdated 1 mo ago
    Auto-check: notes
  • BNB Chain MCP Server

    internet-court/internet-court-skill

    Connects an agent to the BNB Chain MCP server to read blocks and contracts, move tokens and NFTs, register ERC-8004 agents and use Greenfield storage.

    6.6k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • GenLayer ERC-7710 Connector

    internet-court/internet-court-skill

    Specifies how a GenLayer Intelligent Contract decision about an agent's performance becomes an ERC-7710 revocation or policy change, through a relayer or bridge and an EVM controller.

    6.6k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • GenLayer Agent Supervision Adapter

    internet-court/internet-court-skill

    Specifies how a GenLayer Intelligent Contract should supervise an AI agent, with review rubrics, evidence schemas and continue, warn, constrain or revoke decisions.

    6.6k GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Categories

Questions about Mppx

What does Mppx do?

TypeScript SDK for the Payment HTTP Authentication Scheme. An agent skill from internet-court/internet-court-skill. Mppx is an agent skill from internet-court/internet-court-skill. TypeScript SDK for the Payment HTTP Authentication Scheme.

When should I use Mppx?

Mppx fits situations like: integrating payments; mppx into a client; server application.

How do I install Mppx in Claude Code?

Run `npx skills add internet-court/internet-court-skill --skill mppx -a claude-code`. Or copy the skill folder (vendored/tempo/mppx in internet-court/internet-court-skill) into .claude/skills/mppx in your project. Claude Code loads it when a task matches its description.

How do I install Mppx in Codex?

Run `npx skills add internet-court/internet-court-skill --skill mppx -a codex`. Or copy the skill folder (vendored/tempo/mppx in internet-court/internet-court-skill) into .agents/skills/mppx in your project. Codex loads it when a task matches its description.

Can I use Mppx in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add internet-court/internet-court-skill --skill mppx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mppx, .gemini/skills/mppx, .github/skills/mppx and .opencode/skills/mppx in your project.

What does Mppx need to run?

Going by SKILL.md and its folder, Mppx needs the command-line tools its instructions call (npx) and credentials named MPP_SECRET_KEY. Our summary lists: Node.js; A credential in MPP_SECRET_KEY.

Does Mppx access the network?

SKILL.md names 4 domains. As links in the text: mpp.dev, github.com, paymentauth.org and docs.tempo.xyz. This is read from the text; nothing was executed.

Is Mppx safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mppx use?

Mppx is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mppx use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mppx?

Skills that share tags, products or a category with Mppx: Dinero Currency Patterns (dinerojs/dinero.js, 6.8k stars), Payram Payment Integration (PayRam/payram-mcp, 158 stars), Alchemy (BankrBot/skills, 1.2k stars) and SaaS Scaffolder (borghei/Claude-Skills, 891 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mppx?

internet-court (a GitHub organization) maintains it in internet-court/internet-court-skill, which has 6,551 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on August 19, 2026.

Source: internet-court/internet-court-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.