
Enigmagent Mcp
io.github.Agnuxo1由 GitHub 帳號 Agnuxo1 發布v1.0.2更新於 Oct 24, 2026
Local AES-256-GCM vault for AI agents. Secrets stay local, LLMs never see real API keys.
概覽
本機加密保險庫 MCP 伺服器,讓助理依名稱與網域列出已存密鑰項目,密鑰值維持加密儲存。
- 可以做什麼
- 列出保險庫項目:僅名稱、網域與建立時間,預設不傳回密鑰值。只有在明確啟用原始解析且請求來源符合項目網域綁定時,才傳回密鑰值。可作為 stdio MCP 伺服器執行,或作為僅綁定回送位址的帶驗證 REST 服務執行。提供多個 MCP 用戶端的設定範例。
- 適用情境
- 適合讓助理了解本機保險庫中有哪些憑證而不揭露實際值,或在刻意開啟的情況下為符合的來源取得某個值。適用於桌上型電腦上的單一可信操作者。
- 執行需求
- 透過 npx 在本機執行(需 Node.js)。需要保險庫檔案路徑(VAULT_PATH,預設 ./vault.json)與解密用主密碼 VAULT_PASSWORD;無介面執行使用 ENIGMAGENT_USER 與 ENIGMAGENT_PASS。REST 模式需要至少 32 字元的 ENIGMAGENT_API_TOKEN。原始解析需 --allow-raw-resolve 參數或 ENIGMAGENT_ALLOW_RAW_RESOLVE=1。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Enigmagent Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
enigmagent-mcp 2.0.0
enigmagent-mcp is a local encrypted vault server for MCP-capable clients. It
stores secret values with an Argon2id-derived AES-256-GCM key and keeps the
vault file encrypted at rest.
Version 2.0.0 makes the security boundary explicit:
- MCP starts in metadata-only mode. Raw secret resolution is disabled unless the
operator passes
--allow-raw-resolveor setsENIGMAGENT_ALLOW_RAW_RESOLVE=1. - REST binds to
127.0.0.1and requires a 32–256 character Bearer token. - REST requests have bounded headers, bodies, and timeouts; responses do not include arbitrary exception messages or permissive browser CORS.
- Vault writes use a temporary file, flush, replacement, and a recovery backup.
- Version 1 vaults remain readable. New vaults use format version 2 and the
versioned KDF context
enigma/v2.
Raw resolution is deliberately an opt-in escape hatch. A caller-declared origin is not proof of the network destination, and a trusted MCP client can still pass returned plaintext to its model. Do not enable raw resolution for an untrusted client or a shared process.
Install and run
The first run prompts for the existing vault credentials when attached to a
terminal. For a trusted headless process, set ENIGMAGENT_USER and
ENIGMAGENT_PASS in its private environment. The server does not print either
value.
MCP modes
The stdio transport implements bounded JSON-RPC MCP initialization, ping,
tools/list, and tools/call. The default tool is:
enigmagent_list: names, domains, and creation timestamps only.
With explicit raw-resolution opt-in, it additionally exposes:
enigmagent_resolve: returns a value only when the requested origin matches the entry's domain binding.
The origin is normalized and limited to HTTP(S) URLs without embedded user credentials. Notifications, malformed JSON, oversized frames, invalid tool arguments, and calls before initialization are handled without terminating the process.
Authenticated REST
GET /health is a minimal unauthenticated liveness check. GET /status and
GET /list require Authorization: Bearer <token>. POST /resolve also
requires the token, JSON content type, and the explicit raw-resolution flag.
The service rejects browser-origin requests and binds only to loopback.
Client configuration adapters
integrations.js provides tested configuration builders for Claude Desktop,
Cursor, Continue, Cline, Open WebUI, AnythingLLM, LM Studio, Zed, Goose, and
Windsurf. They are maintained configuration examples using the standard MCP
stdio command; they are not upstream plugins, endorsements, or claims of
adoption by those projects.
Development and verification
The tests cover encrypted-at-rest behavior, domain matching, wrong credentials, version-1 migration reads, backup recovery, bounded MCP framing and session ordering, authenticated REST, and all ten configuration adapters. The benchmark uses synthetic data and reports create/add/resolve latency without printing a secret.
Release contents
The historical 1.0.5 tree is preserved in versions/1.0.5/ with its source
archive and SHA-256 manifest. The 2.0.0 release is represented consistently in
package.json, server.json, and manifest.json; publication remains subject
to the repository's CI and release checks.
Scope and threat model
This project protects vault contents from ordinary plaintext-at-rest exposure
and from accidental return by the metadata listing tool. It does not protect
against a compromised operating system, a process with access to the unlocked
memory, malicious client code, side channels, swap/core dumps, or an operator
who explicitly enables raw resolution for an untrusted model. Review
SECURITY.md in the main EnigmAgent project for broader ecosystem guidance.
MIT licensed. See LICENSE.
來源:README.md,提交 ccef9a6
工具
0版本歷史
1- v1.0.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分