MCP server for Sirr secret vault — lets Claude Code read and write ephemeral secrets
The server defines 7 tools with explicit schemas and descriptions visible in src/index.ts. Naming is mostly verb-noun style and clear (store_, read_, inspect_, patch_, burn_, audit_, list_). Descriptions are present but brief (12-70 chars, well below the 50-200 char LLM-optimal range). All tools have input schemas with typed properties. However, several critical gaps reduce quality: (1) parameter descriptions are minimal or generic ('Secret hash to read' lacks context about format/length); (2) output schemas are not documented, callers cannot predict response structure; (3) error handling returns raw error objects without recovery guidance; (4) no parameter constraints (enums, ranges, patterns) despite semantic opportunities (e.g., ttl_seconds should have min/max); (5) no indication of which operations are idempotent or destructive in the API contract itself. The server correctly avoids exposing SIRR_TOKEN as a parameter (server-side injection via env var). Composition is sound, each tool has a single responsibility and clear dependencies (store_secret → read_secret/inspect_secret/patch_secret/burn_secret/audit_secret). Overall, this is a functional but information-sparse MCP server that would benefit from richer parameter documentation and explicit output schema contracts.
Get the audit trail for a secret (requires owner key).
Delete a secret immediately.
Check secret metadata via HEAD without consuming a read.
List all secrets owned by the calling key.
Update an existing secret (requires owner key).
Read a secret value by hash. Consumes a read. Returns null if burned/expired.
No output schemas documented for any tool. Callers cannot predict response structure (field names, types, nesting), forcing trial-and-error and increasing hallucination risk.
Parameter descriptions are too brief (<20 chars common) and generic. Descriptions like 'Secret value to store' and 'Secret hash to read' lack actionable context (format, length, constraints, examples). Rubric baseline: average param description = 72 chars; these average ~25 chars.
No parameter constraints (enums, min/max, regex patterns) despite semantic opportunities. E.g., ttl_seconds should declare min (>0?) and max; reads should declare min (1) and max; hash should describe format (hex string, length). LLMs pass unbounded/invalid values without constraints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 61 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 26 | - | v1 |
Store a secret in Sirr. Returns a hash and URL.
Destructive operations (burn_secret, patch_secret) lack confirmation or dry-run support. Agents make mistakes, irreversible operations should offer confirmation or preview before execution per pattern:confirmation-request.
Tool descriptions are too brief (27-70 chars; rubric baseline 194 chars). Many lack context about WHEN to use the tool, WHAT happens, or recovery hints. E.g., burn_secret doesn't emphasize irreversibility; patch_secret doesn't explain partial update semantics.
No error classification or recovery guidance. Error handler returns raw SirrError messages ('Sirr 404: not found') without context (what to try next, is it retryable, did you mean X?). Per pattern:recovery-guide, errors should guide the agent.
Tool annotations (readOnlyHint, destructiveHint, idempotentHint) absent. Per current spec (2026-07-28), these should be present in Tool definitions to help clients understand operation safety and cachability. burn_secret and patch_secret should be marked destructive; read_secret, inspect_secret, audit_secret, list_secrets should be marked readOnly.
list_secrets lacks pagination parameters (limit, offset, cursor). Per pattern:paginated-result, tools returning lists should support pagination to avoid context explosion. No indication whether results are bounded.
patch_secret behavior for partial updates unstated. If value, ttl_seconds, and reads are optional, does omitting a field preserve the old value or reset it? Ambiguity invites misuse.
Owner key requirement mentioned in descriptions but not documented as a parameter or authentication model. How does an agent obtain/provide an owner key? Is it stored server-side like SIRR_TOKEN, or passed per-call?