Skip to content

MCP tool reference

These are the tools kovra exposes to an MCP client such as Claude Code. Each one runs through kovra’s single policy decision; the table notes what comes back and the rule that governs it. No tool ever returns a sensitive plaintextreveal is the only value-returning tool, and only within a narrow exception.

Coordinates follow the coordinate grammar; anything outside the session scope is unaddressable and never appears.

ToolReturnsGoverning rule
listMetadata for every addressable secret — coordinate, sensitivity, mode, fingerprint, flagsValues never returned; out-of-scope secrets are absent
statusMetadata for one coordinateErrors if the coordinate isn’t addressable in this session
fingerprintA short, truncated fingerprint of a valueTruncated by design — enough to compare, never to reconstruct
ToolReturnsGoverning rule
inject_run{status, stdout, stderr} with vault values maskedValues go into the child process’s environment, never the caller’s context. high/prod requires an allowlisted executable and an attended kovra approve
revealThe plaintext value, into contextPermitted only for a secret marked revealable that is non-prod and non-high. prod / high / inject-only are never returned
ToolReturnsGoverning rule
setThe new metadata (not the value)A prod secret is born high
generateMetadata onlyValue is generated server-side and stored; never returned
edit_metadataUpdated metadataEdits sensitivity / description / revealable / reference; lowering sensitivity is separately audited
deleteConfirmationErrors if the coordinate isn’t addressable in this session

Three properties hold across every row, and they’re worth naming because they’re the reason an agent can be trusted with these tools at all:

  1. Reading metadata is always safe — listing, diagnosing, and fingerprinting never touch a value.
  2. Using a value never reveals itinject_run delivers a secret through a process and masks it on the way out.
  3. Creating a value never exposes itset and generate return only metadata, so a freshly generated credential never passes through the model’s context.

The single exception — reveal — is deliberately the most constrained tool of all. See kovra over MCP for the narrative version and the decision process for exactly how each call is judged.