Logo vun Ethereum Wallet (EVM)

Ethereum Wallet (EVM)

Organisatioun
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…

EditeurdcSpark
Repositorymcp-cryptowallet-evm
SproochTypeScript
Forks
10
Stären
10
Disponibel Tools
35
Transporttypstdio, streamable-http
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Ethereum Wallet (EVM) stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 35 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    10 Stären an 10 Forks aus dem verlinkte 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

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

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

Disponibel 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.)

Ethereum Wallet (EVM) MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Ethereum Wallet (EVM) verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dir kënnt MCP lokal op Ärem Apparat ausféieren oder Iech mat enger Remote-MCP-Server-URL verbannen.

Optioun 1: De lokale Connector benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Ethereum Wallet (EVM) als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Ethereum Wallet (EVM) an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "ethereum-wallet-evm": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-dockmaster/mcp-cryptowallet-evm"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Ethereum Wallet (EVM). Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Ethereum Wallet (EVM).
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Ethereum Wallet (EVM)?
Ethereum Wallet (EVM)
Jo. Ech hunn et gelies.
Dat hunn ech mat Ethereum Wallet (EVM) fonnt.

Optioun 2: Eng MCP-Server-URL derbäisetzen

Benotzt dës Optioun, wann Ethereum Wallet (EVM) scho remote gehost gëtt oder Är Ekipp ee gemeinsame Connector wëllt, op dee méi Benotzer kënnen zougräifen.

1

MCP-Connectoren opmaachen

Gitt an TypingMind op „Plugins“, maacht „MCP-Connectoren“ op a wielt dann „URL derbäisetzen“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Gitt op „Plugins“.
  3. Maacht „MCP-Connectoren“ op.
  4. Klickt op „URL derbäisetzen“.
TypingMind-Formulaire fir eng benotzerdefinéiert MCP-Server-URL derbäizesetzen
2

D'Server-URL apeschen

Gitt Är Server-URL am Feld „Server-URL“ an. Setzt e Verbindungsnumm, eng Beschreiwung, e Symbol, benotzerdefinéiert HTTP-Headeren oder OAuth-Clientastellungen derbäi, wann de Server se erfuerdert.

  1. Pescht Är Server-URL an d'Feld „Server-URL“.
  2. Gitt en Numm fir d'Verbindung mat Ethereum Wallet (EVM) an.
  3. Setzt eng Beschreiwung an e Symbol derbäi, fir d'Verbindung méi einfach erëmzeerkennen.
  4. Setzt benotzerdefinéiert HTTP-Headeren oder OAuth-Clientdetailer derbäi, wann de Server eng Authentifizéierung erfuerdert.
3

D'Verbindung erstellen

Klickt op „Verbindung erstellen“, gitt dann zeréck op d'Plugin-Lëscht a kontrolléiert, ob déi nei MCP-Verbindung aktiv ass.

  1. Klickt op „Verbindung erstellen“.
  2. Gitt zeréck op d'Lëscht vun de MCP-Connectoren.
  3. Kontrolléiert, ob d'Verbindung mat Ethereum Wallet (EVM) als aktiv ugewise gëtt.
  4. Aktualiséiert d'Plugin-Lëscht, wann d'Verbindung net direkt ugewise gëtt.
4

Modeller wiesselen ouni nei ze verbannen

Start e Chat mat Ärem bevorzugte Modell, aktivéiert d'Tools vu Ethereum Wallet (EVM) ënner „Plugins“ a wiesselt bei Bedarf op en anere Modell. D'MCP-Verbindung bleift am TypingMind-Aarbechtsberäich disponibel.

  1. Start en neie Chat an TypingMind.
  2. Wielt de KI-Modell, deen Dir benotze wëllt.
  3. Aktivéiert d'Tools vu Ethereum Wallet (EVM) ënner „Plugins“.
  4. Biet de Modell, den Tool ze benotzen, wann néideg.
  5. Wiesselt op en anere KI-Modell a benotzt déiselwecht MCP-Verbindung weider.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Ethereum Wallet (EVM)?
Ethereum Wallet (EVM)
Jo. Ech hunn et gelies.
Dat hunn ech mat Ethereum Wallet (EVM) fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Ethereum Wallet (EVM) benotzt?

Ethereum Wallet (EVM) ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Ethereum Wallet (EVM) MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Ethereum Wallet (EVM) mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Ethereum Wallet (EVM) MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Ethereum Wallet (EVM) verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Ethereum Wallet (EVM) MCP mat TypingMind?

Dir kënnt Ethereum Wallet (EVM) iwwer de lokale MCP-Connector oder iwwer d'URL vun engem Remote-MCP-Server mat TypingMind verbannen. Benotzt de lokale Connector, wann de Server Zougrëff op Fichieren, Apps oder privat Ressourcen op Ärem Apparat brauch, an eng Server-URL, wann de MCP-Server op Distanz gehost gëtt.

Wéi eng Tools stellt Ethereum Wallet (EVM) MCP an TypingMind zur Verfügung?

Ethereum Wallet (EVM) stellt 35 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Ethereum Wallet (EVM) MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Ethereum Wallet (EVM) eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇