MCP EVM Signer
A server that securely manages Ethereum private keys locally and enables Claude for Desktop to interact with EVM-compatible blockchains through Infura.
zhangzhongnan928
README
MCP EVM Signer
A Model Context Protocol (MCP) server for managing Ethereum private keys and deploying smart contracts using Infura. This server enables Claude for Desktop and other MCP clients to interact with EVM-compatible blockchains.
Features
- 🔑 Securely store and manage Ethereum private keys locally
- 🔌 Connect to Infura for blockchain interactions
- 📝 Deploy smart contracts from compiled ABIs and bytecode
- ✍️ Sign and send transactions
- 💰 View account balances and transaction history
- 🔍 Query blockchain data and interact with deployed contracts
Quick Start
Prerequisites
- Node.js v16 or higher
- An Infura account with API key
- Claude for Desktop app installed
Installation
-
Clone this repository:
git clone https://github.com/zhangzhongnan928/mcp-evm-signer.git cd mcp-evm-signer
-
Install dependencies:
npm install
-
Build the project:
npm run build
-
Configure environment variables:
cp .env.example .env
Edit the
.env
file to add your Infura API key and configure other settings.
Integrating with Claude for Desktop
- Add the server to your Claude for Desktop configuration:
{
"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"
}
}
}
}
-
Restart Claude for Desktop
-
You can now ask Claude to deploy smart contracts, check balances, or interact with EVM blockchains
Available Tools
The MCP EVM Signer server exposes the following tools for use with Claude:
Wallet Management
create-wallet
: Create a new Ethereum walletimport-wallet
: Import an existing wallet from a private keylist-wallets
: List all saved wallets
Blockchain Operations
check-balance
: Check the ETH balance of an addressget-transactions
: Get recent transactions for an addresssend-transaction
: Send ETH to an address
Smart Contract Interactions
deploy-contract
: Deploy a smart contract from ABI and bytecodecall-contract
: Call a read-only contract methodexecute-contract
: Execute a contract method that modifies state
Example Usage
Below are some examples of how you can use these tools with Claude:
Creating a Wallet
You can ask Claude:
Could you create a new Ethereum wallet for me using the evm-signer tools?
Checking a Balance
You can ask Claude:
Can you check the balance of my Ethereum wallet 0x1234...5678 on the Sepolia network?
Deploying an ERC-20 Token
See our ERC-20 token example for a complete walkthrough of deploying and interacting with an ERC-20 token contract.
Security Notes
- Private keys are stored locally on your machine
- Keys can be encrypted with a password
- The server only exposes functionality through the MCP protocol
- Always review transactions before approving them in Claude for Desktop
- Use test networks like Sepolia or Goerli when getting started
Documentation
For more detailed documentation, please refer to:
- Usage Guide: Detailed usage instructions and examples
- Examples: Sample workflows and contract deployments
Project Structure
mcp-evm-signer/
├── src/ # Source code
│ ├── config.ts # Configuration management
│ ├── crypto.ts # Key management utilities
│ ├── ethereum.ts # Ethereum interaction functions
│ └── index.ts # Main MCP server implementation
├── keys/ # Storage for wallet keys (gitignored)
├── examples/ # Example usage patterns
├── .env.example # Example environment variables
└── ... # Project configuration files
Development
To contribute to this project:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Make your changes
- Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.