
Ethereum Keystore Encryption
io.github.nirholas由 GitHub 帳號 nirholas 發布v1.0.0更新於 Oct 24, 2026
Encrypt/decrypt Ethereum keystore JSON V3 with scrypt/PBKDF2 for secure cold storage
概覽
本機 MCP 伺服器,用於以 scrypt 或 PBKDF2 加密、解密與管理以太坊 keystore JSON V3 檔案。
- 可以做什麼
- 把私鑰加密成 Web3 Secret Storage V3 格式,或解密 keystore 以還原私鑰
- 依以太坊標準命名儲存與載入 keystore 檔案,並將解密後的私鑰匯出成檔案
- 在不解密的情況下讀取 keystore 中繼資料,並驗證 keystore 結構
- 變更 keystore 密碼(可選擇升級金鑰衍生函式),以及批次加密多個錢包
- 讀取內附的 V3 規格、安全實務、KDF 比較與範例資源,並依引導式提示完成備份、移轉、復原與安全稽核
- 適用情境
- 適合讓助理建立或檢查以太坊 keystore V3 備份、輪換 keystore 密碼或移轉舊版錢包格式,尤其是離線或冷儲存情境。
- 執行需求
- 以本機程序在使用者電腦上執行,從 PyPI 安裝 keystore-mcp-server,並以 uvx 或 keystore-mcp-server 指令啟動,需要 Python 環境。未宣告帳號、API 金鑰或環境變數。僅支援桌面用戶端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Ethereum Keystore Encryption,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Keystore MCP Server
A Model Context Protocol (MCP) server for Ethereum keystore encryption, decryption, and management following the Web3 Secret Storage Definition Version 3 standard.
Features
Tools (9)
encrypt_keystore- Encrypt private key to Web3 Secret Storage V3 formatdecrypt_keystore- Decrypt keystore to recover private keysave_keystore_file- Save keystore with standard Ethereum namingload_keystore_file- Load and validate keystore filesget_keystore_info- Extract metadata without decryptionvalidate_keystore- Validate keystore structurechange_keystore_password- Change password and optionally upgrade KDFbatch_encrypt_keystores- Encrypt multiple walletskeystore_to_private_key_file- Export decrypted private key (dangerous)
Resources (4)
keystore://specification- Web3 Secret Storage V3 specificationkeystore://security-guide- Security best practiceskeystore://kdf-comparison- Scrypt vs PBKDF2 comparisonkeystore://examples/{type}- Example keystores
Prompts (4)
secure_wallet_backup- Guided backup creationkeystore_migration- Migration from legacy formatskeystore_recovery- Recovery assistancekeystore_security_audit- Security audit workflow
Installation
Usage
Running the Server
Claude Desktop Configuration
Cryptographic Standards
Web3 Secret Storage V3
- KDF: scrypt (recommended) or pbkdf2
- Cipher: AES-128-CTR
- MAC: Keccak-256
- UUID: Version 4
Default Scrypt Parameters
Default PBKDF2 Parameters
Security
⚠️ Important Security Notes:
- Never share keystore passwords - Treat like private keys
- Use strong passwords - Minimum 12 characters, mixed case, numbers, symbols
- Secure file storage - Files created with 0600 permissions
- Air-gapped operations - Use offline for high-value wallets
- Backup keystores - Store encrypted backups in multiple locations
Examples
Encrypt a Private Key
Decrypt a Keystore
Save Keystore File
Testing
License
MIT License
來源:keystore-mcp-server/README.md,提交 dabb599
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。