io.github.sipyourdrink-ltd/bernstein-mcp
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Verifies Bernstein run receipts and hash chains; lists the shipped presets and adapters. Read-only.
| Author | io.github.sipyourdrink-ltd |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 2444 ms |
| Last measured | 2026-10-24 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"bernstein-mcp": {
"url": "https://mcp.bernstein.run/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (11)
server_infoIdentity, version, and request limits for this MCP server.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
verify_receiptRecompute every hash chain a bernstein run receipt embeds (journal, lineage spine, optional audit range), rebuild the signed subject from the recomputed heads, and check the Ed25519 signature with the key the receipt carries. Needs no secret and reads nothing but the receipt. Returns the verdict, the first failing check, one line per check, and the same verdict as a DSSE envelope signed by this verifier's Ed25519 key (public key at keys_url) so the outcome can be kept and re-checked offline.
Parameters:
receipt(required) — The run receipt: pass the file contents as a string for byte-exact verification, or the parsed object.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
explain_receiptVerify a run receipt and narrate the result in plain language: what the run recorded, which chains recomputed, where the first divergence is, and what an auditor can and cannot conclude without the producing install's keys.
Parameters:
receipt(required) — The run receipt: pass the file contents as a string for byte-exact verification, or the parsed object.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
verify_chainWalk bernstein chain rows and recompute every link: journal rows (event_hash), lineage spine entries (entry_hash) or audit events (prev_hmac linkage). The row kind is detected from the fields, or pass `kind` explicitly. Reports the first divergent index. Pass `entries` as the file text (a JSON array or one row per line, as journal.jsonl is written) for byte-exact hashing; a parsed array also works, but then a float spelled 1.0 or -0.0 in the file cannot be told apart from an integer.
Parameters:
entries(required) — Rows in chain order, oldest first: a JSON array, or the raw text of the file.kind— string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
verify_trace_recordTRACE v0.2 conformance checks on one Trust Record, stateless, no account: schema (vendored trace-claim.json), profile, subject URI, software-only runtime rule, policy digest, public-only confirmation key, the embedded signature (EdDSA, ES256 or ES384 with the key in cnf.jwk), appraisal, delegation link shape and references. Nothing is fetched: resolvers are checked as URIs only. `record_sha256` is the RFC 8785 digest of the complete record, signature included — the value a child hop puts in delegation.parent_record_hash.
Parameters:
record(required) — A TRACE v0.2 Trust Record: the file contents as a string, or the parsed object.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
verify_agent_manifestAgent Manifest v0.2 conformance checks on one manifest, stateless, no account: schema (vendored agent-manifest.schema.json), profile context, version, canonicalization, COSE envelope signature (Ed25519, key identified by kid in the protected header; ML-DSA-65 is reported unverifiable). Optionally checks that a TRACE Trust Record cites this manifest by digest. Nothing is fetched; resolvers are checked as URIs only. The manifest hash is sha256 over the COSE payload bytes (or RFC 8785 canonical JSON for object input).
Parameters:
manifest(required) — The agent manifest: COSE envelope as base64 string, or the parsed JSON object (payload).trustRecord— object — Optional TRACE v0.2 Trust Record to check if it cites this manifest (references[].rel == 'agent-manifest').
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
verify_delegation_chainTRACE v0.2 delegation-chain conformance, stateless, no account: index every Trust Record by the RFC 8785 digest of its complete form, start at the leaf, follow delegation.parent_record_hash to the root, and check each hop's signature, the root key against `trusted_root_keys`, the depth bound, the link's digest algorithm, the credential (registered, issuer = parent subject, holder = record subject, window at the hop's own iat) and data_class narrowing under `data_class_lattice`. Classification: provenance-invalid outranks authorization-invalid; an unread link is unverifiable, not broken. Pass `records` as a JSON array or as file text (one record per line or a JSON array).
Parameters:
records(required) — The record set in any order: a JSON array of records (objects or strings), or the raw text of a file.context— object
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
explain_trace_mappingHow a bernstein run maps onto a TRACE v0.2 Trust Record: one row per claim with the journal field it is sourced from and the rule that derives it. Pass a run receipt to fill in the rows its embedded journal can answer (subject, iat, model, data_class, policy digest, tool transcript) alongside the receipt's own verdict.
Parameters:
receipt— Optional run receipt: the file contents as a string, or the parsed object.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
list_presetsThe compliance presets bernstein v3.19.2 ships, with the switches each one turns on.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
get_presetEvery field of one compliance preset as bernstein v3.19.2 resolves it.
Parameters:
name(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
list_adaptersThe agent adapters bundled with bernstein v3.19.2: adapter name, the binary it drives, the module that implements it.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.