Back to Home
uu-z icon

rust-eth-mcp

Verified Safe

by uu-z

Overview

Enables AI agents to query Ethereum balances and simulate token swaps via a Model Context Protocol (MCP) server.

Installation

Run Command
cargo run --release

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens75
Stars0
Forks0
Last Update2025-11-20

Tags

EthereumTradingAI AgentsBlockchainRustMCP