Skip to content

Releases: ETHCF/ethereum-mcp

Release list

v2.0.0

Choose a tag to compare

@patmilkgallon patmilkgallon released this 28 Jan 06:19

What's New

JSON-RPC Local Node Support
Connect your own Ethereum node for direct RPC queries. Set ETH_NODE_URL or use set_node_url at runtime. Supports balance, block, transaction, contract, gas, and log queries with automatic fallback to Etherscan when the node is unavailable.

Codex Support
Install instructions for OpenAI Codex added to the README. Thanks @zakraicik (#2).

Bug Fixes

  • Fix get_protocol_info crash when formatting TVL (DefiLlama returns a historical array, not a number)
  • Fix get_global_defi crash (CoinGecko returns strings for DeFi/ETH ratio and dominance)
  • Fix smart_get_price and smart_get_eth_price crash when 24h change is null
  • Fix get_top_tokens crash when 24h change is null
  • Fix formatUSD to handle null, undefined, string, and non-numeric inputs instead of crashing
  • Harden all L2 metric handlers (fees, transactions, DAA) against null values from growthepie

Internal

  • Extract server.ts from index.ts (clean separation of transport and server logic)
  • Add JSON-RPC test suite with input validation and 15 API endpoint tests
  • Remove MCP app tools (interactive HTML dashboards) for future reintroduction
  • Remove Cloudflare Worker, Vite, and wrangler configs
  • Strip unused devDependencies (vite, wrangler, @cloudflare/workers-types)