ReceiptRail
Read-only on-chain receipt check for x402 payments; confirm settlement before trusting a tx.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"receiptrail": {
"url": "https://agenttoll-receipts.app.workbuddy.host/mcp"
}
}
}远程端点
https://agenttoll-receipts.app.workbuddy.host/mcpstreamable-http它能做什么
工具清单
工具(3)
⚪issue_receipt(x402_payment_ref, deliverable_digest, x402_payment_signature, buyer, seller)
Anchor a SHA-256 digest of delivered content plus the x402 settlement reference on Solana. Returns a permanent, publicly verifiable receipt (poll until outcome === "settled"). Costs 0.001 USDC via x402; if x402_payment_signature is omitted, returns the payment challenge instead (pay 0.001 USDC to the service address, then call again with the payment tx signature).
输入模式
{
"type": "object",
"properties": {
"x402_payment_ref": {
"type": "string",
"description": "Unique reference for this transaction (1-128 chars)"
},
"deliverable_digest": {
"type": "string",
"description": "SHA-256 hex digest (64 chars) of the delivered content"
},
"x402_payment_signature": {
"type": "string",
"description": "Solana tx signature of the 0.001 USDC payment to the service address. Omit to receive the payment challenge."
},
"buyer": {
"type": "string",
"description": "Optional buyer identifier (wallet address)"
},
"seller": {
"type": "string",
"description": "Optional seller identifier"
}
},
"required": [
"x402_payment_ref",
"deliverable_digest"
]
}🟢verify_receipt(receipt_id, payment_ref)
Verify an AgentToll receipt against live Solana state: PDA owner must be the AgentToll program and the stored digest must match the receipt. Look up by receipt_id, or by x402_payment_ref (always works — the receipt lives on-chain). Read-only, no cost.
输入模式
{
"type": "object",
"properties": {
"receipt_id": {
"type": "string",
"description": "Receipt id, e.g. r_abcdef1234567890"
},
"payment_ref": {
"type": "string",
"description": "x402_payment_ref of the transaction (use this if receipt_id unknown; resolved on-chain)"
}
}
}🟢get_receipt(receipt_id, payment_ref)
Fetch full receipt details: digests, checks, outcome, amount, buyer, seller, timestamp, PDA. Look up by receipt_id, or by x402_payment_ref (always works — the receipt lives on-chain). Read-only, no cost.
输入模式
{
"type": "object",
"properties": {
"receipt_id": {
"type": "string",
"description": "Receipt id, e.g. r_abcdef1234567890"
},
"payment_ref": {
"type": "string",
"description": "x402_payment_ref of the transaction (use this if receipt_id unknown; resolved on-chain)"
}
}
}社区
证据