MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"ethereum-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server implementation in Rust for Ethereum blockchain operations. This server enables AI agents to query balances, fetch token prices from Chainlink oracles, and simulate token swaps on Uniswap V2.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Let AI agents create, discover, and track tokens across chains via Printr.
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
MaverickMCP - Personal Stock Analysis MCP Server
Brazilian public procurement (PNCP) and Federal Revenue CNPJ data — 16 tools, 4 prompts.
MCP Security Weekly
Get CVE alerts and security updates for Ethereum Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server implementation in Rust for Ethereum blockchain operations. This server enables AI agents to query balances, fetch token prices from Chainlink oracles, and simulate token swaps on Uniswap V2.
Supports both stdio (MCP standard) and HTTP (REST API) modes for flexible integration.
get_balance - Query ETH and ERC20 token balances
get_token_price - Get current token prices from Chainlink price feeds
swap_tokens - Simulate token swaps on Uniswap V2
eth_call (no on-chain execution)ethereum-mcp-server/
├── src/
│ ├── main.rs # Entry point, mode selection, tokio runtime
│ ├── lib.rs # Library root
│ ├── config.rs # Configuration management
│ ├── error.rs # Unified error types
│ ├── mcp/ # MCP protocol layer
│ │ ├── server.rs # JSON-RPC 2.0 server (stdio mode)
│ │ ├── http_server.rs # HTTP JSON-RPC server (HTTP mode)
│ │ ├── handler.rs # Tool call routing
│ │ └── schema.rs # Protocol schemas
│ ├── services/ # Business logic layer
│ │ ├── balance.rs # Balance query service
│ │ ├── price.rs # Price query service (Chainlink)
│ │ └── swap.rs # Swap simulation service
│ ├── providers/ # External provider layer
│ │ ├── ethereum.rs # Ethereum RPC client
│ │ ├── chainlink.rs # Chainlink oracle with moka cache
│ │ └── uniswap.rs # Uniswap V2 interaction
│ ├── contracts/ # Smart contract ABIs
│ │ ├── erc20.rs
│ │ ├── chainlink_feed.rs
│ │ └── uniswap_router.rs
│ └── utils/ # Utilities
│ ├── decimal.rs # Precision handling
│ ├── validation.rs # Input validation
│ └── wallet.rs # Wallet management
└── tests/
└── integration/ # Integration tests
git clone <repository-url>
cd ethereum-mcp-server
cp .env.example .env
.env with your configuration:# Required
RPC_URL=https://eth-mainnet.g.alchemy.com/v2/YOUR_API_KEY
PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000001
# Optional
LOG_LEVEL=info
PRICE_CACHE_TTL_SECS=60
CACHE_MAX_CAPACITY=1000
⚠️ Security Warning: Never commit your .env file with real private keys!
cargo build --release
The server supports two modes:
cargo run --release
The server communicates via stdin/stdout using JSON-RPC 2.0 protocol.
📝 Note: When sending requests via command line, JSON must be on a single line. See [JSON_FORMAT_GUIDE.md](JSON_FORMAT_GU