Logo EVM Blockchain

EVM Blockchain

Tổ chức
mcpdotdirect

MCP server that provides LLMs with tools for interacting with EVM networks

Nhà phát hànhmcpdotdirect
Kho mãevm-mcp-server
Ngôn ngữTypeScript
Bản fork
105
Sao
379
Công cụ có sẵn
28
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    EVM Blockchain cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 28 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    379 sao và 105 bản fork từ kho mã được liên kết.

EVM MCP Server

License: MIT EVM Networks TypeScript MCP Viem

A comprehensive Model Context Protocol (MCP) server that provides blockchain services across 60+ EVM-compatible networks. This server enables AI agents to interact with Ethereum, Optimism, Arbitrum, Base, Polygon, and many other EVM chains with a unified interface through 22 tools and 10 AI-guided prompts.

📋 Contents

🔭 Overview

The MCP EVM Server leverages the Model Context Protocol to provide blockchain services to AI agents. It supports a wide range of services including:

  • Reading blockchain state (balances, transactions, blocks, etc.)
  • Interacting with smart contracts with automatic ABI fetching from block explorers
  • Transferring tokens (native, ERC20, ERC721, ERC1155)
  • Querying token metadata and balances
  • Chain-specific services across 60+ EVM networks (34 mainnets + 26 testnets)
  • ENS name resolution for all address parameters (use human-readable names like 'vitalik.eth' instead of addresses)
  • AI-friendly prompts that guide agents through complex workflows

All services are exposed through a consistent interface of MCP tools, resources, and prompts, making it easy for AI agents to discover and use blockchain functionality. Every tool that accepts Ethereum addresses also supports ENS names, automatically resolving them to addresses behind the scenes. The server includes intelligent ABI fetching, eliminating the need to know contract ABIs in advance.

✨ Features

Blockchain Data Access

  • Multi-chain support for 60+ EVM-compatible networks (34 mainnets + 26 testnets)
  • Chain information including blockNumber, chainId, and RPCs
  • Block data access by number, hash, or latest
  • Transaction details and receipts with decoded logs
  • Address balances for native tokens and all token standards
  • ENS resolution for human-readable Ethereum addresses (use 'vitalik.eth' instead of '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045')

Token services

  • ERC20 Tokens

    • Get token metadata (name, symbol, decimals, supply)
    • Check token balances
    • Transfer tokens between addresses
    • Approve spending allowances
  • NFTs (ERC721)

    • Get collection and token metadata
    • Verify token ownership
    • Transfer NFTs between addresses
    • Retrieve token URIs and count holdings
  • Multi-tokens (ERC1155)

    • Get token balances and metadata
    • Transfer tokens with quantity
    • Access token URIs

Smart Contract Interactions

  • Read contract state through view/pure functions
  • Write to contracts - Execute any state-changing function with automatic ABI fetching
  • Contract verification to distinguish from EOAs
  • Event logs retrieval and filtering
  • Automatic ABI fetching from Etherscan v2 API across all 60+ networks (no need to know ABIs in advance)
  • ABI parsing and validation with function discovery

Comprehensive Transaction Support

  • Flexible Wallet Support - Configure with Private Key or Mnemonic (BIP-39) with HD path support
  • Native token transfers across all supported networks
  • Gas estimation for transaction planning
  • Transaction status and receipt information
  • Error handling with descriptive messages

Message Signing Capabilities

  • Personal Message Signing - Sign arbitrary messages for authentication and verification
  • EIP-712 Typed Data Signing - Sign structured data for gasless transactions and meta-transactions
  • SIWE Support - Enable Sign-In With Ethereum authentication flows
  • Permit Signatures - Create off-chain approvals for gasless token operations
  • Meta-Transaction Support - Sign transaction data for relay services and gasless transfers

AI-Guided Workflows (Prompts)

  • Transaction preparation - Guidance for planning and executing transfers
  • Wallet analysis - Tools for analyzing wallet activity and holdings
  • Smart contract exploration - Interactive ABI fetching and contract analysis
  • Contract interaction - Safe execution of write operations on smart contracts
  • Network information - Learning about EVM networks and comparisons
  • Approval auditing - Reviewing and managing token approvals
  • Error diagnosis - Troubleshooting transaction failures

🌐 Supported Networks

Mainnets

  • Ethereum (ETH)
  • Optimism (OP)
  • Arbitrum (ARB)
  • Arbitrum Nova
  • Base
  • Polygon (MATIC)
  • Polygon zkEVM
  • Avalanche (AVAX)
  • Binance Smart Chain (BSC)
  • zkSync Era
  • Linea
  • Celo
  • Gnosis (xDai)
  • Fantom (FTM)
  • Filecoin (FIL)
  • Moonbeam
  • Moonriver
  • Cronos
  • Scroll
  • Mantle
  • Manta
  • Blast
  • Fraxtal
  • Mode
  • Metis
  • Kroma
  • Zora
  • Aurora
  • Canto
  • Flow
  • Lumia

Testnets

  • Sepolia
  • Optimism Sepolia
  • Arbitrum Sepolia
  • Base Sepolia
  • Polygon Amoy
  • Avalanche Fuji
  • BSC Testnet
  • zkSync Sepolia
  • Linea Sepolia
  • Scroll Sepolia
  • Mantle Sepolia
  • Manta Sepolia
  • Blast Sepolia
  • Fraxtal Testnet
  • Mode Testnet
  • Metis Sepolia
  • Kroma Sepolia
  • Zora Sepolia
  • Celo Alfajores
  • Goerli
  • Holesky
  • Flow Testnet
  • Filecoin Calibration
  • Lumia Testnet

🛠️ Prerequisites

  • Bun 1.0.0 or higher (recommended)
  • Node.js 20.0.0 or higher (if not using Bun)
  • Optional: Etherscan API key for ABI fetching

📦 Installation

bash
# Clone the repository
git clone https://github.com/mcpdotdirect/evm-mcp-server.git
cd evm-mcp-server

# Install dependencies with Bun
bun install

# Or with npm
npm install

⚙️ Configuration

Environment Variables

The server uses the following environment variables. For write operations and ABI fetching, you must configure these variables:

Wallet Configuration (For Write Operations)

You can configure your wallet using either a private key or a mnemonic phrase:

Option 1: Private Key

bash
export EVM_PRIVATE_KEY="0x..." # Your private key in hex format (with or without 0x prefix)

Option 2: Mnemonic Phrase (Recommended for HD Wallets)

bash
export EVM_MNEMONIC="word1 word2 word3 ... word12" # Your 12 or 24 word BIP-39 mnemonic
export EVM_ACCOUNT_INDEX="0" # Optional: Account index for HD wallet derivation (default: 0)

The mnemonic option supports hierarchical deterministic (HD) wallet derivation:

  • Uses BIP-39 standard mnemonic phrases (12 or 24 words)
  • Supports BIP-44 derivation path: m/44'/60'/0'/0/{accountIndex}
  • EVM_ACCOUNT_INDEX allows you to derive different accounts from the same mnemonic
  • Default account index is 0 (first account)

Wallet is used for:

  • Transferring native tokens (transfer_native tool)
  • Transferring ERC20 tokens (transfer_erc20 tool)
  • Approving token spending (approve_token_spending tool)
  • Writing to smart contracts (write_contract tool)
  • Signing messages for authentication (sign_message tool)
  • Signing structured data for gasless transactions (sign_typed_data tool)

⚠️ Security:

  • Never commit your private key or mnemonic to version control
  • Use environment variables or a secure key management system
  • Store mnemonics securely - they provide access to all derived accounts
  • Consider using different account indices for different purposes

API Keys (For ABI Fetching)

bash
export ETHERSCAN_API_KEY="your-api-key-here"

This API key is optional but required for:

  • Automatic ABI fetching from block explorers (get_contract_abi tool)
  • Auto-fetching ABIs when reading contracts (read_contract tool with abiJson parameter)
  • The fetch_and_analyze_abi prompt

Get your free API key from:

  • Etherscan - For Ethereum and compatible chains
  • The same key works across all 60+ EVM networks via the Etherscan v2 API

Server Configuration

The server uses the following default configuration:

  • Default Chain ID: 1 (Ethereum Mainnet)
  • Server Port: 3001
  • Server Host: 0.0.0.0 (accessible from any network interface)

These values are hardcoded in the application. If you need to modify them, you can edit the following files:

  • For chain configuration: src/core/chains.ts
  • For server configuration: src/server/http-server.ts

🚀 Usage

Using npx (No Installation Required)

You can run the MCP EVM Server directly without installation using npx:

bash
# Run the server in stdio mode (for CLI tools)
npx @mcpdotdirect/evm-mcp-server

# Run the server in HTTP mode (for web applications)
npx @mcpdotdirect/evm-mcp-server --http

Running the Server Locally

Start the server using stdio (for embedding in CLI tools):

bash
# Start the stdio server
bun start

# Development mode with auto-reload
bun dev

Or start the HTTP server with SSE for web applications:

bash
# Start the HTTP server
bun start:http

# Development mode with auto-reload
bun dev:http

Connecting to the Server

Connect to this MCP server using any MCP-compatible client. For testing and debugging, you can use the MCP Inspector.

Connecting from Cursor

To connect to the MCP server from Cursor:

  1. Open Cursor and go to Settings (gear icon in the bottom left)

  2. Click on "Features" in the left sidebar

  3. Scroll down to "MCP Servers" section

  4. Click "Add new MCP server"

  5. Enter the following details:

    • Server name: evm-mcp-server
    • Type: command
    • Command: npx @mcpdotdirect/evm-mcp-server
  6. Click "Save"

Once connected, you can use the MCP server's capabilities directly within Cursor. The server will appear in the MCP Servers list and can be enabled/disabled as needed.

Using mcp.json with Cursor

For a more portable configuration that you can share with your team or use across projects, you can create an .cursor/mcp.json file in your project's root directory:

json
{
  "mcpServers": {
    "evm-mcp-server": {
      "command": "npx",
      "args": ["-y", "@mcpdotdirect/evm-mcp-server"]
    },
    "evm-mcp-http": {
      "command": "npx",
      "args": ["-y", "@mcpdotdirect/evm-mcp-server", "--http"]
    }
  }
}

Place this file in your project's .cursor directory (create it if it doesn't exist), and Cursor will automatically detect and use these MCP server configurations when working in that project. This approach makes it easy to:

  1. Share MCP configurations with your team
  2. Version control your MCP setup
  3. Use different server configurations for different projects

Example: HTTP Mode with SSE

If you're developing a web application and want to connect to the HTTP server with Server-Sent Events (SSE), you can use this configuration:

json
{
  "mcpServers": {
    "evm-mcp-sse": {
      "url": "http://localhost:3001/sse"
    }
  }
}

This connects directly to the HTTP server's SSE endpoint, which is useful for:

  • Web applications that need to connect to the MCP server from the browser
  • Environments where running local commands isn't ideal
  • Sharing a single MCP server instance among multiple users or applications

To use this configuration:

  1. Create a .cursor directory in your project root if it doesn't exist
  2. Save the above JSON as mcp.json in the .cursor directory
  3. Restart Cursor or open your project
  4. Cursor will detect the configuration and offer to enable the server(s)

Example: Using the MCP Server in Cursor

After configuring the MCP server with mcp.json, you can easily use it in Cursor. Here's an example workflow:

  1. Create a new JavaScript/TypeScript file in your project:
javascript
// blockchain-example.js
async function main() {
  try {
    // Get ETH balance for an address using ENS
    console.log("Getting ETH balance for vitalik.eth...");

    // When using with Cursor, you can simply ask Cursor to:
    // "Check the ETH balance of vitalik.eth on mainnet"
    // Or "Transfer 0.1 ETH from my wallet to vitalik.eth"

    // Cursor will use the MCP server to execute these operations
    // without requiring any additional code from you

    // This is the power of the MCP integration - your AI assistant
    // can directly interact with blockchain data and operations
  } catch (error) {
    console.error("Error:", error.message);
  }
}

main();
  1. With the file open in Cursor, you can ask Cursor to:

    • "Check the current ETH balance of vitalik.eth"
    • "Look up the price of USDC on Ethereum"
    • "Show me the latest block on Optimism"
    • "Check if 0x1234... is a contract address"
  2. Cursor will use the MCP server to execute these operations and return the results directly in your conversation.

The MCP server handles all the blockchain communication while allowing Cursor to understand and execute blockchain-related tasks through natural language.

Connecting using Claude CLI

If you're using Claude CLI, you can connect to the MCP server with just two commands:

bash
# Add the MCP server
claude mcp add evm-mcp-server npx @mcpdotdirect/evm-mcp-server

# Start Claude with the MCP server enabled
claude

Example: Getting a Token Balance with ENS

javascript
// Example of using the MCP client to check a token balance using ENS
const mcp = new McpClient("http://localhost:3000");

const result = await mcp.invokeTool("get-token-balance", {
  tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", // USDC on Ethereum
  ownerAddress: "vitalik.eth", // ENS name instead of address
  network: "ethereum",
});

console.log(result);
// {
//   tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
//   owner: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
//   network: "ethereum",
//   raw: "1000000000",
//   formatted: "1000",
//   symbol: "USDC",
//   decimals: 6
// }

Example: Resolving an ENS Name

javascript
// Example of using the MCP client to resolve an ENS name to an address
const mcp = new McpClient("http://localhost:3000");

const result = await mcp.invokeTool("resolve-ens", {
  ensName: "vitalik.eth",
  network: "ethereum",
});

console.log(result);
// {
//   ensName: "vitalik.eth",
//   normalizedName: "vitalik.eth",
//   resolvedAddress: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
//   network: "ethereum"
// }

Example: Batch Multiple Calls with Multicall

javascript
// Example of using multicall to batch multiple contract reads in a single RPC call
const mcp = new McpClient("http://localhost:3000");

const result = await mcp.invokeTool("multicall", {
  network: "ethereum",
  calls: [
    {
      contractAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", // USDC
      functionName: "balanceOf",
      args: ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],
    },
    {
      contractAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", // USDC
      functionName: "symbol",
    },
    {
      contractAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", // USDC
      functionName: "decimals",
    },
  ],
});

console.log(result);
// {
//   network: "ethereum",
//   totalCalls: 3,
//   successfulCalls: 3,
//   failedCalls: 0,
//   results: [
//     { contractAddress: "0xA0b...", functionName: "balanceOf", result: "1000000000", status: "success" },
//     { contractAddress: "0xA0b...", functionName: "symbol", result: "USDC", status: "success" },
//     { contractAddress: "0xA0b...", functionName: "decimals", result: "6", status: "success" }
//   ]
// }

📚 API Reference

Tools

The server provides 25 focused MCP tools for agents. All tools that accept address parameters support both Ethereum addresses and ENS names.

Wallet Information

Tool NameDescriptionKey Parameters
get_wallet_addressGet the address of the configured wallet (from EVM_PRIVATE_KEY)none

Network Information

Tool NameDescriptionKey Parameters
get_chain_infoGet network informationnetwork
get_supported_networksList all supported EVM networksnone
get_gas_priceGet current gas prices on a networknetwork

ENS Services

Tool NameDescriptionKey Parameters
resolve_ens_nameResolve ENS name to addressensName, network
lookup_ens_addressReverse lookup address to ENS nameaddress, network

Block & Transaction Information

Tool NameDescriptionKey Parameters
get_blockGet block datablockNumber or blockHash, network
get_latest_blockGet latest block datanetwork
get_transactionGet transaction detailstxHash, network
get_transaction_receiptGet transaction receipt with logstxHash, network
wait_for_transactionWait for transaction confirmationtxHash, confirmations, network

Balance & Token Information

Tool NameDescriptionKey Parameters
get_balanceGet native token balanceaddress (address/ENS), network
get_token_balanceCheck ERC20 token balancetokenAddress (address/ENS), ownerAddress (address/ENS), network
get_allowanceCheck token spending allowancetokenAddress (address/ENS), ownerAddress (address/ENS), spenderAddress (address/ENS), network

Smart Contract Interactions

Tool NameDescriptionKey Parameters
get_contract_abiFetch contract ABI from block explorer (60+ networks)contractAddress (address/ENS), network
read_contractRead smart contract state (auto-fetches ABI if needed)contractAddress, functionName, args[], abiJson (optional), network
write_contractExecute state-changing functions (auto-fetches ABI if needed)contractAddress, functionName, args[], value (optional), abiJson (optional), network
multicallBatch multiple read calls into a single RPC request (uses Multicall3)calls[] (array of contract calls), allowFailure (optional), network

Token Transfers

Tool NameDescriptionKey Parameters
transfer_nativeSend native tokens (ETH, etc.)to (address/ENS), amount, network
transfer_erc20Transfer ERC20 tokenstokenAddress (address/ENS), to (address/ENS), amount, network
approve_token_spendingApprove token allowancestokenAddress (address/ENS), spenderAddress (address/ENS), amount, network

NFT Services

Tool NameDescriptionKey Parameters
get_nft_infoGet NFT (ERC721) metadatatokenAddress (address/ENS), tokenId, network
get_erc1155_balanceCheck ERC1155 balancetokenAddress (address/ENS), tokenId, ownerAddress (address/ENS), network

Message Signing

Tool NameDescriptionKey Parameters
sign_messageSign arbitrary messages for authentication and verification (SIWE, off-chain signatures)message
sign_typed_dataSign EIP-712 structured data for gasless transactions, permits, and meta-transactionsdomainJson, typesJson, primaryType, messageJson

Resources

The server exposes blockchain data through the following MCP resource URIs. All resource URIs that accept addresses also support ENS names, which are automatically resolved to addresses.

Blockchain Resources

Resource URI PatternDescription
evm://{network}/chainChain information for a specific network
evm://chainEthereum mainnet chain information
evm://{network}/block/{blockNumber}Block data by number
evm://{network}/block/latestLatest block data
evm://{network}/address/{address}/balanceNative token balance
evm://{network}/tx/{txHash}Transaction details
evm://{network}/tx/{txHash}/receiptTransaction receipt with logs

Token Resources

Resource URI PatternDescription
evm://{network}/token/{tokenAddress}ERC20 token information
evm://{network}/token/{tokenAddress}/balanceOf/{address}ERC20 token balance
evm://{network}/nft/{tokenAddress}/{tokenId}NFT (ERC721) token information
evm://{network}/nft/{tokenAddress}/{tokenId}/isOwnedBy/{address}NFT ownership verification
evm://{network}/erc1155/{tokenAddress}/{tokenId}/uriERC1155 token URI
evm://{network}/erc1155/{tokenAddress}/{tokenId}/balanceOf/{address}ERC1155 token balance

🔒 Security Considerations

  • Private keys are used only for transaction signing and are never stored by the server
  • Consider implementing additional authentication mechanisms for production use
  • Use HTTPS for the HTTP server in production environments
  • Implement rate limiting to prevent abuse
  • For high-value services, consider adding confirmation steps

📁 Project Structure

mcp-evm-server/
├── src/
│   ├── index.ts                # Main stdio server entry point
│   ├── server/                 # Server-related files
│   │   ├── http-server.ts      # HTTP server with SSE
│   │   └── server.ts           # General server setup
│   ├── core/
│   │   ├── chains.ts           # Chain definitions and utilities
│   │   ├── resources.ts        # MCP resources implementation
│   │   ├── tools.ts            # MCP tools implementation
│   │   ├── prompts.ts          # MCP prompts implementation
│   │   └── services/           # Core blockchain services
│   │       ├── index.ts        # Operation exports
│   │       ├── balance.ts      # Balance services
│   │       ├── transfer.ts     # Token transfer services
│   │       ├── utils.ts        # Utility functions
│   │       ├── tokens.ts       # Token metadata services
│   │       ├── contracts.ts    # Contract interactions
│   │       ├── transactions.ts # Transaction services
│   │       └── blocks.ts       # Block services
│   │       └── clients.ts      # RPC client utilities
├── package.json
├── tsconfig.json
└── README.md

🛠️ Development

To modify or extend the server:

  1. Add new services in the appropriate file under src/core/services/
  2. Register new tools in src/core/tools.ts
  3. Register new resources in src/core/resources.ts
  4. Add new network support in src/core/chains.ts
  5. To change server configuration, edit the hardcoded values in src/server/http-server.ts

📄 License

This project is licensed under the terms of the MIT License.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "evm-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mcpdotdirect/evm-mcp-server"
      ]
    }
  }
}

Công cụ có sẵn

  • get_chain_info

    Get information about an EVM network

  • resolve_ens

    Resolve an ENS name to an Ethereum address

  • get_supported_networks

    Get a list of supported EVM networks

  • get_block_by_number

    Get a block by its block number

  • get_latest_block

    Get the latest block from the EVM

  • get_balance

    Get the native token balance (ETH, MATIC, etc.) for an address

  • get_erc20_balance

    Get the ERC20 token balance of an Ethereum address

  • get_token_balance

    Get the balance of an ERC20 token for an address

  • get_transaction

    Get detailed information about a specific transaction by its hash. Includes sender, recipient, value, data, and more.

  • get_transaction_receipt

    Get a transaction receipt by its hash

  • estimate_gas

    Estimate the gas cost for a transaction

  • transfer_eth

    Transfer native tokens (ETH, MATIC, etc.) to an address

  • transfer_erc20

    Transfer ERC20 tokens to another address

  • approve_token_spending

    Approve another address (like a DeFi protocol or exchange) to spend your ERC20 tokens. This is often required before interacting with DeFi protocols.

  • transfer_nft

    Transfer an NFT (ERC721 token) from one address to another. Requires the private key of the current owner for signing the transaction.

  • transfer_erc1155

    Transfer ERC1155 tokens to another address. ERC1155 is a multi-token standard that can represent both fungible and non-fungible tokens in a single contract.

  • transfer_token

    Transfer ERC20 tokens to an address

  • read_contract

    Read data from a smart contract by calling a view/pure function. This doesn't modify blockchain state and doesn't require gas or signing.

  • write_contract

    Write data to a smart contract by calling a state-changing function. This modifies blockchain state and requires gas payment and transaction signing.

  • is_contract

    Check if an address is a smart contract or an externally owned account (EOA)

  • get_token_info

    Get comprehensive information about an ERC20 token including name, symbol, decimals, total supply, and other metadata. Use this to analyze any token on EVM chains.

  • get_token_balance_erc20

    Get ERC20 token balance for an address

  • get_nft_info

    Get detailed information about a specific NFT (ERC721 token), including collection name, symbol, token URI, and current owner if available.

  • check_nft_ownership

    Check if an address owns a specific NFT

  • get_erc1155_token_uri

    Get the metadata URI for an ERC1155 token (multi-token standard used for both fungible and non-fungible tokens). The URI typically points to JSON metadata about the token.

  • get_nft_balance

    Get the total number of NFTs owned by an address from a specific collection. This returns the count of NFTs, not individual token IDs.

  • get_erc1155_balance

    Get the balance of a specific ERC1155 token ID owned by an address. ERC1155 allows multiple tokens of the same ID, so the balance can be greater than 1.

  • get_address_from_private_key

    Get the EVM address derived from a private key

Dùng MCP EVM Blockchain với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối EVM Blockchain, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm EVM Blockchain làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của EVM Blockchain.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "evm-blockchain": {
      "command": "npx",
      "args": [
        "-y",
        "@mcpdotdirect/evm-mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của EVM Blockchain, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của EVM Blockchain.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng EVM Blockchain giúp tôi làm việc này không?
EVM Blockchain
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng EVM Blockchain.

Câu hỏi thường gặp

Máy chủ MCP EVM Blockchain dùng để làm gì?

EVM Blockchain là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP EVM Blockchain với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng EVM Blockchain với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP EVM Blockchain với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối EVM Blockchain, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP EVM Blockchain với TypingMind?

EVM Blockchain hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP EVM Blockchain cung cấp những công cụ nào trong TypingMind?

EVM Blockchain cung cấp 28 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP EVM Blockchain không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu EVM Blockchain yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

ethereum_chain_info
default_latest_block
supported_networks
explore_block

Explore information about a specific block

analyze_transaction

Analyze a specific transaction

analyze_address

Analyze an EVM address

interact_with_contract

Get guidance on interacting with a smart contract

explain_evm_concept

Get an explanation of an EVM concept

compare_networks

Compare different EVM-compatible networks

analyze_token

Analyze an ERC20 or NFT token

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇