TrustNotch

v0.1.1
com.trustnotch/trustnotch-mcp Checked 1 day ago Published 3 months ago

Tamper-evident audit logs for AI agents: submit, fetch, and verify cryptographic proof bundles.

MCP server for TrustNotch — tamper-evident audit logs for AI agents. A local (stdio) Model Context Protocol server that exposes the TrustNotch API as tools an MCP client (Claude Desktop, etc.) can call: submit a log entry, fetch one, fetch its proof bundle, and verify a proof offline — the server it talks to is never trusted to vouch for its own logs. Set these in your MCP client's server config (env):

Summary extracted from the README.

trustnotch-mcp

MCP server for TrustNotch — tamper-evident audit logs for AI agents.

A local (stdio) Model Context Protocol server that exposes the TrustNotch API as tools an MCP client (Claude Desktop, etc.) can call: submit a log entry, fetch one, fetch its proof bundle, and verify a proof offline — the server it talks to is never trusted to vouch for its own logs.

Install

uvx trustnotch-mcp

or pip install trustnotch-mcp.

Configure

Set these in your MCP client's server config (env):

  • TRUSTNOTCH_API_KEY (required) — your tn_live_... / tn_test_... API key.
  • TRUSTNOTCH_API_URL (optional) — defaults to https://api.trustnotch.com.
  • TRUSTNOTCH_PUBKEYS_PATH (optional) — pin a local public-key file for stronger verification independence.

Tools

  • submit_log — record a tamper-evident log entry (a JSON payload, or a pre-computed SHA-256 for zero-PII mode).
  • get_log — fetch a previously submitted entry by id.
  • get_proof — fetch the proof bundle (signed receipt + Merkle inclusion proof + OpenTimestamps Bitcoin anchor).
  • verify_proof — verify a bundle locally, offline.
  • verify_log — fetch + verify in one step.

License

Apache-2.0