receiptrail-mcp
v0.3.0
Published
ReceiptRail MCP — on-chain x402 delivery receipts on Solana + official x402 offer-receipt verification
Maintainers
Readme
receiptrail-mcp
⚠️ Official package notice: this is the official
receiptrail-mcp, published by npm usereidonze, repoxka0085-byte/agenttoll. We are NOT affiliated withagenttoll-mcp(Base),@agenttoll/sdk,agent-toll,agenttoll.devor 402.ad's "AgentToll". Verify the remote endpoint:https://agenttoll-receipts.app.workbuddy.host/mcp.
ReceiptRail MCP server (stdio bridge) — issue and verify on-chain x402 delivery receipts on Solana, and verify official x402 offer-receipt extension artifacts (docs.x402.org/extensions/offer-receipt).
Hash-locked, escrow-grade, independently verifiable proof of delivery for AI-agent payments. After an x402 settlement, sellers anchor a SHA-256 digest of the delivered content on Solana; buyers verify it offline, forever, with zero trust in the issuer.
Quick start (Claude Desktop / any stdio MCP client)
{
"mcpServers": {
"receiptrail": {
"command": "npx",
"args": ["-y", "receiptrail-mcp"]
}
}
}Remote MCP clients (streamable-http) can connect directly — no npm needed:
https://agenttoll-receipts.app.workbuddy.host/mcpTools
| Tool | Cost | What it does |
|---|---|---|
| issue_receipt | 0.001 USDC via x402 (founding sellers: first 10 free for 30 days) | Anchor a SHA-256 digest of delivered content + settlement reference on Solana. Omit the payment signature to receive the x402 challenge first. Poll get_receipt until outcome === "settled". |
| verify_receipt | free | Verify a receipt against live Solana state: PDA owner must be the ReceiptRail program, stored digest and payment ref must match. |
| get_receipt | free | Full receipt details by receipt_id or x402_payment_ref (payment_ref always resolves on-chain). |
| verify_x402_receipt | free | Verify a signed receipt in the official x402 offer-receipt extension format (JWS, EdDSA/Ed25519 or ES256/P-256; key auto-resolves from did:key/did:web/did:jwk). Cross-verified against the official @x402/extensions verifier. |
Why not just app-layer signed receipts?
Verification requires no trust in the issuer: the receipt lives in a Solana PDA owned by the ReceiptRail program (8ACN1KNEFXM2N2FMzxTfAzB1c3g5n47ZuhbPoUXPnCTp); anyone can re-derive and check the digests offline, forever.
Links
- Open spec: https://github.com/xka0085-byte/agenttoll/blob/master/docs/specs/x402-receipts-draft.md
- Pricing: https://agenttoll-receipts.app.workbuddy.host/
- Official MCP Registry:
io.github.xka0085-byte/receiptrail - Contact: Telegram @EidonZe
MIT licensed. Chain: Solana (devnet during rollout, mainnet-beta at GA).
