Ethereum-Trading-MCP-Server
Verified Safeby dancing-clown
Overview
Provides an Ethereum Model Context Protocol (MCP) server for AI agents to safely query blockchain data like ETH/ERC20 balances, token prices, and simulate Uniswap token swaps without broadcasting actual transactions.
Installation
cargo run --bin ethereum-mcp-server --releaseEnvironment Variables
- RPC_URL
- PRIVATE_KEY
- CHAIN_ID
Security Notes
The server explicitly prioritizes safety by using `eth_call` for all `swap_tokens` simulations, ensuring no actual transactions are broadcasted to the blockchain. Read operations (balance, price) do not require a private key. When a `PRIVATE_KEY` is provided, it is loaded from environment variables, which is good practice. Public contract addresses are hardcoded, which is expected. Overall, the design focuses heavily on preventing real asset loss during simulations and read-only operations.
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.
mcp-framework
A Rust framework for building AI agents with built-in Model Context Protocol (MCP) support, multi-LLM integration, and a web-based inspector for debugging.
kukapay-mcp-servers
Aggregates real-time cryptocurrency and blockchain data for AI agents and developers, spanning DeFi, trading, market analytics, and Web3 services.
mcp
A Rust framework for building Model Context Protocol (MCP) servers with pluggable backends, handling protocol compliance, transport, authentication, and monitoring.