DMT Receipts
This local stdio MCP server prepares and verifies canonical DMT memory payloads for Bitcoin Ordinals/TAP inscription.
prepare_memory: canonicalizes a five-fielddmt-memory/v1JSON object, SHA-256 hashes it, and returns an inscription-ready recipe with content UTF-8 and optional TAPdtapointer; extension fields are kept, sorted, and hashed. It does not broadcast transactions or pay fees.verify_inscription: recomputes the canonical SHA-256, optionally cross-checks an expected digest, optionally fetches Ordinals inscription content and compares bytes, and returns explorer links. Withinscription_id, it can also soft-fail query Trac TAP/DMT index metadata.
Anchors memory digests to Bitcoin using OpenTimestamps receipts, enabling portable proof that memory bytes existed no later than the Bitcoin block time once the timestamp is upgraded and verified.
DMT Receipts
Portable, Bitcoin-permanent agent memories via the TAP Protocol / Ordinals.
DMT Receipts is a local stdio MCP server (prepare_memory, verify_inscription) and a browser demo. It turns a five-field dmt-memory/v1 JSON object into an inscription-ready payload. Permanence means those memory bytes are committed on Bitcoin L1 as Ordinals inscription content under TAP ("p":"tap"). Keep the memory and inscription id / txid in storage you control. After prepare_memory, status is prepared. A wallet or Ordinals tool inscribes the bytes and pays the Bitcoin fee.
Live site · Protocol recipe · Repo show-and-tell · Full specification · TAP specs
Maintainer: github.com/Colchora
Start here
The live site prepares and verifies a memory in the browser. Nothing is uploaded; receipts stay in localStorage until you export them. This package is the same protocol as a local MCP server. It is not published to the npm registry, so install it from a clone (below) or use the site.
What you want | Where |
Prepare a memory, no install | |
Verify an inscription | |
Receipts saved in this browser | |
Prove the local tools |
|
Agent index (tools, run, demo) |
|
Canonical byte rules | |
Full protocol | |
Machine-readable manifest | |
MCP registry id |
|
Optional honor-system funding is separate from inscription fees: Support and Buyback.
Related MCP server: deusproof-mcp
What a receipt does—and does not—establish
A receipt can establish | A receipt cannot establish |
These exact canonical bytes were inscribed as Ordinals content in a Bitcoin transaction (when | Who created or owns those bytes; authorship needs a separate signature scheme. |
Local | Truth, accuracy, originality, intent, or exclusive ownership of the memory. |
TAP indexers / Ordinals explorers can show the inscription independently of this repo. | A free hash-only calendar proof. Inscription fees are real Bitcoin fees. |
This MCP server does not broadcast transactions or pay fees. Status after prepare_memory is prepared, not inscribed.
Show and tell
Node.js 18+. npm ci installs dependencies and builds dist/index.js. The server speaks MCP on stdin and stays open until a client connects.
git clone https://github.com/Colchora/dmt-receipts.git
cd dmt-receipts
npm ci
node examples/run-demo.mjsThe script calls prepare_memory on examples/demo-memory.json, then verify_inscription with no inscription id. A passing run prints:
Check | Value |
|
|
| 170 |
|
|
| true |
| false until the bytes are inscribed |
ok stays false while the memory is only prepared. Inscription content that matches the canonical bytes is what makes a later verify succeed. The same numbers are in examples/expected-digest.json.
Cursor loads .cursor/mcp.json after the build. ${workspaceFolder} is the directory that contains that file:
{
"mcpServers": {
"dmt-receipts": {
"type": "stdio",
"command": "node",
"args": ["${workspaceFolder}/dist/index.js"]
}
}
}Claude Desktop and other clients use an absolute path to the built file:
{
"mcpServers": {
"dmt-receipts": {
"command": "node",
"args": ["/absolute/path/to/dmt-receipts/dist/index.js"]
}
}
}Call prepare_memory with the five fields in examples/demo-memory.json (agent_id, key, content, tags, created_at). Pass the returned memory and sha256 to verify_inscription with fetch_content: false and include_trac: false until you have an inscription_id.
Tools:
prepare_memory— canonicalize a memory, hash it, and return an Ordinals/TAP inscription recipe (content UTF-8 + optionaldtapointer).verify_inscription— recompute the digest; optionally fetch inscription content and compare; return explorer links.
Walkthrough: examples/README.md. Agent index: llms.txt. Protocol bytes: live llms.txt.
Checks
npm run typecheck
npm run build
npm testnpm run typecheck runs tsc --noEmit. The compiler uses strict, noUncheckedIndexedAccess, and exactOptionalPropertyTypes. npm test rebuilds dist/, runs the unit tests, and runs examples/run-demo.mjs.
Prepare, inscribe, verify
Call
prepare_memorywithagent_id,key, andcontent.Inscribe
inscription_recipe.content_utf8as Ordinals content (application/jsonortext/plain) with TAP Wallet or any Ordinals/TAP tool. Optional TAPdta(≤512 bytes) may carrysha256:<hex>on token-deploy flows.Store the memory with
inscription_id/txid.Call
verify_inscriptionwith the memory andinscription_id.
The same prepare and verify steps work in the browser with no install: Anchor, then Verify.
Canonical memory format
Compact UTF-8 JSON, no trailing newline, keys sorted by Unicode code point, literal non-ASCII:
{"agent_id":"demo-agent","content":"Remember this exact state.","created_at":"2026-11-05T17:00:00Z","key":"notes/hello","tags":["demo"]}Field | Type | Notes |
| string | Stable identifier for the agent. |
| string | Memory key, slug, or path. |
| string, object, array, number, or boolean | Nested values must be JSON-compatible. |
| array of strings | Use |
| string | ISO-8601 UTC ending in |
(extensions) | any JSON value | Optional. Extra fields are sorted with everything else and included in the hash. |
Protocol and privacy
Inscription content is public on Bitcoin. Do not inscribe secrets. This tool never uploads memory bytes to a backend of its own; if you fetch content during verify, you contact a public explorer.
License
MIT
Support & Tap buyback
Optional honor-system funding lives on the live site:
Support plans — Free prepare, Support, Tap buyback
Buyback hub — all contribution proceeds are directed here (USDC address + local payment-reference log)
Prepare/inscribe memory tooling stays free aside from Bitcoin network inscription fees paid to miners/inscribers. This repository does not process card payments.
Available Tools
2 toolsprepare_memoryA
Canonicalize a dmt-memory/v1 JSON memory, SHA-256 it, and return an Ordinals/TAP inscription recipe (content UTF-8 + optional dta pointer). Additional properties are extension fields: they are kept, sorted, and included in the hash. Does not broadcast a Bitcoin transaction or pay fees. Permanence requires inscribing the content on Bitcoin L1 via TAP Wallet or any Ordinals/TAP tool. Browser UI: https://misty-flame-3nw3.here.now/#anchor
Inputs: key (required), content (required), agent_id (required), tags, +1 more.
verify_inscriptionA
Recompute the canonical SHA-256 of a dmt-memory/v1 object and, when inscription_id is provided, attempt to fetch Ordinals content and compare bytes. Extension fields on memory are included in the hash. Optionally enrich with soft-fail Trac Network TAP/DMT index metadata (deployment, mint holder, transfer amount, accumulator). Returns explorer links plus a trac object. Does not use calendar digest proofs. Browser UI: https://misty-flame-3nw3.here.now/#verify
Inputs: memory (required), txid, sha256, include_trac, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools occupy opposite ends of a single lifecycle: prepare_memory canonicalizes and produces an inscription recipe, while verify_inscription recomputes the hash and checks bytes against an existing inscription. There is no overlapping purpose or plausible way to confuse the two.
Both names follow a strict verb_noun snake_case pattern (prepare_memory, verify_inscription) and use domain-consistent vocabulary. Fully predictable convention with no deviation.
Two tools is borderline thin even for a narrow hashing/verification utility, and the server's purpose (DMT receipt issuance) implies at least a couple more operations. Each tool is clearly earning its place, but the surface feels minimal rather than well-scoped.
The prepare → inscribe (external) → verify loop is covered, and verify_inscription reaches out to fetch real inscription bytes, so there is no dead end in the core workflow. Minor gaps remain, such as batch preparation, a decode/parse helper, or listing previously prepared receipts.
Maintenance
Related MCP Connectors
Create and verify signed, Bitcoin-anchored receipts for AI calls.
Attestable memory, truth, provenance. Hybrid Ed25519 + ML-DSA-65 receipts; USDC settlement on Base.
Notary for AI agents: seal fingerprints, verify proofs, check mandates. Anchored in Bitcoin.
Verified memory for AI agents. Signed assertions, billing attestation, session continuity.
Related MCP Servers
- AlicenseAqualityBmaintenanceStamp, upgrade, and verify Bitcoin timestamps via AI agents using the OpenTimestamps protocol. No API keys required.9140 npm3MIT
- AlicenseAqualityBmaintenanceThe open registry of AI agents. Every agent gets a free birth certificate (a number and a date) and can timestamp what it creates, or only its SHA-256, with an RFC 3161 timestamp and a Bitcoin anchor that anyone can verify without us. Free, no account.11MIT

Orphographofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents and MCP hosts to anchor file hashes to Bitcoin via OpenTimestamps and verify proofs, ensuring files existed before a given time with privacy-preserving local hashing.MIT- AlicenseAqualityBmaintenanceAppend-only evidence receipts for AI records: seal, verify, cite, chain-check, anchor status. A seal proves a record existed at a time, not that its contents are true. Five tools over stdio with npx -y apex-psi-mcp — no account, no key, verification free forever.5826 npm1MIT