
Keyfold
io.github.codewithkolin由 GitHub 帳號 codewithkolin 發布v1.0.1更新於 Oct 27, 2026
Use API keys from your Keyfold vault in commands and .env files. No tool returns a secret value.
概覽
Keyfold 的 MCP 伺服器讓 AI 助理使用本機加密保險庫中的 API 金鑰,而模型始終看不到金鑰值。
- 可以做什麼
- 列出保險庫中的專案名稱與金鑰名稱
- 寫入 .env 檔案、注入金鑰執行指令,或匯入既有的 .env 檔案,每次都需要在應用程式中核准
- 儲存新金鑰並建立專案
- 沒有任何工具會回傳金鑰值,每個請求都要在 Keyfold 應用程式中點擊確認
- 適用情境
- 適合助理需要執行依賴 API 金鑰的指令或產生 .env 檔案,而你希望金鑰保存在本機保險庫中,而不是貼進對話或設定檔裡。
- 執行需求
- 需要一台已安裝 Keyfold 應用程式的 Mac,應用程式需執行中且已解鎖;需在應用程式設定中安裝 keyfold 命令列工具並加入 PATH;伺服器以 keyfold mcp 透過 stdio 啟動。不需帳號、雲端或遙測。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Keyfold,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Keyfold 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
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:
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
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.
來源:README.md,提交 42beb0f
工具
0版本歷史
1- v1.0.1最新Oct 20, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分