rust-eth-mcp
Verified Safeby uu-z
Overview
Enables AI agents to query Ethereum balances and simulate token swaps via a Model Context Protocol (MCP) server.
Installation
cargo run --releaseEnvironment Variables
- ETH_RPC_URL
- PRIVATE_KEY
- RUST_LOG
Security Notes
The server explicitly states that token swaps are 'simulation-only' and not executed on-chain, significantly reducing financial risk. It uses environment variables for the RPC URL and an optional private key, avoiding hardcoded secrets. The `PRIVATE_KEY` field exists but is marked as `#[allow(dead_code)]` and is not currently used for on-chain execution in the provided tool implementations, reinforcing the simulation-only design. The server binds to localhost (127.0.0.1:8000) by default, limiting external exposure. No 'eval' or similar dangerous dynamic code execution patterns were found.
Similar Servers
evm-mcp-server
Enables AI agents to interact with 60+ EVM-compatible blockchains, perform transactions, query data, and interact with smart contracts via a unified Model Context Protocol (MCP) interface.
mcp-framework
A Rust framework for building AI agents with built-in Model Context Protocol (MCP) support, multi-LLM integration, and a web-based inspector for debugging.
kukapay-mcp-servers
Aggregates real-time cryptocurrency and blockchain data for AI agents and developers, spanning DeFi, trading, market analytics, and Web3 services.
kodegen
A Rust-native Model Context Protocol (MCP) server providing blazing-fast auto-coding and development tools for AI agents.