examples/

directory
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2026 License: MIT

Directories

Path Synopsis
mcppay
client command
Command mcppay-client pays for an MCP tool call whose payment challenge arrives inline in the CallToolResult, rather than as an HTTP 402.
Command mcppay-client pays for an MCP tool call whose payment challenge arrives inline in the CallToolResult, rather than as an HTTP 402.
Command paidmcp is a minimal, real MCP server that charges callers over ATXP for a tool call, using chit's server package.
Command paidmcp is a minimal, real MCP server that charges callers over ATXP for a tool call, using chit's server package.
client command
Command paidmcp-client drives the payer side of the examples/paidmcp demo: connects to a running paidmcp server over ATXP and calls its "ping" tool, paying for it via the full OAuth + payment retry flow.
Command paidmcp-client drives the payer side of the examples/paidmcp demo: connects to a running paidmcp server over ATXP and calls its "ping" tool, paying for it via the full OAuth + payment retry flow.
Command x402stranger is a minimal x402 merchant that proves the actual promise of self-custodial x402 payments: a caller with no ATXP account, no OAuth relationship, and no prior interaction with this merchant can still pay for a resource and receive it.
Command x402stranger is a minimal x402 merchant that proves the actual promise of self-custodial x402 payments: a caller with no ATXP account, no OAuth relationship, and no prior interaction with this merchant can still pay for a resource and receive it.
client command
Command x402stranger-client pays for examples/x402stranger's resource with nothing but a raw private key: no ATXP account, no OAuth, no prior relationship with the merchant at all.
Command x402stranger-client pays for examples/x402stranger's resource with nothing but a raw private key: no ATXP account, no OAuth, no prior relationship with the merchant at all.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL