Skip to content
nirholas avatar

Ethereum Keystore Encryption

nirholas/ethereum-wallet-toolkit

Encrypts, decrypts, and validates Ethereum keystore JSON V3 files for offline wallet storage.

CCM score
80 of 100
GitHub stars
29
tools
8
transport
STDIO
last updated
Jan 20, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Manages keys with encrypt_keystore, decrypt_keystore, change_keystore_password, and generate_encrypted_wallet, using scrypt or PBKDF2 derivation and AES-128-CTR
  • Inspects files with validate_keystore and get_keystore_address, plus read_keystore_file and write_keystore_file for local filesystem access
  • Runs locally over stdio and needs the user's keystore password; decryption returns the raw private key, so results must be handled carefully
  • Designed for building and maintaining encrypted cold-storage wallets without exposing keys to a network service

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.

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
Category
Web3 & Crypto
Package
keystore-mcp-server
Transport
STDIO
Registry
MCP registry, active

Questions

What does the keystore-mcp-server let an AI agent do with Ethereum keystore files?

It lets an agent encrypt a private key into a keystore JSON V3 file, decrypt a keystore to recover its private key, and generate a new encrypted wallet. It also reads and writes keystore files on the filesystem and changes a keystore's password.

Which tools does the keystore-mcp-server expose?

It exposes eight tools: encrypt_keystore, decrypt_keystore, change_keystore_password, validate_keystore, get_keystore_address, generate_encrypted_wallet, read_keystore_file, and write_keystore_file. The validate_keystore tool checks keystore structure, and get_keystore_address reads the address without decrypting.

Where does the keystore-mcp-server rank in the Web3 & Crypto category?

It ranks in the top 25 on the Web3 & Crypto category page on Claude Marketplaces. Other servers in the category include Solana MCP by Vybe, Blockrun Mcp, and EVM.

How do I install the keystore-mcp-server?

The server is published as the Python package keystore-mcp-server on PyPI and uses stdio transport. Its server.json lists uvx as the runtime hint for launching it.

Does the keystore-mcp-server support scrypt and PBKDF2 encryption?

Yes, the server supports scrypt and pbkdf2 key derivation with AES-128-CTR encryption, and it validates UUID and version fields in keystores. It is built for securing Ethereum keystore JSON V3 files for cold storage.

More from nirholas

All 26

Similar to Ethereum Keystore Encryption

More Web3 & Crypto