Back to Home
sbtobb icon

eth_trading_mcp

Verified Safe

by 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

Run Command
cargo run

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens5
Stars0
Forks0
Last Update2025-11-26

Tags

EthereumDeFiUniswapTradingSimulation