Back to Home
jordanlixu icon

eth-mcp-server

Verified Safe

by jordanlixu

Overview

Provides Ethereum-related tooling like balance queries, token price lookup, and Uniswap swap simulation for AI agents via a Model Context Protocol (MCP) interface.

Installation

Run Command
cargo run

Environment Variables

  • INFURA_URL
  • WALLET_ADDRESS
  • ETH
  • BTC
  • WETH
  • USDC
  • UNI
  • BETH
  • UNISWAP_V2_ROUTER

Security Notes

The server explicitly states that it does NOT execute real transactions; swap functionality uses `eth_call` for safe simulation only, significantly reducing financial risk. There are no indications of 'eval', obfuscation, or hardcoded sensitive secrets. Environment variables are used for RPC URLs and contract addresses. The use of `.unwrap()` in some places can lead to panics on unexpected errors or invalid input, which is a robustness concern but not a direct security vulnerability in terms of arbitrary code execution.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens5
Stars0
Forks0
Last Update2025-11-19

Tags

EthereumMCPAI AgentsRustDeFiBlockchain