Ethereum Wallet (EVM) logo

Ethereum Wallet (EVM)

Organization
dcSpark

This repository contains a Model Context Protocol (MCP) server that provides Claude with access to Ethereum and EVM-compatible blockchain operations via ethers.js v5. The server enables Claude to…

PublisherdcSpark
Repositorymcp-cryptowallet-evm
LanguageTypeScript
Forks
10
Stars
10
Available tools
35
Transport typestdio, streamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Ethereum Wallet (EVM) exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 35 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    10 stars and 10 forks from the linked repository.

MCP Crypto Wallet EVM

This repository contains a Model Context Protocol (MCP) server that provides Claude with access to Ethereum and EVM-compatible blockchain operations via ethers.js v5. The server enables Claude to perform operations like creating wallets, checking balances, sending transactions, and interacting with smart contracts on EVM-compatible blockchains.

Overview

The MCP server exposes the following tools to Claude:

Wallet Creation and Management

  • wallet_create_random: Create a new wallet with a random private key
  • wallet_from_private_key: Create a wallet from a private key
  • wallet_from_mnemonic: Create a wallet from a mnemonic phrase
  • wallet_from_encrypted_json: Create a wallet by decrypting an encrypted JSON wallet
  • wallet_encrypt: Encrypt a wallet with a password

Wallet Properties

  • wallet_get_address: Get the wallet address
  • wallet_get_public_key: Get the wallet public key
  • wallet_get_private_key: Get the wallet private key (with appropriate security warnings)
  • wallet_get_mnemonic: Get the wallet mnemonic phrase (if available)

Blockchain Methods

  • wallet_get_balance: Get the balance of the wallet
  • wallet_get_chain_id: Get the chain ID the wallet is connected to
  • wallet_get_gas_price: Get the current gas price
  • wallet_get_transaction_count: Get the number of transactions sent from this account (nonce)
  • wallet_call: Call a contract method without sending a transaction

Transaction Methods

  • wallet_send_transaction: Send a transaction
  • wallet_sign_transaction: Sign a transaction without sending it
  • wallet_populate_transaction: Populate a transaction with missing fields

Signing Methods

  • wallet_sign_message: Sign a message
  • wallet_sign_typed_data: Sign typed data (EIP-712)
  • wallet_verify_message: Verify a signed message
  • wallet_verify_typed_data: Verify signed typed data

Provider Methods

  • provider_get_block: Get a block by number or hash
  • provider_get_transaction: Get a transaction by hash
  • provider_get_transaction_receipt: Get a transaction receipt
  • provider_get_code: Get the code at an address
  • provider_get_storage_at: Get the storage at a position for an address
  • provider_estimate_gas: Estimate the gas required for a transaction
  • provider_get_logs: Get logs that match a filter
  • provider_get_ens_resolver: Get the ENS resolver for a name
  • provider_lookup_address: Lookup the ENS name for an address
  • provider_resolve_name: Resolve an ENS name to an address

Network Methods

  • network_get_network: Get the current network information
  • network_get_block_number: Get the current block number
  • network_get_fee_data: Get the current fee data (base fee, max priority fee, etc.)

Prerequisites

  • Node.js (v16 or higher)
  • Claude Desktop application

Installation

Option 1: Using npx (Recommended)

You can run the MCP server directly without installation using npx:

bash
npx @mcp-dockmaster/mcp-cryptowallet-evm

This will download and execute the server directly from npm.

Option 2: Manual Installation

  1. Clone this repository:

    bash
    git clone https://github.com/dcSpark/mcp-cryptowallet-evm.git
    cd mcp-cryptowallet-evm
  2. Install dependencies:

    bash
    npm ci
  3. Build the project:

    bash
    npm run build

Configuration

Environment Variables

The MCP server supports the following environment variables:

  • PRIVATE_KEY: Optional private key to use for wallet operations when no wallet is explicitly provided

Configure Claude Desktop

To configure Claude Desktop to use this MCP server:

  1. Open Claude Desktop

  2. Navigate to the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  3. Add the MCP server configuration:

json
{
  "mcpServers": {
    "mcp-cryptowallet-evm": {
      "command": "npx",
      "args": [
        "@mcp-dockmaster/mcp-cryptowallet-evm"
      ]
    }
  }
}

Alternatively, if you installed the package locally:

json
{
  "mcpServers": {
    "mcp-cryptowallet-evm": {
      "command": "node",
      "args": [
        "/path/to/your/mcp-cryptowallet-evm/build/index.js"
      ]
    }
  }
}

Running Locally

bash
node build/index.js

Usage

Once configured, restart Claude Desktop. Claude will now have access to the Ethereum and EVM-compatible blockchain tools. You can ask Claude to:

  1. Create a new wallet:

    Can you create a new Ethereum wallet for me?
  2. Check a wallet balance:

    What's the balance of the Ethereum wallet address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e?
  3. Send a transaction:

    Can you help me send 0.1 ETH to 0x742d35Cc6634C0532925a3b844Bc454e4438f44e?

Claude will use the MCP server to interact with the Ethereum blockchain directly.

Development

Adding New Tools

To add new tools to the MCP server:

  1. Define the tool in src/tools.ts
  2. Create a handler function in the appropriate handler file
  3. Add the handler to the handlers object in src/tools.ts

Building

bash
npm run build

License

MIT

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "mcp-cryptowallet-evm": {
      "command": "npx",
      "args": [
        "@mcp-dockmaster/mcp-cryptowallet-evm"
      ]
    }
  }
}

Available Tools

  • wallet_provider_set

    Set the provider URL. By default, the provider URL is set to the ETH mainnet or the URL set in the PROVIDER_URL environment variable.

  • wallet_create_random

    Create a new wallet with a random private key

  • wallet_from_private_key

    Create a wallet from a private key

  • wallet_create_mnemonic_phrase

    Create a mnemonic phrase

  • wallet_from_mnemonic

    Create a wallet from a mnemonic phrase

  • wallet_from_encrypted_json

    Create a wallet by decrypting an encrypted JSON wallet

  • wallet_encrypt

    Encrypt a wallet with a password

  • wallet_get_address

    Get the wallet address

  • wallet_get_public_key

    Get the wallet public key

  • wallet_get_private_key

    Get the wallet private key (with appropriate security warnings)

  • wallet_get_balance

    Get the balance of the wallet

  • wallet_get_chain_id

    Get the chain ID the wallet is connected to

  • wallet_get_gas_price

    Get the current gas price

  • wallet_get_transaction_count

    Get the number of transactions sent from this account (nonce)

  • wallet_call

    Call a contract method without sending a transaction

  • wallet_send_transaction

    Send a transaction

  • wallet_sign_transaction

    Sign a transaction without sending it

  • wallet_populate_transaction

    Populate a transaction with missing fields

  • wallet_sign_message

    Sign a message

  • wallet_sign_typed_data

    Sign typed data (EIP-712)

  • wallet_verify_message

    Verify a signed message

  • wallet_verify_typed_data

    Verify signed typed data

  • provider_get_block

    Get a block by number or hash

  • provider_get_transaction

    Get a transaction by hash

  • provider_get_transaction_receipt

    Get a transaction receipt

  • provider_get_code

    Get the code at an address

  • provider_get_storage_at

    Get the storage at a position for an address

  • provider_estimate_gas

    Estimate the gas required for a transaction

  • provider_get_logs

    Get logs that match a filter

  • provider_get_ens_resolver

    Get the ENS resolver for a name

  • provider_lookup_address

    Lookup the ENS name for an address

  • provider_resolve_name

    Resolve an ENS name to an address

  • network_get_network

    Get the current network information

  • network_get_block_number

    Get the current block number

  • network_get_fee_data

    Get the current fee data (base fee, max priority fee, etc.)

Use Ethereum Wallet (EVM) MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Ethereum Wallet (EVM) is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Ethereum Wallet (EVM) as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Ethereum Wallet (EVM) MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "ethereum-wallet-evm": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-dockmaster/mcp-cryptowallet-evm"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Ethereum Wallet (EVM) MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Ethereum Wallet (EVM) MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Ethereum Wallet (EVM) to help me with this task?
Ethereum Wallet (EVM)
Sure. I read it.
Here is what I found using Ethereum Wallet (EVM).

Option 2: Add an MCP server URL

Use this when Ethereum Wallet (EVM) is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for Ethereum Wallet (EVM).
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Ethereum Wallet (EVM) connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Ethereum Wallet (EVM) tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Ethereum Wallet (EVM) tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Ethereum Wallet (EVM) to help me with this task?
Ethereum Wallet (EVM)
Sure. I read it.
Here is what I found using Ethereum Wallet (EVM).

Frequently asked questions

What is the Ethereum Wallet (EVM) MCP server used for?

Ethereum Wallet (EVM) is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Ethereum Wallet (EVM) MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Ethereum Wallet (EVM) with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Ethereum Wallet (EVM) MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Ethereum Wallet (EVM) connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Ethereum Wallet (EVM) MCP to TypingMind?

Ethereum Wallet (EVM) can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does Ethereum Wallet (EVM) MCP provide in TypingMind?

Ethereum Wallet (EVM) exposes 35 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Ethereum Wallet (EVM) MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Ethereum Wallet (EVM) requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇