
How to add EVM MCP Server to Cursor
Interact with 60+ EVM chains: balances, transfers, contracts, ENS, and ABI fetching. Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 15, 2026 · 380★ · stdio · apikey
Cursor config for EVM MCP Server
npx -y @mcpdotdirect/evm-mcp-server{
"mcpServers": {
"evm-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mcpdotdirect/evm-mcp-server"
],
"env": {
"EVM_PRIVATE_KEY": "<your-evm-private-key-optional>",
"ETHERSCAN_API_KEY": "<your-etherscan-api-key>"
}
}
}
}Setup steps
- 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the EVM MCP Server config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of EVM MCP Server's tools to confirm it's connected.
Before you start
- Bun 1.0.0+ (recommended) or Node.js 20.0.0+
- Optional: an Etherscan API key (`ETHERSCAN_API_KEY`) for automatic ABI fetching
- For write operations/transfers: a wallet via `EVM_PRIVATE_KEY` or `EVM_MNEMONIC` (with optional `EVM_ACCOUNT_INDEX`) — read-only tools need no key
- An MCP-compatible client (Claude Desktop, Cursor, etc.)
What EVM MCP Server can do in Cursor
get_supported_networksList all supported EVM chains
get_balanceGet native token balance for an address or ENS name
get_token_balanceGet an ERC-20 token balance
resolve_ens_nameResolve an ENS name to an address
get_contract_abiFetch a verified contract's ABI from a block explorer
read_contractCall a read-only contract method
write_contractSend a state-changing contract transaction
multicallBatch multiple contract reads into one RPC call
Security
Providing EVM_PRIVATE_KEY or EVM_MNEMONIC lets the server sign and broadcast transactions that move real crypto; use a dedicated low-value wallet and omit the key entirely for read-only use. Never paste a mainnet seed phrase you also use elsewhere.
EVM MCP Server + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the EVM MCP Server config there under the "mcpServers" key and restart the client.
Is EVM MCP Server safe to use with Cursor?
Providing EVM_PRIVATE_KEY or EVM_MNEMONIC lets the server sign and broadcast transactions that move real crypto; use a dedicated low-value wallet and omit the key entirely for read-only use. Never paste a mainnet seed phrase you also use elsewhere.
How many chains does it support?
60+ EVM networks: 34 mainnets (Ethereum, Optimism, Arbitrum, Base, Polygon, Avalanche, BSC, zkSync, etc.) and 26 testnets.
Do I need a private key?
Only for write/transfer operations. Read-only tools (balances, contract reads, ENS, ABI fetching) work without any wallet credentials.
Can it run as a remote/HTTP server?
Yes. It runs over stdio by default, or in HTTP mode with an SSE endpoint (e.g. http://localhost:3001/sse) using the `--http` flag for web applications.