
Securecode
io.github.juanisidoro由 GitHub 账号 juanisidoro 发布v0.15.2更新于 Oct 24, 2026
Secrets vault for Claude Code with audit logs, access rules, and AES-256 encryption.
概览
本地 MCP 服务器,让 Claude Code 使用 SecureCode 加密保险库中的密钥,而不在对话中暴露密钥值。
- 可以做什么
- 初始化保险库并导入密钥:引导式设置、通过安全网页窗口导入 .env、导出为 .env 或 CSV
- 创建、读取、更新、删除和续期密钥,并按标签与到期状态列出密钥
- 管理访问会话:唤醒限定范围的会话、查看剩余时间、锁定会话或清除磁盘上注入的文件
- 查看生效的访问规则、执行安装后安全检查,并查询套餐、用量与服务器版本
- 适用场景
- 当助手需要项目的 API 密钥、令牌或密码,但你不希望原始值出现在对话中时适用。适合希望在自己机器上通过 Claude Code 获得可审计、受规则约束的密钥访问的开发者。
- 运行要求
- 通过 stdio 在本地运行,通常使用 npx,需要 Node.js 18 或更高版本。需要 SecureCodeHQ 账户(免费额度:50 个密钥、每月 1 万次访问),每台机器首次使用时需进行设备批准。未声明任何环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 Securecode,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@securecode/mcp-server
MCP Server for SecureCodeHQ. Lets Claude Code access your secrets securely without ever seeing them.
Quick Start
Then tell Claude Code:
The onboard tool walks you through account creation, secret import, and configuration. Takes about 2 minutes.
What It Does
Your secrets (API keys, tokens, passwords) are encrypted with AES-256 and stored in SecureCode. Claude Code accesses them via MCP, but the actual values never appear in the chat.
When Claude reads a secret, the value is written to a local file on your machine. The AI gets the file path but never sees the raw value. This is inject mode, the default.
Tools
MCP Access Rules
Control how AI agents access your secrets with tag-based policies. Created from the dashboard, enforced server-side.
Session Lock
Sessions auto-sleep after configurable inactivity (default: 2 hours).
How It Works
- Secret values are written to a local file, the AI never sees them (inject mode)
- Explicit
reveal: truereturns value to AI (audited) - Injected files are removed on sleep, byebye, or process exit
- Multiple Claude Code instances don't collide (hash based on API key + PID)
- Encrypted with AES-256-GCM using envelope encryption (Cloud KMS)
- Every access is logged with AI model, IP, machine identity, and timestamp
- Runs locally via stdio transport, secrets never pass through third parties
- Device approval required on first use from each machine
SDK
The companion SDK lets your app load secrets at runtime:
Links
- Website: https://securecodehq.com
- npm: https://www.npmjs.com/package/@securecode/mcp-server
- SDK: https://www.npmjs.com/package/@securecode/sdk
Requirements
- Node.js >= 18
- A SecureCodeHQ account (free tier: 50 secrets, 10K accesses/month)
License
MIT
来源:README.md,提交 0fe1cc1
工具
0版本历史
1- v0.15.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分