evm-mcp-server
v2.0.4MCP server for interacting with EVM-compatible blockchains - supports 22 tools and 10 prompts across 60+ networks
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_wallet_address
Get the address of the configured wallet. Use this to verify which wallet is active.
get_chain_info
Get information about an EVM network: chain ID, current block number, and RPC endpoint
| Parameter | Type | Description |
|---|---|---|
network | string | Network name (e.g., 'ethereum', 'optimism', 'arbitrum', 'base') or chain ID. Defaults to Ethereum mainnet. |
get_supported_networks
Get a list of all supported EVM networks
get_gas_price
Get current gas prices (base fee, standard, and fast) for a network
| Parameter | Type | Description |
|---|---|---|
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
resolve_ens_name
Resolve an ENS name to an Ethereum address
| Parameter | Type | Description |
|---|---|---|
ensName * | string | ENS name to resolve (e.g., 'vitalik.eth') |
network | string | Network name or chain ID. ENS resolution works best on Ethereum mainnet. Defaults to Ethereum mainnet. |
lookup_ens_address
Lookup the ENS name for an Ethereum address (reverse resolution)
| Parameter | Type | Description |
|---|---|---|
address * | string | Ethereum address to lookup |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
get_block
Get block details by block number or hash
| Parameter | Type | Description |
|---|---|---|
blockIdentifier * | string | Block number (as string) or block hash |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
get_latest_block
Get the latest block from the network
| Parameter | Type | Description |
|---|---|---|
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
get_balance
Get the native token balance (ETH, MATIC, etc.) for an address
| Parameter | Type | Description |
|---|---|---|
address * | string | The wallet address or ENS name |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
get_token_balance
Get the ERC20 token balance for an address
| Parameter | Type | Description |
|---|---|---|
address * | string | The wallet address or ENS name |
tokenAddress * | string | The ERC20 token contract address |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
get_allowance
Check the allowance granted to a spender for a token. This tells you how much of a token an address can spend on your behalf.
| Parameter | Type | Description |
|---|---|---|
spenderAddress * | string | The address allowed to spend the token (usually a contract address) |
tokenAddress * | string | The ERC20 token contract address |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
ownerAddress | string | The owner address (defaults to the configured wallet) |
get_transaction
Get transaction details by transaction hash
| Parameter | Type | Description |
|---|---|---|
txHash * | string | Transaction hash (0x...) |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
get_transaction_receipt
Get transaction receipt (confirmation status, gas used, logs). Use this to check if a transaction has been confirmed.
| Parameter | Type | Description |
|---|---|---|
txHash * | string | Transaction hash (0x...) |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
wait_for_transaction
Wait for a transaction to be confirmed (mined). Polls the network until confirmation.
| Parameter | Type | Description |
|---|---|---|
txHash * | string | Transaction hash (0x...) |
confirmations | number | Number of block confirmations required. Defaults to 1. |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
get_contract_abi
Fetch a contract's full ABI from Etherscan/block explorers. Use this to understand verified contracts before interacting. Requires ETHERSCAN_API_KEY. Supports 30+ EVM networks. Works best with verified contracts on block explorers.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address (0x...) |
network | string | Network name or chain ID. Defaults to ethereum. Supported: ethereum, polygon, arbitrum, optimism, base, avalanche, gnosis, fantom, bsc, celo, scroll, linea, zksync, manta, blast, and testnets (sepolia… |
read_contract
Call read-only functions on a smart contract. Automatically fetches ABI from block explorer if not provided (requires ETHERSCAN_API_KEY). Falls back to common functions if contract is not verified. Use this to query contract state and data.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address |
functionName * | string | Function name (e.g., 'name', 'symbol', 'balanceOf', 'totalSupply', 'owner') |
abiJson | string | Full contract ABI as JSON string (optional - will auto-fetch verified contract ABI if not provided) |
args | array | Function arguments as strings (e.g., ['0xAddress'] for balanceOf) |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
write_contract
Execute state-changing functions on a smart contract. Automatically fetches ABI from block explorer if not provided (requires ETHERSCAN_API_KEY). Use this to call any write function on verified contracts. Requires wallet to be configured (via private key or mnemonic).
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address |
functionName * | string | Function name to call (e.g., 'mint', 'swap', 'stake', 'approve') |
abiJson | string | Full contract ABI as JSON string (optional - will auto-fetch verified contract ABI if not provided) |
args | array | Function arguments as strings (e.g., ['0xAddress', '1000000']) |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
value | string | ETH value to send with transaction in ether (e.g., '0.1' for payable functions) |
multicall
Batch multiple contract read calls into a single RPC request. Significantly reduces latency and RPC usage when querying multiple functions. Uses the Multicall3 contract deployed on all major networks. Perfect for portfolio analysis, price aggregation, and querying multiple contract states efficiently.
| Parameter | Type | Description |
|---|---|---|
calls * | array | Array of contract calls to batch together |
allowFailure | boolean | If true, returns partial results even if some calls fail. Defaults to true. |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
transfer_native
Transfer native tokens (ETH, MATIC, etc.) to an address. Uses the configured wallet.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount to send in ether (e.g., '0.5' for 0.5 ETH) |
to * | string | Recipient address or ENS name |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
transfer_erc20
Transfer ERC20 tokens to an address. Uses the configured wallet.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount to send (in token units, accounting for decimals) |
to * | string | Recipient address or ENS name |
tokenAddress * | string | The ERC20 token contract address |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
approve_token_spending
Approve a spender (contract) to spend tokens on your behalf. Required before interacting with DEXes, lending protocols, etc.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount to approve (in token units). Use '0' to revoke approval. |
spenderAddress * | string | The address that will be allowed to spend tokens (usually a contract) |
tokenAddress * | string | The ERC20 token contract address |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
get_nft_info
Get information about an ERC721 NFT including metadata URI
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The NFT contract address |
tokenId * | string | The NFT token ID |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
get_erc1155_balance
Get ERC1155 token balance for an address
| Parameter | Type | Description |
|---|---|---|
address * | string | The owner address or ENS name |
contractAddress * | string | The ERC1155 contract address |
tokenId * | string | The token ID |
network | string | Network name or chain ID. Defaults to Ethereum mainnet. |
sign_message
Sign an arbitrary message using the configured wallet. Useful for authentication (SIWE), meta-transactions, and off-chain signatures. The signature can be verified on-chain or off-chain.
| Parameter | Type | Description |
|---|---|---|
message * | string | The message to sign (plain text or hex-encoded data) |
sign_typed_data
Sign structured data (EIP-712) using the configured wallet. Used for gasless transactions, meta-transactions, permit signatures, and protocol-specific signatures. The signature follows the EIP-712 standard.
| Parameter | Type | Description |
|---|---|---|
domainJson * | string | EIP-712 domain as JSON string with fields: name, version, chainId, verifyingContract, salt (all optional) |
messageJson * | string | The message data to sign as JSON string |
primaryType * | string | The primary type name (e.g., 'Mail', 'Permit', 'MetaTransaction') |
typesJson * | string | EIP-712 types definition as JSON string (exclude EIP712Domain type - it's added automatically) |