EVM MCP Server logo

EVM MCP Server

by mcpdotdirect

The EVM MCP Server provides blockchain services across multiple EVM-compatible networks, enabling AI agents to interact with various chains through a unified interface. It supports reading blockchain state, interacting with smart contracts, transferring tokens, and querying token metadata.

View on GitHub

Last updated: N/A

What is EVM MCP Server?

The MCP EVM Server leverages the Model Context Protocol to provide blockchain services to AI agents across 30+ EVM networks. It offers a consistent interface of MCP tools and resources, making it easy for AI agents to discover and use blockchain functionality, including ENS name resolution.

How to use EVM MCP Server?

To use the server, install it using Bun or npm, configure the server settings (chain ID, port, host) if needed, and run it using bun start or npx @mcpdotdirect/evm-mcp-server. Connect to the server using an MCP-compatible client like the MCP Inspector or configure it within Cursor or Claude CLI.

Key features of EVM MCP Server

  • Multi-chain support for 30+ EVM networks

  • ENS resolution for human-readable Ethereum addresses

  • Comprehensive transaction support for native and ERC20/721/1155 tokens

  • Smart contract interaction capabilities (read/write)

  • Blockchain data access (balances, transactions, blocks)

Use cases of EVM MCP Server

  • Enabling AI agents to interact with blockchain data and services

  • Building applications that require multi-chain support

  • Automating blockchain-related tasks using natural language via Cursor or Claude CLI

  • Integrating blockchain functionality into web applications using SSE

FAQ from EVM MCP Server

What networks are supported?

The server supports 30+ EVM networks including Ethereum, Optimism, Arbitrum, Polygon, BSC, and many others, including testnets.

How do I configure the server?

Server configuration can be modified by editing the hardcoded values in src/core/chains.ts (for chain configuration) and src/server/http-server.ts (for server configuration).

Can I use ENS names instead of addresses?

Yes, all tools and resources that accept Ethereum addresses also support ENS names, which are automatically resolved to addresses.

How do I connect to the server from Cursor?

You can connect to the server from Cursor by adding a new MCP server in Cursor's settings or by creating an mcp.json file in your project's .cursor directory.

Is the server secure?

The server does not store private keys. Consider implementing additional authentication mechanisms, using HTTPS, and implementing rate limiting for production use.