eth_mcp
by jacksoom
Overview
An MCP server for AI agents to query Ethereum balances, token prices, and simulate/execute Uniswap V3 token swaps.
Installation
cargo runEnvironment Variables
- ETH_RPC_URL
- ETH_PRIVATE_KEY
- ETH_QUOTER_ADDRESS
- ETH_USDC_ADDRESS
- ETH_WETH_ADDRESS
- ETH_ROUTER_ADDRESS
Security Notes
If `ETH_PRIVATE_KEY` is provided, the server can execute real transactions, directly controlling user funds. The `swap_tokens` function, when executing a real swap, sets `amountOutMinimum` to `U256::ZERO`. This means there is no slippage protection, making actual trades vulnerable to significant loss due to price movements or MEV attacks. Running with a private key configured for real swaps is highly risky.
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.
finance-trading-ai-agents-mcp
A specialized MCP server for financial analysis and quantitative trading, designed to deploy local financial MCP services with a departmental architecture for LLM integration and algorithmic trading.
kukapay-mcp-servers
Aggregates real-time cryptocurrency and blockchain data for AI agents and developers, spanning DeFi, trading, market analytics, and Web3 services.
bit2me-mcp
Integrates AI assistants with the Bit2Me cryptocurrency exchange, enabling real-time market data access, wallet management, trading operations, and interactions with Earn and Loan products.