Skip to content
LangChain

Ethereum Keystore Encryption for LangChain

io.github.nirholas/keystore-mcp-server

Encrypt/decrypt Ethereum keystore JSON V3 with scrypt/PBKDF2 for secure cold storage

client:LangChain transport:stdio runtime:pypi

Install Ethereum Keystore Encryption in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "keystore-mcp-server": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["keystore-mcp-server"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Ethereum Keystore Encryption in other clients