@violetclaire/popcorn-mcp 0.1.4 → 0.1.5

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.
package/README.md CHANGED
@@ -7,6 +7,17 @@ agents. POPCORN supplies signed time and digest checkpoints at `https://767-2676
7
7
 
8
8
  ## Try it first, without a wallet
9
9
 
10
+ At the [hosted HTTP MCP endpoint](https://767-2676.com/mcp), call
11
+ `popcorn_sample` with `{}`. This free check verifies a real historical TAIN 2.0
12
+ receipt dated October 14, 2026: `genuine.accepted: true`,
13
+ `changed_digest_control.accepted: false`, and `passed: true`. It requires no
14
+ wallet and returns `payment_sent: false`, `current_time_established: false`,
15
+ and `authorization_granted: false`. It does not independently establish
16
+ issuer-key trust or check on-chain settlement.
17
+
18
+ The bundled npm sample below is a separate offline evaluation of historical
19
+ pre-TAIN receipts.
20
+
10
21
  Save [sample.mjs](https://767-2676.com/schedule/sample.mjs), read it, then run
11
22
  `node sample.mjs` with Node.js 20 or newer. This standalone sample includes an
12
23
  exact eight-line schedule with `who`, its SHA-256 digest, and a real signed
@@ -26,10 +37,10 @@ npm run build
26
37
  node dist/packages/mcp/src/index.js --sample
27
38
  ```
28
39
 
29
- After version 0.1.4 is published to npm, run:
40
+ Run this release's bundled offline sample with:
30
41
 
31
42
  ```bash
32
- npx -y @violetclaire/popcorn-mcp@0.1.4 --sample
43
+ npx -y @violetclaire/popcorn-mcp@0.1.5 --sample
33
44
  ```
34
45
 
35
46
  The evaluation checks the eight-line task schedule and two legacy, historically settled receipts with the
@@ -39,13 +50,15 @@ one-byte change for each. Every result retains `authorization_granted: false`.
39
50
  The sample needs no account, wallet, or original task data. npm may download
40
51
  the package; the verification itself runs entirely offline.
41
52
 
42
- Inside a connected MCP client, call `popcorn_sample` with `{}` for the same
43
- result. Its public source links let another developer repeat the check.
44
- The bundled historical keys are for sample reproduction. A real task requires
53
+ With the npm package or this source checkout running as a local stdio MCP
54
+ server, call `popcorn_sample` with `{}` for this bundled historical result.
55
+ The hosted HTTP MCP endpoint runs the separate TAIN 2.0 sample described above.
56
+ The bundled sample's public source links let another developer repeat the check.
57
+ Its historical keys are for sample reproduction. A real task requires
45
58
  independently trusted issuer keys; an old receipt is not a fresh clock reading.
46
- This offline sample tests historical pre-TAIN receipts only. Passing it does
47
- not test the currently deployed TAIN 2.0 service or establish integration
48
- readiness.
59
+ This bundled offline sample tests historical pre-TAIN receipts only. Passing
60
+ it does not test the currently deployed TAIN 2.0 service or establish
61
+ integration readiness.
49
62
 
50
63
  ## Use it for a real task
51
64
 
@@ -102,10 +115,15 @@ It is free, local, and sends no network request.
102
115
 
103
116
  ### `popcorn_sample`
104
117
 
105
- Runs the two public receipt examples and their tamper controls locally. This
106
- is a reproducible evaluation of historical evidence and makes no network
107
- request or payment. Input: `{}`.
108
- Its historical receipts are not a TAIN 2.0 conformance test.
118
+ Input: `{}`. The result depends on which server you connect to:
119
+
120
+ - **Hosted HTTP MCP at `https://767-2676.com/mcp`:** verifies the historical
121
+ October 14, 2026 TAIN 2.0 receipt and rejects the changed-digest control.
122
+ It sends no payment and establishes neither current time nor authorization.
123
+ - **Local stdio MCP from npm 0.1.5 or this source checkout:** checks the
124
+ bundled eight-line schedule, two historical pre-TAIN receipt examples,
125
+ and their tamper controls. It makes no network request or payment.
126
+ These historical receipts are not a TAIN 2.0 conformance test.
109
127
 
110
128
  ### `popcorn_verify_v2`
111
129
 
@@ -31,7 +31,7 @@ const jsonObject = z.record(z.string(), z.unknown());
31
31
  export function createServer() {
32
32
  const server = new McpServer({
33
33
  name: "popcorn",
34
- version: "0.1.4",
34
+ version: "0.1.5",
35
35
  });
36
36
  server.registerTool("popcorn_sample", {
37
37
  title: "Try Briarwood's signed witness for free",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@violetclaire/popcorn-mcp",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "mcpName": "io.github.violetclaire/popcorn-mcp",
5
5
  "description": "Trusted timestamp and proof-of-existence evidence for authorization expiry, with a free offline sample and an RFC 3161 / OpenTimestamps comparison.",
6
6
  "type": "module",