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
Provides structured, real-time crypto and blockchain data for AI agents and developers across various domains like DeFi, trading, market analytics, and NFTs.
bit2me-mcp
An MCP (Model Context Protocol) server to enable AI assistants to interact with the Bit2Me cryptocurrency exchange ecosystem, providing real-time market data, wallet management, trading operations, and access to Earn and Loan products.