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.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

Keyfold 的 MCP 伺服器讓 AI 助理使用本機加密保險庫中的 API 金鑰,而模型始終看不到金鑰值。

可以做什麼
  • 列出保險庫中的專案名稱與金鑰名稱
  • 寫入 .env 檔案、注入金鑰執行指令,或匯入既有的 .env 檔案,每次都需要在應用程式中核准
  • 儲存新金鑰並建立專案
  • 沒有任何工具會回傳金鑰值,每個請求都要在 Keyfold 應用程式中點擊確認
適用情境
適合助理需要執行依賴 API 金鑰的指令或產生 .env 檔案,而你希望金鑰保存在本機保險庫中,而不是貼進對話或設定檔裡。
執行需求
需要一台已安裝 Keyfold 應用程式的 Mac,應用程式需執行中且已解鎖;需在應用程式設定中安裝 keyfold 命令列工具並加入 PATH;伺服器以 keyfold mcp 透過 stdio 啟動。不需帳號、雲端或遙測。
安裝前請注意
你核准的指令仍可能印出金鑰,而模型會讀取其輸出;核准可在一小時內有效。伺服器可寫入 .env 檔案並以注入金鑰的方式執行指令,請逐項在應用程式中核對請求。它要求同一台機器上的保險庫處於解鎖狀態。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Keyfold,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

CrateWhat it does
crates/keyfold-coreArgon2id 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-agentThe JSON-line protocol between the keyfold CLI and the running app, over an owner-only local socket
crates/keyfold-cliThe 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.

  1. Install Keyfold for Mac. In the app, open Settings › General › Command line and MCP and click Install, which puts keyfold on your PATH.
  2. 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 --workspacecargo clippy --workspace --all-targets -- -D warningscargo 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.

來源:README.md,提交 42beb0f

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Oct 20, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分