Keyfold MCP server
Commit 20 Okt 2026Memungkinkan AI agent menggunakan API key dari vault terenkripsi tanpa mengekspos secret tersebut ke model.
Juga dikenal sebagai codewithkolin/keyfold
- Stars
- 0
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- 1.0.1
- Commit terakhir
- 20 Okt 2026
- Lisensi
- AGPL-3.0
Apa itu Keyfold MCP?
Keyfold adalah MCP server. Memungkinkan AI agent menggunakan API key dari vault terenkripsi tanpa mengekspos secret tersebut ke model.
Ringkasan dibuat dari README proyek
Tentang Keyfold MCP server
Keyfold memungkinkan Anda memberikan API key ke AI agent tanpa mengekspos nilai secret yang sebenarnya ke language model. MCP server ini terhubung ke aplikasi desktop Keyfold di macOS untuk memungkinkan client seperti Claude Code dan Cursor mengakses vault terenkripsi yang berbasis offline-first. Server ini menggunakan protokol local socket untuk berkomunikasi antara CLI dan aplikasi yang sedang berjalan, memastikan tidak ada data sensitif yang dikirim langsung ke model selama proses permintaan.
Developer dapat menggunakan tujuh tools yang tersedia untuk mengelola project, menyimpan key baru, atau mengimpor file .env yang sudah ada. Alih-alih mengembalikan nilai secret, tools ini melakukan tindakan seperti menulis file .env yang telah disetujui atau menjalankan command dengan kredensial yang diinjeksi. Setiap permintaan memerlukan persetujuan manual melalui klik di aplikasi Keyfold, yang akan menampilkan secara persis command atau file apa yang sedang diakses. Pengaturan ini menjaga data Anda yang terenkripsi dengan Argon2id dan XChaCha20-Poly1305 tetap lokal di mesin Anda tanpa memerlukan akun cloud atau telemetri.
Apa yang bisa Anda lakukan dengannya
- 1Inject keys ke dalam commandMinta AI agent Anda untuk menjalankan command terminal tertentu menggunakan kredensial yang tersimpan di dalam vault Anda.
- 2Generate file environmentBiarkan AI client membuat file .env yang berisi secret project Anda setelah Anda memberikan persetujuan manual.
- 3Kelola organisasi vaultInstruksikan agent untuk membuat project baru atau mengimpor konfigurasi environment yang sudah ada ke dalam vault terenkripsi Anda.
- 4Akses kredensial yang amanGunakan AI agent untuk menampilkan daftar keys dan project yang tersedia tanpa model pernah melihat string secret yang sebenarnya.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Belum diverifikasi. Sebuah server memerlukan skor 80, tidak ada temuan serius, dan data yang cukup untuk kami periksa. Cara kerja checks · Yang perlu diperbaiki untuk menambah poin
- Source repository terhubung dan dapat dijangkaucodewithkolin/keyfold is public and reachablegithub.com/codewithkolin/keyfold ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernyaTidak diperiksa
- Provenance build (atestasi Sigstore)Tidak diperiksa
- Lisensi open source (OSI)AGPL-3.0spdx.org/licenses/AGPL-3.0.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-10-20github.com/codewithkolin/keyfold ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerTidak diperiksa
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
- Tidak ada instruksi tersembunyi untuk model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Endpoint remote merespons handshake MCPTidak diperiksa
README
Lihat di GitHubKeyfold 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.
Pertanyaan tentang Keyfold MCP
Bagaimana permintaan dari AI agent diotorisasi?
Setiap permintaan yang dibuat oleh MCP server memerlukan persetujuan manual melalui klik pada aplikasi desktop Keyfold.
Platform apa saja yang didukung?
Aplikasi Keyfold saat ini tersedia untuk Mac, dengan versi Windows yang akan hadir melalui Microsoft Store.
Apa saja yang bisa dilakukan oleh MCP tools tersebut?
Tools ini dapat menampilkan daftar project dan keys, menulis file .env yang telah disetujui, menjalankan command dengan injected keys, menyimpan keys, membuat project, dan mengimpor file .env.