vouch-mcp
v3.3.0Sign and verify W3C Verifiable Credentials so AI agents can cryptographically authorize actions.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sign
Issue a Vouch Credential authorizing a single sensitive action. Call this before any authenticated request to an external service. The returned credential binds this agent's identity to this exact action and resource, so a downstream service can confirm the call was authorized. Args: action: The verb, e.g. 'read', 'write', 'execute', 'send'. target: The service or URL being called. resource: The specific object, e.g. 'customer:123'. Defaults to target. post_quantum: If true, sign under the hybrid post-quantum profile (hybrid-eddsa-m…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
target * | string | |
post_quantum | boolean | |
resource | ||
valid_seconds |
verify
Verify a Vouch Credential that another agent or service presented. This is the receiving side: given a credential (the JSON another party's sign produced), confirm the signature, validity window, and intent binding. Any MCP client can call this without installing an SDK. Each short-lived credential (valid 12 hours or less) verifies once per server: this server remembers every such credential it accepts until it expires, so presenting the same one again answers "this credential was already used". Verify a credential when you are about to act on it, not as a pre…
| Parameter | Type | Description |
|---|---|---|
credential_json * | string | |
public_key |
create_session
Issue a trust-decaying session voucher (Heartbeat Protocol). Unlike a plain long-lived credential, a session voucher carries a trust value that decays over time (Trust Entropy). A verifier recomputes the current trust with compute_trust_at and can refuse a high-stakes action once trust falls below a threshold, unless the session is refreshed. Args: purpose: What the session is for, e.g. 'calendar_access'. valid_seconds: Voucher lifetime in seconds (default 3600). decay_lambda: Trust decay rate per second (default 0.0005). initial_trust: Sta…
| Parameter | Type | Description |
|---|---|---|
purpose * | string | |
decay_lambda | number | |
initial_trust | number | |
valid_seconds | integer |
check_revocation
Check whether a credential has been revoked via its status list. Reads the credential's BitstringStatusList entry (credentialStatus) and, only for an issuer this server trusts (VOUCH_TRUSTED_ISSUERS, the trusted roots, or this server itself), verifies the credential, fetches the status list through the guarded fetcher, checks that the list is signed by the credential's issuer and is inside its validity window, and reads the bit. Anything that cannot be checked is reported as UNAVAILABLE, never ACTIVE. Args: credential_json: The credential as a JSON string.…
| Parameter | Type | Description |
|---|---|---|
credential_json * | string |
get_identity
Return this agent's DID (Decentralized Identifier).
evaluate_freshness
Decide if a revocation snapshot is fresh enough for a disconnected action. Bounded-staleness revocation gate (PAD-106) for delay-tolerant / offline use: a verifier that cannot fetch a live status list weighs the age of the snapshot it holds against the consequence of the action, and fails closed when the view is too old. A routine beacon tolerates a 30-day-old snapshot; a critical maneuver does not (1-hour default budget). Args: tier: Consequence tier: 'routine', 'sensitive', or 'critical' (default). An unknown tier is treated as 'critical' (fail-c…
| Parameter | Type | Description |
|---|---|---|
now_iso | ||
snapshot_json | ||
tier | string |
check_intent_freshness
Decide if a reasoned action's intent seal is fresh enough for its tier. Event-triggered intent recheck (the secondary seal). A heartbeat proves an agent is still running; it does not prove the agent's intent is current at the moment of a sensitive action. Someone who knows the pulse interval could time a sensitive action to land in the gap between two heartbeats, riding on an intent sealed earlier. The credential's own signature is checked first (with ``public_key``, or the key of a did:key issuer, or the DID document of a trusted did:web issuer). For a sensit…
| Parameter | Type | Description |
|---|---|---|
credential_json * | string | |
last_pulse * | string | |
escrow_public_key | ||
now_iso | ||
public_key | ||
tier | string |
verify_disconnected_edge
Authenticate a disconnected-edge (DTN) credential's signature. Verifies the eddsa-jcs-2022 proof of any disconnected-edge credential type (PAD-106 to PAD-124): freshness tokens, channel-geometry presence, ephemeris-scoped grants, dead-man and accumulator revocation, distress and trust-state updates, time-quality, autonomy schedules, integrity risk, perception claims, DTN bundle custody, and more. This confirms authenticity and returns the credential's type and subject; the geometry, epoch-gap, region, and staleness *predicates* are applied by the holder with its ow…
| Parameter | Type | Description |
|---|---|---|
credential_json * | string | |
public_key * | string |
scan
Scan text for leaked Vouch private keys and other key material. Run this over anything about to leave a trust boundary -- a diff, a log line, a chat message, a file the agent is about to paste or commit -- to catch an Ed25519 private JWK, a private multibase key, a hybrid post-quantum secret, a seed env var, or a DID document that embeds a private key, before it is exposed. Args: text: The text to scan (source, config, log output, message body). Returns: 'CLEAN' when nothing sensitive is found, or a list of findings with their kind, severi…
| Parameter | Type | Description |
|---|---|---|
text * | string |
decode_did
Decode a DID key or Multikey and report its algorithm. Accepts a ``did:key:z...`` identifier or a bare ``z...`` Multikey and reports the key algorithm and raw public-key size. Use it to inspect an identifier before trusting it -- for example to confirm a peer's key is an Ed25519 (``ed25519-pub``) key and not an unexpected algorithm. Args: key: A ``did:key:z...`` DID or a bare ``z...`` Multikey string. Returns: The decoded algorithm and public-key length, or a rejection reason.
| Parameter | Type | Description |
|---|---|---|
key * | string |
delegate
Issue a narrowed delegation grant to another agent. The principal (this server's identity) authorizes ``action`` on ``target``/``resource`` and hands the grant to a sub-agent. Every action the sub-agent signs is chained under this grant and can only *narrow* the authority, never widen it (Specification 9.3). Use this to give a worker agent exactly one scoped capability with an optional expiry. Args: action: The verb being delegated, e.g. 'charge', 'read', 'send'. target: The service or URL the grant applies to. resource: The specific object the…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
resource * | string | |
target * | string | |
parent | ||
reputation_score | ||
to | ||
valid_seconds |
check_action
Decide whether a DID may take one action on one resource (Shield). A pure authorization check against this server's rules file. It matches on the same three fields a Vouch Credential binds in ``credentialSubject.intent``, so the policy asks exactly the question the evidence answers. Requires VOUCH_RULES to point at a Shield rules file. Without it Shield holds no authority and everything is denied. Args: action: The verb being gated, e.g. 'read_file'. Matched exactly. target: The service or surface, e.g. 'filesystem'. Matched exactly. resource:…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
did * | string | |
resource * | string | |
target * | string |
check_action_aat
Decide whether an AAT delegation chain permits a tool call (Shield). The counterpart to ``check_action`` for deployments that carry authority as an Attenuating Authorization Token chain. Rules come from the verified chain's **leaf** -- the authority after all narrowing -- rather than from a static capability grant. Unlike ``check_action``, this evaluates the call's *arguments* too: an AAT leaf can restrict ``path`` to ``reports/*``, and a call outside that is denied even though the tool itself is permitted. Requires ``VOUCH_AAT_CHAIN`` to point at a chain fil…
| Parameter | Type | Description |
|---|---|---|
tool * | string | |
args_json | string |
check_trust
Recompute a session voucher's live trust and compare it to a threshold. A session voucher's trust decays over time (Trust Entropy). Before honoring a high-stakes action, recompute the *current* trust and refuse if it has fallen below the threshold you require -- unless the session is refreshed. Pair this with create_session, which issues the voucher. The voucher must also be authentic and current: its proof must verify and it must be inside its validity window, otherwise the answer is DENY with a reason, whatever its trust value. Args: voucher_json: T…
| Parameter | Type | Description |
|---|---|---|
voucher_json * | string | |
now_iso | ||
threshold | number | |
validator_public_key |
disclose_ai_origin
Sign a disclosure that a piece of content is AI-generated. Issues a Vouch Credential attesting that this agent produced the content identified by ``content_hash``. Attach it alongside generated text, images, or code so any downstream party can verify the AI-origin claim cryptographically rather than trusting an unsigned label. Args: content_hash: A content digest, e.g. 'sha256:ab12...'. content_ref: Optional locator for the content (URL or path). Defaults to the generic label 'ai-generated-content'. Returns: A compact JSON Vouch Cr…
| Parameter | Type | Description |
|---|---|---|
content_hash * | string | |
content_ref |
create_authority_state
Publish this authority's current epoch and status as a signed credential. An AuthorityState credential carries a monotonic ``authorityEpoch`` counter and a status. Bump the epoch on every authority-relevant transition (a mandate suspended, an incident opened, a key exposure, a revocation) and publish a fresh state. Verifiers that track the highest epoch they have seen can then refuse a session voucher minted under an older epoch. Args: authority_epoch: The monotonic epoch counter, a non-negative integer. It must strictly increase on every authority…
| Parameter | Type | Description |
|---|---|---|
authority_epoch * | integer | |
status | string | |
subject_did | ||
valid_seconds | integer |
verify_authority_state
Verify an AuthorityState credential an authority published. Confirms the eddsa-jcs-2022 proof, that the signing key belongs to the issuer, that the validity window covers now, and that the epoch and status are well formed. On success it reports the epoch and status, which is what a verifier records as the highest epoch it has seen for that authority. Args: credential_json: The AuthorityState credential as a JSON string. public_key: The issuing authority's Ed25519 public key (Multikey or JWK). Returns: 'VERIFIED' with the issuer, subject, epoch…
| Parameter | Type | Description |
|---|---|---|
credential_json * | string | |
public_key * | string |
check_authority_freshness
Decide whether an action passes the Authority Freshness gate. Compares the epoch a session voucher was minted under against the highest epoch this verifier has learned for the authority, and weighs the result against the action's consequence tier: - 'routine': time-decay trust only, so this gate always allows. - 'sensitive': the epoch comparison, applied locally against the epoch the verifier already holds. No network call at action time. - 'critical': the epoch comparison plus a live M-of-N quorum co-sign read at action time. Verify that co-sign separatel…
| Parameter | Type | Description |
|---|---|---|
current_status | ||
last_seen_epoch | ||
live_cosign_ok | boolean | |
tier | string | |
voucher_epoch |
reputation
Compute an agent's reputation score from a history of outcomes. Replays a sequence of recorded outcomes for ``did`` and returns the current reputation score and success rate. Use it to weigh how much to trust a peer agent that has a track record, or to gate a sensitive action on a minimum standing. Args: did: The DID whose reputation to compute. events_json: A JSON array of events, each '{"outcome":"success"|"failure","reason":"..."}', or a '{"boost"|"slash": <amount>, "reason":"..."}' adjustment. Returns: The computed…
| Parameter | Type | Description |
|---|---|---|
did * | string | |
events_json * | string |
attribute
Attribute authorship from a signed attribution manifest. Given an attribution manifest (which records, per file, what a human wrote versus what an AI agent generated), summarize the human/AI/pre-existing split across the whole manifest, or -- when ``path`` is given -- report the per-region authorship of that one file. Args: manifest_json: The attribution manifest as a JSON string. path: Optional file path to blame; omit for a whole-manifest summary. Returns: A per-file blame breakdown, or a manifest-wide authorship summary.
| Parameter | Type | Description |
|---|---|---|
manifest_json * | string | |
path |
robot_check_action
Check a robot's proposed physical action against its capability scope. The pre-actuation gate of the VLA accountability loop: given the physicalScope from a signed PhysicalCapabilityScope credential and a proposed action, decide deterministically whether the action stays inside the envelope. An over-speed motion near a human or a move outside an allowed zone is denied with the exact reason. Args: scope_json: The physicalScope object as JSON (or a whole PhysicalCapabilityScope credential; its credentialSubject .physicalScope is used), e.…
| Parameter | Type | Description |
|---|---|---|
action_json * | string | |
scope_json * | string |
robot_check_conformance
Check a robot's credentials against a regulatory conformance profile. The evidence-pack check: given the credentials a robot presents (a JSON array) and a built-in profile id (eu-ai-act-high-risk, iso-10218, iso-ts-15066, eu-machinery-2023-1230, or ul-3300), report per clause whether the set satisfies the regulation, CONFORMS or the exact gaps. The caller is expected to have verified the credentials' signatures; this checks structure and coverage. Args: credentials_json: A JSON array of the robot's credentials. profile_id: One of the built-in profi…
| Parameter | Type | Description |
|---|---|---|
credentials_json * | string | |
profile_id * | string |
robot_verify_conformance_attestation
Verify a signed robot conformance attestation offline. Checks the assessor's proof over a RobotConformanceAttestation and that the embedded report matches its bound digest, so a tampered report (for example a flipped 'conforms') is rejected. Args: attestation_json: The RobotConformanceAttestation credential as JSON. issuer_public_key_jwk: The assessor's Ed25519 public key as a JWK JSON string. Returns: 'VALID' with the profile and verdict, or 'INVALID'.
| Parameter | Type | Description |
|---|---|---|
attestation_json * | string | |
issuer_public_key_jwk * | string |
robot_verify_credential
Verify a robot credential, classical or post-quantum, auto-detected. The provenance-on-load check of the VLA accountability loop, and the general verify for any vouch.robotics credential: verifies the proof (or post-quantum proof set) a robot credential carries under the robot's key. A post-quantum credential requires the ML-DSA-44 public key; a classical credential ignores it. Args: credential_json: The robot credential as JSON. ed25519_public_key_jwk: The robot's Ed25519 public key as a JWK JSON string. mldsa44_public_key: Optiona…
| Parameter | Type | Description |
|---|---|---|
credential_json * | string | |
ed25519_public_key_jwk * | string | |
mldsa44_public_key |