Skip to main content
Glama
DINAKAR-S

keywarden

by DINAKAR-S

keywarden

Ihr KI-Agent kann Ihre API-Schlüssel verwenden. Er kann sie niemals lesen.

keywarden ist ein lokaler, verschlüsselter Geheimnistresor, der MCP spricht. Claude Code, Claude Desktop, Cursor oder ein beliebiger anderer MCP-Client verbindet sich damit und erhält zwei Fähigkeiten: einen authentifizierten API-Aufruf ausführen und einen Befehl mit Geheimnissen in seiner Umgebung starten. Keiner der beiden Wege bringt das Geheimnis selbst in den Kontext des Modells.

Es gibt kein get_secret-Tool. Diese Abwesenheit ist das gesamte Produkt.

   agent                keywarden                    upstream
     |                     |                          |
     |  "POST /v1/chat     |                          |
     |   using openai/prod"|                          |
     |-------------------->|                          |
     |                     | check policy             |
     |                     | decrypt key              |
     |                     | attach Authorization     |
     |                     |------------------------->|
     |                     |<-------------------------|
     |  response only      | scrub any key from body  |
     |<--------------------| append to audit log      |

Warum

Der übliche Weg, einem Agenten heute die Verwendung Ihres OpenAI-Schlüssels zu erlauben, besteht darin, den Schlüssel in einer .env-Datei zu platzieren und den Agenten perreaden zu lassen them. In the Moment, in dem das geschieht, ist der Schlüssel im Kontextfenster eines Modells. Von dort aus liegt er in den Protokollen eines Anbieters, möglicherweise in einem Trainingsdatensatz, in einem Absturzbericht und definitiv in Ihrem eigenen Verlaufsskript, das Sie in sechs Monaten in einen Fehlerbericht einfügen werden.

Einen Schlüssel zu rotieren ist lästig. Noch schlimmer ist es, nicht zu wissen, ob er ausgeleakt worden ist.

keywarden entfernt den Schritt, in dem das Modell den Schlüssel überhaupt sieht.

Related MCP server: Echo Vault

Installation

npm install -g keywarden

Node 20.10 oder neuer. Zwei Laufzeitabhängigkeiten: das MCP SDK und zod. Keine nativen Module, kein Compiler, kein Daemon.

Schnellstart

keywarden init --passphrase
keywarden add openai/prod --provider openai
keywarden mcp-config

init erstellt ~/.keywarden/ mit einem verschlüsselten Tresor und einer Standard-Policy, die standardmäßig alles ablehnt. add fragt nach jedem Feld einzeln, sodass nichts in Ihre Shell-Historie gelangt. mcp-config gibt den Block aus, den Sie in Ihren MCP-Client einfügen können.

Dann in Claude Code:

Ruf die OpenAI-Modelle-Endpoint with meinem Produktionsschlüssel auf und sage mir, auf welche Modelle ich Zugriff habe.

Das Modell ruft http_request mit ref: "openai/prod" auf. keywarden hängt den Schlüssel an, führt den Aufruf aus und gibt die Antwort zurück. Bitten Sie es, den Schlüssel auszugeben, und es wird Ihnen sagen, dass es das nicht kann.

Die Werkzeuge, die ein Agent erhält

Werkzeug

Was es tut

list_secrets

Nur Metadaten: Refs, Provider, Feld-Namen, zuletzt verwendet. Niemals Werte.

describe_secret

Ein Geheimnis und wie es verwendet werden darf: welche Hosts, welche Umgebungsvariablen.

list_providers

Eingebaute Voreinstellungen und was jede einzelne erwartet.

http_request

Authentifizierter HTTPS-Aufruf. keywarden fügt das Geheimnis hinzu.

run

Startet einen lokalen Prozess, wobei ein Geheimnis in seiner Umgebung eingefügt wird.

audit_tail

Letzte Einträge aus dem manipulationssicheren Log.

Setzen Sie KEYWARDEN_DISABLE_EXEC=1, um run vollständig zu entfernen und nur den HTTP-Proxy bereitzustellen.

Drei Oberflächen, ein Autorisierungsmodell

Derselbe Tresor, dieselbe Policy-Engine, dieselben Grants und dasselbe Audit-Log sind auf drei Wegen erreichbar. Welchen Sie nutzen, ändert nichts daran, was erlaubt ist.

Oberfläche

Für

Wie der Aufrufer identifiziert wird

MCP (stdio)

Claude Code, Claude Desktop, Cursor

der Client, der den Server gestartet hat

CLI

Sie, an einem Terminal

Dateisystem-Zugriff auf den Tresor

HTTP (loopback)

jede Sprache, CI, ein Skript, eine Web-UI

ein begrenzter keywarden-API-Schlüssel

Die HTTP-Oberfläche ist es, die keywarden aus Code nutzbar macht, der nicht MCP spricht, und sie ist der erste Ort, an der keywarden einen Aufrufer von einem unterscheiden kann:

keywarden apikey create ci-runner --ref 'openai/**' --http --audit --ttl 30d
keywarden serve --port 8787
curl -s http://127.0.0.1:8787/v1/proxy/openai%2Fprod \
  -H "Authorization: Bearer kw_live_..." \
  -H "content-type: application/json" \
  -d '{"method":"POST","url":"/v1/chat/completions","body":{"model":"gpt-4o","messages":[]}}'

Der Aufrufer hält einen keywarden-Schlüssel mit Geltungsbereich openai/**, der nur genau die ihm gewährten Fähigkeiten trägt, in 30 Tagen zu abläuft und mit einem einzigen Befehl widerrufen werden kann. Er hält den OpenAI-Schlüssel nicht. Routen: /v1/secrets, /v1/secrets/:ref, /v1/proxy/:ref, /v1/run, /v1/audit, /v1/usage, /v1/whoami, /healthz.

Der Server bindet an 127.0.0.1 und verweigert ohne --allow-remote eine routbare Schnittstelle, denn jeder, der diesen Port erreichen kann, erhält damit ein Autorisierungs-Oracle für jedes Geheimnis, das der Schlüssel abdeckt.

Wer was verwendet hat – und was es gekostet hat

Jeder Eintrag im Audit-Log nennt einen Akteur, und der Akteur ist in den Hash eingeschlossen, sodass eine Zuordnung nicht umgeschrieben werden kann, ohne die Kette zu brechen. Jede proxierte Antwort wird auf die vom Provider gemeldeten Tokens hin geparst.

keywarden usage --since 7d
CREDENTIAL        CALLS          IN         OUT       TOTAL
openai/prod         142     418,220      96,410     514,630
anthropic/prod       38      92,004      31,887     123,891

ACTOR             CALLS          IN         OUT       TOTAL
http:ci-runner      118     356,900      74,220     431,120
mcp:mcp-client       62     153,324      54,077     207,401

keywarden erfasst Tokens, kein Geld. Preise ändern sich, unterscheiden sich je nach Vertrag, und ein veralteter festkodierter Satz erzeugt eine selbstsichere falsche Zahl in einem Finanzbericht. Beachten Sie: run ist nicht messbar: Eine Sobald kann ein Geheimnis innerhalb eines Unterprozesses gelangt, sieht keywarden nur einen Exitcode, keine Anzahl an Tokens.

Zwei Wege, ein Geheimnis zu verwenden

Proxy für HTTP-APIs. Der Agent beschreibt eine Anfrage, keywarden fügt das Geheimnis ein und führt die Anforderung. Funktioniert für OpenAI, Anthropic, Stripe, GitHub, Slack, Cloudflare, Vercel, Supabase und jede API, die sich mit einem Header oder einem Query-Parameter authentifiziert.

// what the agent sends
{ "ref": "openai/prod", "method": "POST", "url": "/v1/chat/completions", "body": { "model": "gpt-4o", "messages": [] } }

Injection, für den Rest. AWS benötigt SigV4-Signierung, ein Postgres-URL ist überhaupt kein HTTP, und terraform apply will echte Umgebungsvariablen. keywarden startet den Prozess selbst:

{ "command": "aws", "args": ["s3", "ls"], "inject": ["aws/prod"] }

Der Unterprozess bekommt AWS_ACCESS_KEY_ID und andere. Das Modell bekommt stdout, wobei jedes Geheimnis, das darin auftaucht, beim Verlassen des Prozesses maskiert wird.

Richtlinie

~/.keywarden/policy.json entscheidet, welches Geheimnis von welcher Fähigkeit gegen was verwendet werden darf. Regeln werden von oben nach unten ausgewertet, die erste Übereinstimmung gewinnt, und die Voreinstellung ist Verweigernung.

{
  "version": 1,
  "default": "deny",
  "redactResponses": true,
  "rules": [
    {
      "ref": "openai/**",
      "http": { "allow": true, "methods": ["POST"], "paths": ["/v1/**"] },
      "exec": { "allow": false, "commands": [] },
      "rateLimitPerMinute": 30
    },
    {
      "ref": "aws/prod",
      "http": { "allow": false },
      "exec": { "allow": true, "commands": ["aws", "terraform"] },
      "rateLimitPerMinute": 10,
      "expiresAt": "2026-12-31T00:00:00.000Z"
    }
  ]
}

Oder über die CLI:

keywarden policy allow "openai/**" --http --path "/v1/**" --method POST
keywarden policy allow aws/prod --exec aws --exec terraform --arg-deny "s3://*"
keywarden policy test aws/prod exec terraform

* matcht innerhalb eines Pfadsegments, ** spannt Segmente. expiresAt macht eine Regel temporär.

Nur einen Befehl zu nennen, ist nicht genug. Allowlisten Sie aws für aws s3 ls – und dasselbe Binary kann aws s3 cp in einen Bucket, die jemand anderem gehört. Genau das wird die Sequenzlücke, die die MCP-Bedrohungslaktur immer wieder aufweist: Jeder einzelne Aufruf ist autorisiert, und die Kombination ist die Exfiltration. Deshalb schränken Regeln auch Argumente ein:

"exec": {
  "allow": true,
  "commands": ["aws"],
  "argsDeny": ["s3://*", "--endpoint-url"],   // any match refuses the call
  "argsAllow": ["s3", "ls", "--region", "*"]  // if set, every argument must match
}

Grants: Temporärer, ablaufender, nutzungsgedeckelter Zugriff

Eine Richrichtkültur aus einer dauerhaften Konfiguration. Sie ist das floating falsche Form für „lass den Agenten für diese eine Sache, jetzt, für fünfzehn Minuten“, was heute oft das Ausweiten einer Regel bedeutet – und dann das Zurücksetzen wieder vergessen wird.

Ein Grant [Abilities] ist eine Capability, die ihre eigenen Beschränkungen mit sich trägt, entlehnt aus dem Bereich der Macaroon- und Biscuit-Archt, und wird von dir amterminal herausgegeben:

keywarden grant aws/prod --exec aws --ttl 15m --uses 5 --arg-deny "s3://*"
keywarden grant openai/prod --http --path "/v1/chat/**" --method POST --ttl 1h --uses 20
keywarden grant list
keywarden grant revoke <id>

Grants laufen von selbst ab, wenn ihr Nutzungsbudget erschöpft ist, und sind mit einem Schlüssel HMAC- der aus Ihrem Tresor abgeleitet wird, sodass eine handschriftlich bearbeitete grants.json abgelehnt wird, nicht gehrt. Ein Angenw das Abgelehnt wurde, verbraucht keine Nutzungsoption.

Setzen Sie auf einer Regel "requireGrant": true, wird die dauerhafte Konfiguration notwendig, aber nicht hinreichend: Nichts geschieht, bis ein Grant von Ihnen erstellt wird. Das ist der Human-in-the-Loop-Genehmigungsschritt, ohne dass in einem stdio-Server ein interaktiver Prompt sweet.

Richtlinie

Grant

Ergebnis

erlaubt, kein requireGrant

–

erlauben

erlaubt, requireGrant

passender Grant

erlauben

erlaubt, requireGrant

keiner

ablehnen

verweigert

passender Grant

erlauben

verweigert

keiner

ablehnen

Integrität der Konfiguration

Das Verschlüsseln der Geheimnisse ist erst die halbe Aufgabe. policy.json entscheidet, ob ein Geheimnis verwendet werden darf, und providers.json entscheidet, wohin es gesendet werden soll. Beides sind Klartextdateien. Jemand, der nicht ein einziges Byte entschlüsseln kann, kann trotzdem einen Provider hinzufügen, dessen Hosts seiner/ihr gehören, und Ihr Geheimnis dorthin umleiten.

Deshalb verankert der Tresor einen Hash beider Dateien und weigert sich, eine Änderung zu bearbeiten, bis Sie sie angesehen haben:

keywarden trust show    # what drifted
keywarden trust         # review, then pin the current contents

Die Tresordatei selbst ist als Ganze MAC-gesichert, nicht nur pro Feld, denn provider: "openai" auf etwas anderes zu ändern, berührt niemals einen Ciphertext und würde dennoch sauber verifizieren.

Was keywarden tatsächlich durchsetzt

  • Keine Klartext-Tool. Die MCP-Oberfläche hat keinen Code-Thepfad, der einen Geheimniswert zurückgibt.

  • Egress-Allowlist. Ein Geheimnis kann nur an Hosts gesendet werden, die sein Provider deklariert, sowie an jene in von Ihnen ergänzt. Eine Prompt-Injection, die den Agenten veran killen, Ihren Schlüssel an attacker.example zu POSTen, scheitert am Host-Check, noch bevor das Netzwerk berührt wird.

  • Nur HTTPS, keine Weiterleitungen. Eine 302 zu einer anderen Origin wird Ihren Authorization-Header nicht an einen Off-Host weiter replizieren.

  • SSRF-Guard. Loopback, private Bereiche, CGNAT und Link-Local (das auch den Cloud-Metadaten-Endpoint 169.254.169.254 abdeckt) werden blockiert, und die adddesser wird in dem DNS-Lookup-Test validiert, der tatsächlich vom Socket verwendet wird. So kann DNS-Rebinding kein Fenster öffnen.

  • Keine Shell. übergibt ein argv-Array an spawn mit shell: false. Es gibt keine Metazeichen, die man injizieren könnte.

  • Konstruktionsbedingte Unterprozess-Umgebung. Das Kind erhält eine Allowlist von geerbten Variablen zusätzlich zu den injizierten. Ihre anderen Geheimnisse und die eigene Passphrase von keywarden werden nicht vererbt.

  • Ausgabe-Schwärfung. Jedem Tool-Ergebnis werden Bekannt gemachte Geheimniswerte, ihre Base64- und URL-kodierten Formate sowie rund ein Dutzend bekannte Schlüsselsite nachgescannt. Das ist eine Additional Sicherheitsmaßnahme, nicht die primäre Steuerung.

  • Manipulationssichere Auditierung. Jede Entscheidung – erlauben oder ablehnen – wird in einem Hash-verketteten Log aufgehängt. keywarden audit verify berechnet dieKette neu und meldet den ersten veränderten oder gelöschten Eintrag.

  • Integrity of that Three-dor-Datei. Der Tresor wird inklusive seine Metadaten mit MAC gesichert, so kein Geheimnis einem Server ohne Erkennen zuordnen. policy.json und providers.json sind per Hashping an den Tresor und werden bei einem externen Verw Geänderung verworfen.

  • Edefault reaction. Der Server verweigert den Start, wenn NODE_TLS_REJECT_UNAUTHORIZED=0, NODE_OPTIONS oder SSLKEYLOGFILE gesetzt sind, und entsprechend NODE_EXTRA_CA_CERTS und HTTPS_PROXY um eine Warnung. CVE-2026-21852 in Claude Code war ein einziger Umgebungs-Override, der ausgehende traffic mit Authorization umleitet; ein Prozess, dessen Aufgabe es ist, Zugangsdaten zu bereitstellen, nicht starten, wenn der Request-Plans unter fremder Ownership steht.

  • Argumentbeschränkungen. argsAllow/argsDeny schränken ein, welche Aufrufe eines erlaubten Kommandos gestattet sind, nicht nur welches Binary.

  • Atom" Ausgedünnte Grants. Temporary, laufende, nutzunglimitierte, vom Operator ausgegebene Capabilities, die mittels eines vault-abgeleiteten MAC fälschungssicher sind.

  • Unbekannte-Daten-Rahmung. Proxied response bodies werden als unvertrauenswürdiger Inhalt von einem benannten Host gekennzeichnet. So wird eine eingefügte directive in einer API-Ant isolation dem Modell als Daten angezeigt.

Kryptografie

Envelope Encryption, alles aus node:crypto, keine Bibliothek von Drittanbietern.

  • Ein zufälliger 256-Bit-Schlüssel verschlüsselt jedes Feld mit AES-256-GCM, wobei die Ref und den Feldnamen des Geheimnisses alle zusätzlichen authentifizierten Daten sind. So kann Ciphertext nicht zwischen verschiedenen Tresor-Einträgen verschoben werden.

  • Der Datenschlüssel selbst wird mit einem Schlüsselareal of derivatable based on your passphrase, using scrypt mit Dir N=2^17, r=8, etwa 128 MiB und rund eine Sekunde pro Versuch. Das ist beabsichtigt: Die Tresordatei ist das, was ein Angreif er besitzt, also muss Offline-Raten teuer sein.

  • Das Rortaten Ihrer Passphrasse hüllt nur 32 Byte neu them. Es verschlüsselt nicht jedes Geheimnis erneut.

Tresor-Modi

--passphrase ist die starke Variante. Der MCP-Server braucht KEYWARDEN_PASSPHRASE in seiner Umgebung zu Entsperren ohne Abfrage.

--keyfile schreibt einen zufälligen Schlüssel nach ~/.keywarden/masterkey, sodass nichts Anfragen müssen. Es ist bequem, und es heißt, dass jeder, who dein Home-Verzug lesen kann, den Tresor öffnet. Es ist immer noch we von viel größeren als die klarverteilte .env-Datei Projekte, denn der Schlüssel steht an einem Ort, seine Verwendung ist durch eine Quoten "gated" und jede Nutzung wird im Log aufgezeichnet. Wisse, welche Einstellung du wählst. keywarden doctor wird dich dabei helfen.

Unter Windows werden Dateimodi festgelegt, aber nicht so erzwungen, wie POSIX 0600 einwickelt. Siehe THREAT_MODEL.md.

CLI

keywarden init --passphrase|--keyfile   create the vault
keywarden doctor                        check the install, flag weak settings
keywarden trust [show]                  re-pin policy.json + providers.json after reviewing a change
keywarden grant <ref> ...               issue a temporary, use-capped capability
keywarden grant list | revoke <id>
keywarden add <ref> --provider <id>     store a credential (prompts for each field)
keywarden list                          metadata only
keywarden describe <ref>                metadata plus how it can be used
keywarden reveal <ref>                  print plaintext, asks first, always audited
keywarden rm <ref> [--field f]          delete
keywarden exec <ref[,ref]> -- <cmd>     run a command with credentials injected
keywarden policy show|init|allow|deny|test
keywarden audit [tail|verify]
keywarden passphrase                    rotate
keywarden providers                     built-in presets
keywarden mcp-config                    print the MCP client config
keywarden doctor                        check the install, flag weak settings

Eigene Provider

Alles, was nicht eingebaut ist, geht in ~/.keywarden/providers.json. Weitere docs/PROVIDERS.md-Dokumente.

{
  "acme": {
    "label": "Acme Internal API",
    "hosts": ["api.acme.internal", "*.acme.io"],
    "baseUrl": "https://api.acme.io",
    "fields": ["token", "tenant"],
    "required": ["token"],
    "auth": { "type": "header", "name": "X-Acme-Key", "template": "{{token}}" },
    "env": { "ACME_TOKEN": "{{token}}", "ACME_TENANT": "{{tenant}}" }
  }
}

Worum es Ihnen your notnt

Bitte lesen THREAT_MODEL.md underneath Sie etwas Teures anvertrauen. Die Kurzfassung:

  • Wenn der Agent über ein anderes Tool beliebige lokale Befehle ausführen kann, kann er Ihre Vault-Datei und im Keyfile-Modus Ihren Master-Key lesen. keywarden schützt den Kontext des Modells, nicht Ihre Festplatte.

  • run übergibt die Zugangsdaten an einen echten Prozess. Wenn Sie einen Befehl auf die Whitelist setzen, der so umgelenkt werden kann, dass er seine eigene Umgebung exfiltriert, verlassen die Zugangsdaten das System. Setzen Sie die Whitelist eng.

  • Die Schwärzung ist ein Sicherheitsnetz mit Löchern. Zugangsdaten, die eine API in einer Weise umkodiert zurückgibt, die wir nicht erkennen, werden nicht abgefangen.

  • keywarden hält einen Agenten nicht davon ab, mit Zugangsdaten, die er legitimerweise verwenden darf, etwas Teures oder Zerstörerisches zu tun. Dafür sind Policy-Scoping und Ratenlimits da.

Entwicklung

npm install
npm run build
npm test          # 89 unit tests + 46 end-to-end checks against the real CLI, MCP and HTTP servers

Die e2e-Suite führt die eigentlichen Binärdateien in einem Wegwerf-KEYWARDEN_HOME aus und stellt unter anderem sicher, dass keine Tool-Antwort die Zugangsdaten enthält.

Weiterführende Literatur

  • THREAT_MODEL.md — was abgedeckt ist und was ehrlich gesagt nicht

  • docs/RESEARCH.md — die Literatur von 2026, auf der dieses Design basiert, was übernommen wurde und was erwogen und verworfen wurde

  • docs/COMPETITORS.md — die Landschaft und wo sich keywarden wirklich unterscheidet, statt nur anders vermarktet zu werden

  • docs/TEAM.md — die Multi-Entwickler-Architektur: Identität, Schlüsselaustausch ohne lesbaren Server, Genehmigungsworkflow, Kostenrechnung und die Build-Reihenfolge

  • docs/PROVIDERS.md — Schreiben eines eigenen Providers

Gehostet

Eine gehostete Version ist für diejenigen geplant, die einen Team-Vault, browserbasierte Verwaltung und Synchronisierung über mehrere Maschinen hinweg wünschen, mit derselben Zero-Exposure-Garantie. Alles in diesem Repository bleibt MIT und bleibt vollständig eigenständig nutzbar. Siehe docs/HOSTED.md.

Lizenz

MIT

Available Tools

6 tools
audit_tailA

Recent entries from keywarden's tamper-evident audit log: which credential was used, by which capability, against which host or command, and whether it was allowed or denied.

ParametersJSON Schema
NameRequiredDescriptionDefault
refNoOptional: only entries for this credential ref.
limitNoHow many entries. Default 20, max 200.

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the behavioral burden. It discloses that the tool returns recent entries, that the source log is tamper-evident, and what fields an entry contains. It does not explicitly discuss ordering, permissions, or read-only guarantees, but the audit-tail nature and field list make the behavior reasonably transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, tightly written sentence that immediately states the resource and the most important properties of the returned entries. Every phrase earns its place and there is no redundant filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple two-optional-parameter contract and a fully documented schema, the description covers everything needed for both selection and correct invocation. It explains what the tool does, what an entry includes, and the recent-history nature of the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Both parameters (ref and limit) are already fully described in the input schema, so the description adds no additional parameter meaning. The description reinforces the overall audit-log scope but does not go beyond what the schema already provides, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the exact resource: recent entries from the tamper-evident audit log, and enumerates the kinds of information the entries contain. It is easily distinguished from the sibling tools because it is about audit history, not secret lookup, provider listing, HTTP calls, or command execution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The use case is clearly implied: the agent should use this when it needs recent audit log entries about credential use, capability, target host/command, and allow/deny results. It does not explicitly name alternatives or define when-not-to-use conditions, but the context is not ambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

describe_secretB

Metadata for one credential plus how it can be used: whether it can be proxied over HTTP, which hosts it may reach, and which environment variables it maps to when injected.

ParametersJSON Schema
NameRequiredDescriptionDefault
refYesCredential ref, e.g. "openai/prod".

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry some behavioral burden. It reveals what information the tool returns at a high level (proxying, hosts, env vars) but does not disclose things like whether it exposes secrets themselves, side effects, or auth requirements. It adds some value beyond the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one clear sentence, front-loaded with the main intent and then enumerating the specific metadata categories. No waste, though it could be slightly more structured with a colon or list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with one well-documented parameter and no output schema, the description covers the main purpose and key return aspects. However, it does not mention whether it returns the secret value itself, which could be relevant for an agent deciding between this and list_secrets. That gap leaves it merely adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already covers the ref parameter with 100% coverage including an example. The description does not add further meaning beyond referring to the credential, so it doesn't push above baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: retrieving metadata for one credential and its usage characteristics. It specifies the resource (credential) and the relevant aspects (HTTP proxying, reachable hosts, environment variable mappings). It doesn't explicitly differentiate from sibling tools, but the focus is specific enough to avoid major confusion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage is for inspecting a credential's metadata and how it can be used. It doesn't explicitly state when to use this over alternatives like list_secrets, nor does it provide exclusions. Context is clear but not fully explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

http_requestA

Make an authenticated HTTPS request using a vaulted credential. keywarden attaches the credential itself; you never see it. The destination must be an allowed host for that credential. Redirects are not followed and non-HTTPS is refused.

ParametersJSON Schema
NameRequiredDescriptionDefault
refYesCredential ref, e.g. "openai/prod".
urlYesAbsolute https URL, or a path resolved against the provider base URL (e.g. "/v1/models").
bodyNoRequest body. An object is JSON-encoded automatically; a string is sent verbatim.
methodNoHTTP method. Defaults to GET.
headersNoExtra request headers. Auth headers are managed by keywarden and will be rejected here.
timeout_msNoPer-request timeout. Default 60000.

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden and excels: it discloses that the credential is attached by keywarden and invisible to the caller, that the host must be allow-listed, that redirects are not followed, and that non-HTTP requests are rejected. This exceeds the typical transparency and preempts common failure modes, giving the agent a realistic picture of runtime behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four concise sentences front-load the core purpose and immediately follow with critical behavioral constraints. Every clause adds unique value—no redundant or fluff content—making it easy to parse and highly digestible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers authentication, host authorization, redirects, and HTTPS enforcement, which are the most critical behavioral aspects. However, since there is no output schema, the absence of any mention of response format or error handling is a minor gap—an agent might wonder what the tool returns. Still, for a generic HTTP client, the description is largely sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already documents all parameters with 100% coverage (ref, url, body, method, headers, timeout_ms). The description adds general behavioral context (auth, host restrictions) but does not elaborate on parameter-specific semantics beyond what the schema provides. This meets the baseline for full schema coverage without adding parametric nuance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool makes an authenticated HTTPS request using a vaulted credential. It differentiates itself from sibling tools (audit_tail, list_secrets, etc.) by focusing on outgoing requests, and the scope is crisply defined: a single request with auth handled internally. The verb 'Make' plus the resource 'authenticated HTTPS request' is specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on when to use the tool, emphasizing the need for a vaulted credential and an allowed host, and explicitly notes restrictions (redirects not followed, non-HTTPS refused). It does not explicitly name alternatives or provide when-not-to-use guidance, but given the distinct sibling tools, the context is sufficient. A minor deduction for not explicitly contrasting with alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_providersA

List known provider presets (openai, aws, stripe, ...) with their allowed hosts, expected field names, and env-var mappings. Useful before asking the user to add a new credential.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are present, so the description carries the burden. The verb 'list' strongly implies a read-only, side-effect-free operation, which is a core behavioral trait. However, it does not explicitly confirm a read-only nature, nor does it disclose any network calls, authentication dependencies, or failure modes, leaving some uncertainty.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that moves from the general operation to specific examples and output attributes. It is highly compact, with no redundant words. Every phrase adds value, and the essential 'List known provider presets' is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given there is no output schema, the description takes responsibility for defining what is returned; it does so by naming permitted hosts, expected field names, and environment variable mappings. It also adds a practical use-case with clear context. It does not mention edge cases like empty providers or exact formatting, but these are not strongly demanded for such a simple read-only tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has zero properties, so there are no parameters to describe. The description correctly focuses on the operation and its output without mentioning input requirements. According to the baseline rule for zero-parameter tools, a score of 4 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states the verb ('List'), the resource ('provider presets'), and the output contents ('allowed hosts, expected field names, and env-var mappings'). It clearly distinguishes itself from sibling secret-related tools by focusing on the provider domain. There is no tautology; it goes beyond merely restating the tool name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a clear when-to-use signal: 'Useful before asking the user to add a new credential.' This grounds the tool as a prerequisite step in a credential-adding workflow. It does not explicitly name alternative tools or state when-not-to-use, but the given context is sufficient for most cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_secretsA

List every credential in the vault as metadata only: ref, provider, description, which field names exist, when it was last used. Never returns credential values. Start here.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagNoOptional: only secrets carrying this tag.
providerNoOptional: only secrets for this provider id.

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and meaningfully discloses that the tool only returns metadata and never credential values. It also surfaces the output fields and last-use flag, which is useful behavioral context. It does not mention edge behaviors such as pagination or permission failures, but those are minor for this tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences front-load the main action and output format, then add the critical safety note and a usage cue. Every sentence earns its place with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple optional-filter list tool with no output schema, the description sufficiently covers the return shape, the read-only metadata behavior, and the intended starting point. The schema covers the parameters, and no critical calling information is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: both optional filters already have clear descriptions in the schema (filter by tag, filter by provider). The description adds no additional meaning to the parameters, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Describes a specific verb ('List') and resource ('every credential in the vault'), and explains the metadata-only output fields (ref, provider, description, field names, last used). It distinguishes itself from sibling tools by explicitly disclaiming credential values, so an agent can tell it apart from describe_secret.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Start here' gives a clear entry-point cue for exploring the vault, and the metadata-only behavior makes it appropriate for discovery before retrieving a single secret. It does not explicitly name alternatives or state when not to use it, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

runA

Run a local command with one or more vaulted credentials injected as environment variables (e.g. aws, terraform, gh, psql, a build script). The command is executed directly with no shell, so pass arguments as an array. Output is scanned and any credential appearing in it is masked before you see it.

ParametersJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory. Defaults to the server's cwd.
envNoExtra non-secret environment variables.
argsNoArguments as separate strings, e.g. ["s3", "ls"]. No shell parsing happens.
stdinNoOptional text written to the process stdin.
injectYesCredential refs to inject, e.g. ["aws/prod"].
commandYesExecutable name or path, e.g. "aws".
timeout_msNoWall-clock limit. Default 60000.

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden and does well: it discloses the no-shell execution model, the need to pass arguments as an array, and the key credential-masking behavior. It does not mention exit-code or error-handling behavior, but the most important safety-relevant traits are surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences deliver the core behavior, execution model, and output masking with no filler. The most important information is front-loaded and every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The schema documents all seven parameters in detail, and the description covers the core execution semantics and output privacy behavior. It stops the short of explicitly describing the full output contract, such as stdout/stderr or exit-code handling, but for its complexity the definition is still reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the structured parameter descriptions already handle most meaning. The prose adds marginal clarification by tying 'inject' to environment variables and 'args' to the no-shell array convention, but it does not substantially go beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and resource: run a local command with vaulted credentials injected as environment variables. It gives concrete examples (aws, terraform, gh, psql) and clearly positions itself as a local command runner, distinguishing it from the secret-management and HTTP sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for when to use the tool: running local CLIs or scripts that need injected secrets. It does not explicitly state exclusions or compare against siblings, but the 'local command' framing and examples make the intended use obvious.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv0.3.0
    • First observedaudit_tail
    • First observeddescribe_secret
    • First observedhttp_request
    • First observedlist_providers
    • First observedlist_secrets
    • First observedrun

TDQS

A3.9/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a clearly distinct concern: auditing, listing all secrets, inspecting one secret, listing provider presets, making an HTTP request, and running a local command. Even http_request and run, which both consume credentials, are clearly separated by remote HTTP vs local execution.

Naming Consistency3/5

list_secrets, list_providers, and describe_secret follow a readable verb_noun pattern, but audit_tail, http_request, and run break it: audit_tail is noun-first, http_request is a noun phrase, and run is a bare verb. The set is understandable but mixes conventions.

Tool Count5/5

Six tools is a well-scoped size for a credential vault/usage server. Each tool covers a meaningful part of the workflow without redundancy or bloat.

Completeness4/5

The server covers the core credential-usage workflow well: list, describe, use over HTTP, use locally, and audit past use. Credential creation/update/delete is absent, but the descriptions suggest new credentials may be added by the user outside the tool set, so this is a minor workaround gap rather than a fatal one.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to securely access authenticated services (HTTP, SSH, SMTP) without exposing secrets, by acting as a server-side proxy that injects authentication.
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to securely use credentials for GitHub, Cloudflare, OpenAI, Stripe, and xAI without ever reading the secret values, including credential health, rotation, and audit features.
    -
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to call external endpoints under per-endpoint policy enforcement, with credentials and personal data kept inside a hardware enclave and every allowed or denied attempt recorded to an immutable audit ledger.
    2
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to invoke upstream APIs without ever holding reusable credentials, using short-lived scoped capabilities and server-side secret injection. Also provides execution controls and x402 facilitator routing for secure agent actions.
    -