Repository navigation
2.0.5 (2026-12-04)
This release closes an open-wallet exposure and a DNS-rebinding exposure, makes transaction inputs stricter, adds MegaETH, and publishes to npm with build provenance. It changes two defaults, so read the upgrade note first.
Upgrading
- Signing is now off by default. The tools that sign or send a transaction (
transfer_native,transfer_erc20,approve_token_spending,write_contract,sign_message,sign_typed_data) return an error until you start the server withEVM_MCP_ENABLE_SIGNING=1. Read-only tools keep working without it. (#45) - HTTP mode now binds
127.0.0.1by default. A server that used to listen on every interface now accepts only local connections. SetMCP_HOSTto another interface to expose it, and the server logs a warning when you do; useMCP_ALLOWED_HOSTSfor any extra hostnames it should accept. (#45)
Security
- The HTTP transport rejects any request whose
HostorOriginheader is not an allowed hostname, which stops a web page in a browser from driving the server through DNS rebinding. (#45) - Transfer amounts are parsed exactly. The server rejects a malformed amount, or one with more decimal places than the token has, instead of rounding it and sending a different amount than you asked for. (#53)
- Contract addresses and required values are validated before any signing or transaction request is built, so an empty or malformed address can no longer reach a signed call. (#53)
/healthno longer reports session ids. (#45)
Networks
- Added MegaETH mainnet and testnet, with Multicall3 support on both. (#41)
- An unknown network name or chain id now returns an error instead of silently falling back to Ethereum mainnet, so a lookup can no longer answer for the wrong chain. (#45)
Fixes
approve_token_spendingreturns the approval transaction hash once the approval is broadcast, instead of reporting a failure after the transaction has already been sent. (#57)
Publishing
- Releases now publish to npm through trusted publishing from a pushed version tag, so each published version carries verifiable build provenance. (#46)
Documentation
- Fixed the repository clone path in the README.