semanticdatacharter avatar

Sdcreceipt Ts

semanticdatacharter/sdcreceipt-ts

Verify VSL Settlement Receipts and sign triggers in TypeScript, conforming to sdcreceipt.

tools
3
transport
STDIO
last updated
Nov 9, 2026

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

verify_receiptEvery check, with each result; no network, no account

Every check, with each result; no network, no account

No parameter schema in public metadata yet.

sign_triggerSigns as the identity the server was started with (`mcp --key FILE --key-id URI`); offered only then; returns the trigger unsubmitted

Signs as the identity the server was started with (`mcp --key FILE --key-id URI`); offered only then; returns the trigger unsubmitted

No parameter schema in public metadata yet.

settleAsks the issuer the server was started with (`mcp --endpoint URL`, token in `--token` or `SDCRECEIPT_TOKEN`) to issue a Receipt; offered only then. A refused transition comes back as a result, with the states that would work

Asks the issuer the server was started with (`mcp --endpoint URL`, token in `--token` or `SDCRECEIPT_TOKEN`) to issue a Receipt; offered only then. A refused transition comes back as a result, with the states that would work

No parameter schema in public metadata yet.

Sponsors

Readme

sdcreceipt-ts

Verify VSL Settlement Receipts, sign settlement triggers and request Receipts from an issuer in TypeScript, with the same results as sdcreceipt, the reference implementation.

Conforms to:

  • the VSL conformance kit 1.1: all 17 Receipt vectors, each invalid one failing on the check the manifest names, and all 5 key-document cases;
  • sdcgovernance's vectors: all 21 RFC 8785 vectors, and the decision-table and governance-Receipt vectors (every table hash, all 37 evaluations, all 9 governance Receipts).

CI runs both, pinned to a fixed commit and release.

It runs in Node (20 or later), Deno and browsers. Verifying and signing need no network and no account. You supply the keys, so a Receipt can never nominate the key it is judged by. Only settle reaches an issuer.

import { assembleKeys, verify } from 'sdcreceipt-ts';

View the full README on GitHub

Details

Repository
github.com/semanticdatacharter/sdcreceipt-ts
Package
sdcreceipt-ts
Transport
STDIO
Registry
MCP registry, active