receiptrail-mcp 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +27 -7
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # receiptrail-mcp
2
2
 
3
- **ReceiptRail** MCP server (stdio bridge) — issue and verify **on-chain x402 delivery receipts on Solana**.
3
+ > ⚠️ **Official package notice**: this is the official `receiptrail-mcp`, published by npm user [`eidonze`](https://www.npmjs.com/~eidonze), repo [`xka0085-byte/agenttoll`](https://github.com/xka0085-byte/agenttoll). We are **NOT affiliated** with `agenttoll-mcp` (Base), `@agenttoll/sdk`, `agent-toll`, `agenttoll.dev` or 402.ad's "AgentToll". Verify the remote endpoint: `https://agenttoll-receipts.app.workbuddy.host/mcp`.
4
+
5
+ **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).
4
6
 
5
7
  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.
6
8
 
@@ -30,6 +32,7 @@ https://agenttoll-receipts.app.workbuddy.host/mcp
30
32
  | `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"`. |
31
33
  | `verify_receipt` | free | Verify a receipt against live Solana state: PDA owner must be the ReceiptRail program, stored digest and payment ref must match. |
32
34
  | `get_receipt` | free | Full receipt details by `receipt_id` or `x402_payment_ref` (payment_ref always resolves on-chain). |
35
+ | `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. |
33
36
 
34
37
  ## Why not just app-layer signed receipts?
35
38
 
package/package.json CHANGED
@@ -1,14 +1,34 @@
1
1
  {
2
2
  "name": "receiptrail-mcp",
3
- "version": "0.2.0",
4
- "description": "ReceiptRail MCP (stdio bridge): issue and verify on-chain x402 delivery receipts on Solana. Hash-locked, verifiable proof of delivery for AI agent payments.",
3
+ "version": "0.3.0",
4
+ "description": "ReceiptRail MCP — on-chain x402 delivery receipts on Solana + official x402 offer-receipt verification",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "bin": { "receiptrail-mcp": "mcp-server.mjs" },
7
+ "bin": {
8
+ "receiptrail-mcp": "mcp-server.mjs"
9
+ },
8
10
  "main": "mcp-server.mjs",
9
- "files": ["mcp-server.mjs", "README.md"],
10
- "keywords": ["x402", "mcp", "receipt", "escrow", "solana", "usdc", "proof-of-delivery", "agent-payments", "receiptrail"],
11
- "engines": { "node": ">=18" },
12
- "repository": { "type": "git", "url": "git+https://github.com/xka0085-byte/agenttoll.git" },
11
+ "files": [
12
+ "mcp-server.mjs",
13
+ "README.md"
14
+ ],
15
+ "keywords": [
16
+ "x402",
17
+ "mcp",
18
+ "receipt",
19
+ "escrow",
20
+ "solana",
21
+ "usdc",
22
+ "proof-of-delivery",
23
+ "agent-payments",
24
+ "receiptrail"
25
+ ],
26
+ "engines": {
27
+ "node": ">=18"
28
+ },
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+https://github.com/xka0085-byte/agenttoll.git"
32
+ },
13
33
  "homepage": "https://agenttoll-receipts.app.workbuddy.host/"
14
34
  }