eth_trading_mcp
Verified Safeby sbtobb
Overview
Provides an Ethereum Trading MCP server that offers tools for querying ETH/ERC20 balances, fetching token prices via Uniswap V2/V3, and simulating Uniswap V2/V3 token swaps.
Installation
cargo runEnvironment Variables
- ETH_RPC_URL
- CALLER_ADDRESS
- ROUTER_V2_ADDRESS
- ROUTER_V3_ADDRESS
- UNIVERSAL_ROUTER_ADDRESS
- QUOTER_V3_ADDRESS
- WETH_ADDRESS
- USDC_ADDRESS
- DAI_ADDRESS
Security Notes
The server is built with Rust, leveraging its strong memory safety guarantees. A critical security feature is that all swap operations are simulations (using `eth_call`) and do not involve private keys, transaction signing, or actual on-chain broadcasts from the server. This design choice inherently mitigates risks associated with hot wallets or compromised keys. Configuration for RPC endpoints and contract addresses relies on environment variables, promoting secure deployment practices. The primary external security consideration is the trustworthiness and availability of the configured Ethereum RPC endpoint.
Similar Servers
ethereum-dune-mcp
Ethereum blockchain data analytics and research for RIG (Research Incentive Group), providing metrics on Blob, DEX, Staking, MEV, and L2 activities via Dune Analytics.
MCP-server-built-in-Rust-to-interact-with-the-Ethereum-blockchain
Interacting with the Ethereum blockchain for balance queries, token price fetching, and Uniswap V3 swap simulations.
rust-ethereum-mcp-server
A minimal JSON-RPC server for interacting with Ethereum, providing balance queries, Uniswap V2 token price lookups, and swap simulations.
eth_mcp_server
Enables AI agents to query Ethereum balances, fetch token prices, and simulate Uniswap V3 swaps using the Model Context Protocol.