
Secure Vault
io.github.mdfifty50-boop由 GitHub 帳號 mdfifty50-boop 發布v0.1.1更新於 Oct 24, 2026
Encrypted secrets and credential management for agents
概覽
一個本機 MCP 伺服器,用於加密儲存密鑰、簽發短期受限權杖,並在伺服器端把憑證注入請求範本,讓助理不必接觸明文憑證。
- 可以做什麼
- 加密儲存密鑰並支援輪換政策,列出已存密鑰的名稱與中繼資料而不暴露值。為某個服務簽發短期、具作用域的代理權杖,並輪換該服務的密鑰使舊權杖失效。憑權杖 ID 在伺服器端把密鑰注入請求範本。掃描貼上的設定文字,辨識雲端服務、API、聊天與付款等外洩憑證。依時間範圍檢視密鑰存取稽核記錄,可依代理或密鑰篩選。
- 適用情境
- 適合助理需要憑證呼叫 API 但不應接觸明文值的情境,也適合需要權杖作用域、輪換與存取稽核的場合。還可用於提交前檢查設定檔是否外洩密鑰。
- 執行需求
- 透過 stdio 在本機執行,通常以 npx 從 npm 套件 secure-vault-mcp 啟動,需要 Node.js。未宣告帳號、API 金鑰、環境變數或請求標頭。密鑰僅保存在記憶體中,隨伺服器工作階段結束而消失。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Secure Vault,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
secure-vault-mcp
MCP server for agent-native secrets management. 24,008 secrets have been found in MCP config files on public GitHub. This server solves that.
Agents need secrets to call APIs, but they shouldn't see raw values. secure-vault-mcp stores secrets encrypted with AES-256-GCM, issues short-lived scoped tokens, and injects secrets into requests server-side so the agent never handles plaintext credentials.
Install
Claude Desktop
Add to claude_desktop_config.json:
From source
Tools
store_secret
Store an encrypted secret with optional rotation policy.
get_agent_token
Issue a short-lived, scoped token. The agent receives an opaque token ID, never the raw secret.
rotate_secrets
Rotate all secrets for a service. Old tokens are invalidated.
audit_secret_access
View who accessed what secrets over a time range.
scan_config_for_leaks
Scan config text for exposed secrets. Detects AWS keys, GitHub tokens, OpenAI/Anthropic keys, Slack tokens, Stripe keys, private key blocks, bearer tokens, and generic credentials using 12 regex patterns.
inject_secret_to_request
Return a request with the secret injected server-side. The agent provides a template with {{SECRET}} placeholder and a valid token ID.
Resources
Usage Pattern
Security Model
- Secrets encrypted at rest with AES-256-GCM using a server-generated key
- Agents receive opaque token IDs, never raw secret values
- Tokens are scoped (read/write/admin) and time-limited (default 5 minutes)
- Token rotation invalidates all outstanding tokens for the rotated secret
- Full audit trail of every store, token issuance, and injection
- In-memory storage — secrets exist only for the server session lifetime
Tests
License
MIT
來源:README.md,提交 8b3aff4
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。