
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 分
请在仓库或注册中心条目中声明许可证。