nirholas avatar

Ethereum Keystore Encryption

nirholas/ethereum-wallet-toolkit

Exposes Web3 Secret Storage operations for managing encrypted Ethereum private keys through the MCP protocol. You get nine tools covering keystore encryption and decryption with both scrypt and PBKDF2, password changes, validation, and address extraction without needing to decrypt. The server handles reading and writing keystore JSON files to disk, so you can generate new wallets directly as encrypted keystores or work with existing ones. Part of a five-server suite from the ethereum-wallet-toolkit, this one focuses specifically on the cold storage workflow: keeping private keys encrypted at rest and only decrypting when you need to sign. Includes 74 tests covering the encryption formats and file operations.

tools
8
transport
STDIO
last updated
Jan 20, 2026

Tools

8 tools

Public tool metadata for what this MCP can expose to an agent.

encrypt_keystoreCreate encrypted keystore from private key

Create encrypted keystore from private key

No parameter schema in public metadata yet.

decrypt_keystoreDecrypt keystore to get private key

Decrypt keystore to get private key

No parameter schema in public metadata yet.

change_keystore_passwordRe-encrypt with new password

Re-encrypt with new password

No parameter schema in public metadata yet.

validate_keystoreVerify keystore structure

Verify keystore structure

No parameter schema in public metadata yet.

get_keystore_addressExtract address without decryption

Extract address without decryption

No parameter schema in public metadata yet.

generate_encrypted_walletCreate new wallet as keystore

Create new wallet as keystore

No parameter schema in public metadata yet.

read_keystore_fileRead keystore from filesystem

Read keystore from filesystem

No parameter schema in public metadata yet.

write_keystore_fileSave keystore to filesystem

Save keystore to filesystem

No parameter schema in public metadata yet.

Sponsors

Readme

Ethereum Wallet Toolkit

A collection of Ethereum wallet tools: Python CLI utilities (eth_toolkit.py, wallet.py, keystore.py, sign.py, transaction.py, typed_data.py, validate.py, vanity.py), five Model Context Protocol (MCP) servers exposing wallet functionality to AI assistants, a fully offline single-file HTML wallet (offline.html), and an x402 payment facilitator. See the sections below for each component.

Offline Build - Official Ethereumjs Libraries

This directory contains the build system to create offline1.html using official ethereumjs libraries.

Libraries Used

All libraries are from the official Ethereum ecosystem:

  • @ethereumjs/tx - Transaction signing (legacy + EIP-1559)
  • @ethereumjs/util - Utilities (address validation, checksums, etc.)
  • @ethereumjs/rlp - RLP encoding
  • @ethereumjs/wallet - Wallet utilities
  • ethereum-cryptography - Official cryptographic primitives (secp256k1, keccak256)
  • @scure/bip39 - BIP39 mnemonic (used by ethereumjs)
  • @scure/bip32 - BIP32 HD derivation (used by ethereumjs)

Build Instructions

# Navigate to this directory
cd offline-build

# Install dependencies
npm install

View the full README on GitHub

Details

Repository
github.com/nirholas/ethereum-wallet-toolkit
Categories
Data & Analytics, Finance & Commerce
Package
keystore-mcp-server
Transport
STDIO
Registry
MCP registry, active

More from nirholas

Related Data & Analytics MCP servers

View all
1nirholas avatarEthereum & EVM Message Signingnirholas/ethereum-wallet-toolkitSign Ethereum messages - EIP-191, EIP-712 typed data, Permit2, signature verification and recovery0stars
2sophymarine avatarOpenregistrysophymarine/openregistryLive data from 80+ official national company registries. Unmodified. For KYB and due diligence.23stars
3explorium-ai avatarMcp Exploriumexplorium-ai/mcp-exploriumAccess live company and contact data from Explorium's AgentSource B2B platform.22stars
4mhajder avatarGhostfolio MCPmhajder/ghostfolio-mcpMCP server for Ghostfolio portfolio management and financial data access22stars
5himalayas-app avatarHimalayas Remote Jobshimalayas-app/himalayas-mcpRemote jobs: job search, salary data and application tracking, or post a job and hire candidates21stars
6echelongraph avatarEchelonGraph CVE & Exposureechelongraph/echelongraph-mcpCVE, KEV, EPSS, SBOM and advisory lookups; per-CVE exposure from Shodan data (© Shodan). Keyless.21stars