logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mcp-eth-key-utility

A foundational Model Context Protocol (MCP) service designed for robust management of Ethereum private credentials and secure orchestration of smart contract deployments across EVM-compatible decentralized ledgers. Facilitates core operations such as transaction notarization, on-chain data retrieval, and asset balance introspection.

Author

mcp-eth-key-utility logo

zhangzhongnan928

No License

Quick Info

GitHub GitHub Stars 0
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

evmapissignerevm signersigner managemcp evm

MCP EVM Key Utility

This Model Context Protocol (MCP) engine furnishes capabilities for safeguarding Ethereum private credentials and executing smart contract rollouts, leveraging services like Infura for external connectivity. It empowers Claude for Desktop and other conforming MCP consumers to interface effectively with any EVM-compatible virtual machine environment.

MCP EVM Signer architecture

Core Capabilities

  • 🔑 Secure, localized persistence and stewardship of Ethereum private signing materials
  • 🔌 Establishment of reliable connections to Infura for network interactions
  • 📝 Provisioning of smart contracts from pre-compiled Application Binary Interfaces (ABIs) and generated bytecode
  • ✍️ Digital signing and transmission of blockchain transactions
  • 💰 Retrieval of native asset balances and historical transaction logs
  • 🔍 Querying ledger states and direct invocation of established contract methods

Rapid Deployment Guide

Prerequisites

  • Node.js environment, version 16 or greater is mandatory
  • An active Infura subscription key
  • The Claude for Desktop application must be installed

Setup Procedure

  1. Obtain a local copy of the source repository: bash git clone https://github.com/zhangzhongnan928/mcp-evm-signer.git cd mcp-evm-signer

  2. Install requisite software dependencies: bash npm install

  3. Compile the project assets: bash npm run build

  4. Initialize configuration parameters: bash cp .env.example .env

Modify the newly created .env file to input your Infura credential and tune network parameters.

Integration with Claude Desktop Environment

  1. Incorporate this operational server into your Claude configuration manifest:

{ "mcpServers": { "evm-signer": { "command": "node", "args": ["/path/to/mcp-evm-signer/build/index.js"], "env": { "INFURA_API_KEY": "your_infura_api_key_here", "DEFAULT_NETWORK": "sepolia", "ENCRYPT_KEYS": "true", "KEY_PASSWORD": "your_secure_password_here" } } } }

  1. Restart the Claude for Desktop application to load the new configuration.

  2. You are now authorized to instruct Claude to handle contract deployment, query ledger balances, or generally interact with EVM chains.

Exposed Toolset

The EVM Key Utility MCP service furnishes the following interfaces for Claude's consumption:

Credential Vault Operations

  • create-wallet: Generates a novel Ethereum key pair
  • import-wallet: Ingests an existing wallet using its private key material
  • list-wallets: Enumerates all securely stored wallet identities

Ledger State Functions

  • check-balance: Retrieves the current ETH value associated with a given address
  • get-transactions: Fetches a record of recent transactions for a specific address
  • send-transaction: Transmits an ETH transfer to a designated recipient

Smart Contract Interaction

  • deploy-contract: Orchestrates the placement of a smart contract onto the chain using provided ABI and bytecode
  • call-contract: Executes a non-mutating (read-only) function on a deployed contract
  • execute-contract: Invokes a contract function designed to alter the chain's state

Illustrative Usage Scenarios

Wallet Initialization

Instruct Claude with the following directive:

Please utilize the evm-signer toolset to provision a fresh Ethereum credential set for my use.

Balance Verification

You can query Claude like this:

Could you fetch the current ETH holdings for address 0x1234...5678 on the Sepolia test network?

Deploying an ERC-20 Standard Token

Refer to our comprehensive guide located at [examples/erc20-token.md] for a full step-by-step methodology covering token deployment and subsequent contract interfacing.

Security Considerations

  • Private signing materials reside solely on the local execution environment.
  • Optional password-based encryption can be applied to stored keys.
  • Functionality is strictly confined to the boundaries of the established MCP communication protocol.
  • Always mandate human verification of transaction data within the Claude for Desktop interface prior to final commitment.
  • Adoption of non-production environments (e.g., Sepolia, Goerli) is strongly advised for initial setup and testing.

Comprehensive Reference Materials

For deeper instructional content, consult the following documentation artifacts:

  • Usage Guide: Exhaustive operational guidelines and practical examples
  • Examples: Repository of sample workflows and contract deployment templates

Project Artifact Structure

mcp-evm-signer/ ├── src/ # Core source code modules │ ├── config.ts # Logic for parameter management │ ├── crypto.ts # Utility functions for credential handling │ ├── ethereum.ts # Functions dedicated to EVM communication │ └── index.ts # Primary entry point for the MCP server ├── keys/ # Directory for credential storage (ignored by Git) ├── examples/ # Demonstrative usage patterns ├── .env.example # Template for environment variable definitions └── ... # Various project boilerplate and configuration files

Contribution Guidelines

To facilitate enhancements to this project:

  1. Create a fork of the repository
  2. Establish a dedicated feature branch (git checkout -b feature/new-enhancement)
  3. Implement and integrate your modifications
  4. Commit the changes with a descriptive message (git commit -m 'Implement feature X for improved performance')
  5. Push the new branch to your remote origin (git push origin feature/new-enhancement)
  6. Submit a formal Pull Request for review

Licensing Information

This software artifact is distributed under the terms stipulated by the MIT License. Consult the LICENSE file for the full legal text.

See Also

`