Back to Home
ytwei3 icon

eth-trading-mcp-server

Verified Safe

by ytwei3

Overview

Enables AI agents to query Ethereum balances, token prices, and simulate token swaps via the Model Context Protocol (MCP).

Installation

Run Command
cargo run --release

Environment Variables

  • ETH_RPC_URL

Security Notes

The server's core functionality is simulation-only, meaning no on-chain transactions are executed and no private keys are handled by the server itself. Input parsing uses `serde_json` and `ethers-rs` address parsing, which are generally safe. External dependencies include an Ethereum RPC endpoint and CoinGecko API for price feeds, which introduce standard network risks. The code does not use dangerous functions like `eval` or rely on obfuscation. Logging to stderr prevents interference with the stdio communication channel.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-11-22

Tags

EthereumBlockchainAI AgentsMCPTrading SimulationRust