Keyfold MCP server
Commit 20. Okt. 2026Ermöglicht es AI Agents, API-Keys aus einem verschlüsselten Vault zu nutzen, ohne die Secrets dem Modell preiszugeben.
Auch bekannt als codewithkolin/keyfold
- Stars
- 0
- Tools
- —
- Downloads, 30 Tage
- —
- Neueste Version
- 1.0.1
- Letzter Commit
- 20. Okt. 2026
- Lizenz
- AGPL-3.0
Was ist Keyfold MCP?
Keyfold ist ein MCP server. Ermöglicht es AI Agents, API-Keys aus einem verschlüsselten Vault zu nutzen, ohne die Secrets dem Modell preiszugeben.
Zusammenfassung generiert aus dem README des Projekts
Über Keyfold MCP server
Keyfold ermöglicht es, AI Agents mit API-Keys zu versorgen, ohne die eigentlichen Secret-Werte an das Sprachmodell zu übergeben. Dieser MCP server verbindet sich mit der Keyfold Desktop App auf macOS, damit Clients wie Claude Code und Cursor auf einen verschlüsselten Offline-First Vault zugreifen können. Er nutzt ein lokales Socket-Protokoll für die Kommunikation zwischen dem CLI und der laufenden App, um sicherzustellen, dass während des Anfrageprozesses keine sensiblen Daten direkt an das Modell gesendet werden.
Entwickler nutzen die sieben verfügbaren Tools, um Projekte zu verwalten, neue Keys zu speichern oder bestehende .env Dateien zu importieren. Anstatt die Secrets zurückzugeben, führen die Tools Aktionen aus, wie das Schreiben einer freigegebenen .env Datei oder das Ausführen eines Commands mit injizierten Credentials. Jede einzelne Anfrage erfordert eine manuelle Bestätigung per Klick in der Keyfold App, die genau anzeigt, auf welchen Command oder welche Datei zugegriffen wird. Dieses Setup hält deine mit Argon2id und XChaCha20-Poly1305 verschlüsselten Daten lokal auf deinem Rechner, ohne dass ein Cloud-Account oder Telemetrie erforderlich sind.
Was du damit machen kannst
- 1Keys in Commands injizierenLass deinen AI Agent einen spezifischen Terminal-Command mit Credentials ausführen, die in deinem Vault gespeichert sind.
- 2Environment Files generierenLass einen AI Client eine .env Datei mit deinen Projekt-Secrets erstellen, nachdem du die manuelle Freigabe erteilt hast.
- 3Vault-Organisation verwaltenAnweise einen Agenten, neue Projekte zu erstellen oder bestehende Environment-Konfigurationen in deinen verschlüsselten Vault zu importieren.
- 4Sicherer Zugriff auf CredentialsNutze einen AI Agent, um verfügbare Keys und Projekte aufzulisten, ohne dass das Modell jemals die tatsächlichen Secret-Strings sieht.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Noch nicht verifiziert. Ein Server benötigt einen Score von 80, keine kritischen Befunde und genug Daten für unsere Prüfung. Wie die Checks funktionieren · Was du für mehr Punkte verbessern kannst
- Source Repository verknüpft und erreichbarcodewithkolin/keyfold is public and reachablegithub.com/codewithkolin/keyfold ↗Bestanden
- Paket nennt dieses Repository als QuelleNicht geprüft
- Build-Provenienz (Sigstore-Attestierung)Nicht geprüft
- Open Source Lizenz (OSI)AGPL-3.0spdx.org/licenses/AGPL-3.0.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-10-20github.com/codewithkolin/keyfold ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNicht geprüft
- Keine kritischen Advisories im Paket oder seinen AbhängigkeitenNicht geprüft
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-HandshakeNicht geprüft
README
Auf GitHub ansehenKeyfold core
The open-source parts of Keyfold, an offline-first vault for developers: API keys organised by project and environment, plus passwords, in one encrypted file. No account, no cloud, no telemetry.
The Keyfold app for Mac is built on these crates (Windows is coming through the Microsoft Store). Get it at keyfold.app/download; signed builds are also on the Releases page.
What is here
| Crate | What it does |
|---|---|
crates/keyfold-core |
Argon2id key derivation, XChaCha20-Poly1305 envelope encryption, the tamper-evident vault format, rolling backups, the Recovery Kit, .env parsing, key detection patterns, 2FA codes (RFC 6238) and offline Ed25519 licence verification |
crates/keyfold-agent |
The JSON-line protocol between the keyfold CLI and the running app, over an owner-only local socket |
crates/keyfold-cli |
The keyfold command line and the MCP server for Cursor and Claude Code. No tool returns a secret value; every request is approved in the app |
Use it with an AI agent (MCP)
keyfold mcp lets Claude Code, Cursor, Codex, Gemini CLI and other MCP clients use your API keys without the model seeing them. Its seven tools list project and key names, write a .env file you approve, run a command with the keys injected, store a key, create a project and import a .env file. None of them returns a secret value. Every request waits for your click in the Keyfold app, which shows the command or file the keys are for.
- Install Keyfold for Mac. In the app, open Settings › General › Command line and MCP and click Install, which puts
keyfoldon yourPATH. - Add the server to your client:
claude mcp add --scope user keyfold -- keyfold mcp
Cursor (.cursor/mcp.json): { "mcpServers": { "keyfold": { "command": "keyfold", "args": ["mcp"] } } }
A command you approve can still print a key, and the model reads what it prints; the MCP guide covers that and one-hour approvals. The server needs the Keyfold app running and unlocked on the same Mac. The Dockerfile builds it on Linux only so that MCP directories can read its tool list.
MCP Registry name: mcp-name: io.github.codewithkolin/keyfold
Docs
- Vault format: every byte of the file, and how it is authenticated.
- Threat model: what Keyfold protects against, and what it cannot.
- MCP and CLI guide: connecting an AI agent without showing it your keys.
Build and test
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
cargo build --release -p keyfold-cli # the `keyfold` binary
Rust stable, no other toolchain needed.
Security
Please report vulnerabilities privately; see SECURITY.md.
Licence
AGPL-3.0-only. See the LICENSE file in each crate. The Keyfold desktop app around these crates is proprietary.
Keyfold MCP Fragen
Wie werden die Anfragen vom AI Agent autorisiert?
Jede Anfrage, die vom MCP server gestellt wird, erfordert eine manuelle Bestätigung durch einen Klick in der Keyfold Desktop App.
Welche Plattformen werden unterstützt?
Die Keyfold App ist aktuell für Mac verfügbar, eine Windows-Version wird über den Microsoft Store erscheinen.
Was können die MCP Tools tatsächlich tun?
Die Tools können Projekte und Keys auflisten, freigegebene .env Dateien schreiben, Commands mit injizierten Keys ausführen, Keys speichern, Projekte erstellen und .env Dateien importieren.