Back to Home
dancing-clown icon

Ethereum-Trading-MCP-Server

Verified Safe

by 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

Run Command
cargo run --bin ethereum-mcp-server --release

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Stars0
Forks0
Last Update2025-11-29

Tags

EthereumTradingAI AgentMCPRustWeb3Blockchain