MPP Payments - Stellar Edition

MPP Payments - Stellar Edition is a skill for Claude Code, Codex from ASGCompute/asgcard-public. It costs 56 tokens per session (860 once invoked), scanned A, original, MIT.

A guide for building paid API connections on Stellar, a blockchain network, using the Machine Payments Protocol (MPP), a standard for paying machines for access to resources.

In plain words
What is it for?
Use it to protect an API behind payment, make an agent pay for API results, or adapt a Stripe-style MPP flow to Stellar’s Soroban smart-contract platform.
Why use it?
It explains the buyer and seller sides of a payment-required API and helps choose between paying per request or using a payment channel for repeated requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to protect an API behind payment, make an agent pay for API results, or adapt a Stripe-style MPP flow to Stellar’s Soroban smart-contract platform.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgcompute/asgcard-public/stellar-mpp-payments
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ASGCompute/asgcard-public --skill stellar-mpp-payments
Clone the repo
git clone --depth 1 https://github.com/ASGCompute/asgcard-public

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for MPP Payments - Stellar Edition

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgcompute/asgcard-public/stellar-mpp-payments/github.svg)](https://agentmods.dev/skills/asgcompute/asgcard-public/stellar-mpp-payments)
Your own site
<a href="https://agentmods.dev/skills/asgcompute/asgcard-public/stellar-mpp-payments"><img src="https://agentmods.dev/badge/skills/asgcompute/asgcard-public/stellar-mpp-payments/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for MPP Payments - Stellar Edition

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgcompute/asgcard-public/stellar-mpp-payments"><img src="https://agentmods.dev/badge/skills/asgcompute/asgcard-public/stellar-mpp-payments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 860 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.00860
Opus 5 $0.00028 $0.00430
Sonnet 5 $0.00011 $0.00172
Haiku 4.5 $0.00006 $0.00086

Measured 11d ago against content hash ba8d5c3f1826, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

MPP Payments - Stellar Edition scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

stellar-mpp-payments-skill/stellar-mpp-payments/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MPP Payments - Stellar Edition

Build paid APIs and agent payment clients on Stellar using the Machine Payments Protocol (MPP). Use this skill when the user wants a seller flow, a buyer flow, or a Stripe-to-Stellar MPP adaptation.

Decide Three Things First

1. Role

  • Seller: they want to protect an API or action behind payment
  • Buyer: they want an agent or app to pay for a resource automatically
  • Both: they need the full round trip

2. Payment Mode

  • Charge: one on-chain Soroban SAC transfer per paid request
  • Channel: many off-chain commitments, occasional on-chain close

Default to charge unless the user clearly needs high request volume or lower marginal latency.

3. Network

  • Testnet for demos, tutorials, and prototype flows
  • Public for production settlement

Core MPP Flow

Client -> GET /resource
Server -> 402 Payment Required + WWW-Authenticate: Payment ...
Client -> Authorization: Payment ...
Server -> verifies payment on Stellar
Server -> 200 OK + protected result

On Stellar, the payment method is usually:

  • a Soroban SAC transfer for charge mode
  • a one-way payment channel commitment for channel mode

Quick Start: Seller

Install:

npm install mppx @stellar/stellar-sdk github:stellar-experimental/stellar-mpp-sdk

Minimal server shape:

import { Mppx, stellar } from "stellar-mpp-sdk/server";
import { USDC_SAC_TESTNET } from "stellar-mpp-sdk";

const mppx = Mppx.create({
  secretKey: process.env.MPP_SECRET_KEY!,
  methods: [
    stellar.charge({
      recipient: process.env.STELLAR_RECIPIENT!,
      currency: USDC_SAC_TESTNET,
      network: "testnet",
    }),
  ],
});

Then wrap the protected route so:

  • unpaid requests return 402 plus a Payment challenge
  • paid requests are verified before the protected result is returned

See references/charge.md for a working server pattern.

Quick Start: Buyer

Install:

npm install mppx @stellar/stellar-sdk github:stellar-experimental/stellar-mpp-sdk

Read the full file on GitHub · 122 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 122 lines · 56 tokens per session scan A ba8d5c3f1826

Subscribe to this mod's changes

MPP Payments - Stellar Edition is a skill published in the GitHub repository ASGCompute/asgcard-public (15 stars, last pushed 5mo ago), licensed MIT. It adds 56 tokens to every session and 860 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

x402-stellar-payments

Use when asked to "pay for" a URL, add a "paid endpoint", handle HTTP 402, or work with x402 payments on Stellar.

CodeStrux/x402-stellar-kit · 38 tokens

t2000-job

Escrow USDC for agent-to-agent deliverable work (A2A jobs). Use when hiring another agent for async work (research reports, builds, SLA tasks) or when selling deliverable work yourself (list a service: fixed price + SLA, no server needed), or posting/claiming open jobs on the board (t2 job open / claim) — anything…

mission69b/t2000 · 164 tokens

t2000-receive

Generate a payment request for the t2000 Agent Wallet — print the wallet address, an ANSI QR code, and (via MCP) a Payment Kit URI (sui:pay?…). Use when asked to receive a payment, share a wallet address, create a payment link, or set up a fund-me link.

mission69b/t2000 · 71 tokens

t2000-send

Send USDC, USDsui, or SUI from the t2000 Agent Wallet to another Sui address. Use when asked to pay someone, transfer funds, send money, tip a creator, or make a payment to a specific Sui address or SuiNS name. Do NOT use for API payments — use the t2000-pay skill for x402-protected services.

mission69b/t2000 · 83 tokens

t2000-swap

Swap tokens on Sui via Cetus Aggregator (20+ DEXs, best-route across SUI, USDC, USDsui, USDT, USDe, ETH, GOLD, NAVX, WAL, vSUI, and more). Use when asked to swap, trade, convert, exchange, or "turn X into Y". Do not use for sending — use the t2000-send skill for transfers.

mission69b/t2000 · 93 tokens

t2000-financial-amounts

Money and token-metadata safety — floor display amounts (never round up), per-token decimal precision, preset/chip amount math, and the canonical token registry that owns every coin type and decimal count. Use when formatting or displaying a balance, computing a max/percentage/preset amount, converting between display…

mission69b/t2000 · 106 tokens