solana-foundation/pay
CLI for Agentic payments (x402, MPP, AP2). observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 1.5
- age_days: 1779
- days_rel: 7
- days_push: 7
- n_releases_24m: 33
Adoption not part of the score
1762 stars · 596 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rust CLI that acts as a payment layer for HTTP, wrapping tools like curl and AI agents (Claude, Codex, Goose) to automatically handle HTTP 402 payment challenges via x402 and MPP protocols using Solana stablecoins. It includes a built-in MCP server, a local wallet-approval flow, and a payment gateway server for API providers.
Use cases
- pay for paid APIs from the command line without accounts or API keys
- let AI agents make paid API calls with human wallet approval
- wrap curl or claude to handle HTTP 402 payment challenges automatically
- monetize an API with pay-per-request stablecoin payments
- discover and call metered paid API endpoints from an agent
- run a payment gateway in front of an existing API
When to choose
- you want agents or scripts to pay per-request for APIs using stablecoins on Solana
- you need x402 or MPP 402 challenge handling in CLI or agent workflows
- you want human-in-the-loop wallet approval for agent spending
- you are an API provider adding pay-per-use pricing without accounts
When to avoid
- you need payments on chains other than Solana or in fiat
- you prefer traditional API keys, subscriptions, or card-based billing
- you need a fully autonomous agent payment flow without local user authorization
- your stack requires a managed payment processor like Stripe
Facets
cli-tool · maturity active
cli http-client mcp api-gateway cryptography sdk fintech apis developer-tools blockchain cli windows rust cross-platform x402 mpp stablecoin-payments solana agentic-payments http-402 pay-per-request wallet acp payment-gateway cryptocurrency ai-agents command-line macos linux nodejs
5 sources
- readme: https://github.com/solana-foundation/pay · fetched 2026-08-28 · f2d1e3667b48
- homepage: https://pay.sh · fetched 2026-08-29 · a484f921f993
- site_page: https://pay.sh/docs · fetched 2026-08-29 · 4c7c7505cd75
- site_page: https://pay.sh/docs/building-with-pay/deployment/overview · fetched 2026-08-29 · d4ed3a436a16
- site_page: https://pay.sh/docs/toolchain/install · fetched 2026-08-29 · 0e485945d6ab
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| solana-foundation/pay | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="solana-foundation/pay")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem