Back to Home
altbee icon

rust-ethereum-mcp-server

Verified Safe

by altbee

Overview

A minimal JSON-RPC server for interacting with Ethereum, providing balance queries, Uniswap V2 token price lookups, and swap simulations.

Installation

Run Command
cargo run

Environment Variables

  • ETH_RPC_URL
  • WALLET_PRIVATE_KEY

Security Notes

The server primarily focuses on read-only operations and simulations. Crucially, `swap_tokens` explicitly states it's a simulation and does not send transactions on-chain, which significantly mitigates financial risk. Private keys, if provided, are handled via environment variables, adhering to good security practices. The server binds to localhost by default, reducing external attack surface. No 'eval' or malicious patterns were found. The use of 'ethers-rs' and 'rust_decimal' suggests robust cryptographic and numerical handling.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Stars0
Forks0
Last Update2025-12-03

Tags

EthereumJSON-RPCDeFiUniswapRust