Code examples for using the Machine Payments Protocol (pympp).
| Example | Description |
|---|---|
| fetch/ | CLI tool for fetching URLs with automatic payment handling |
| mcp-server/ | MCP server with payment-protected tools |
| stripe/ | Stripe SPT payment flow (server + headless client) |
| Example | Description |
|---|---|
| httpx-client.md | Client-side payment handling with httpx |
| fastapi-server.md | Server-side payment protection with FastAPI |
| starlette-server.md | Server-side payment protection with Starlette |
| mcp-server.md | MCP server patterns (documentation) |
| custom-intents.md | Creating custom payment intents |