
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 分