{
"mcpServers": {
"ethereum-trading-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 133 days ago. 2 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
MCP server for Robokassa payment API — generate payment URLs, check invoice status. First MCP for R
MCP server for Financial Modeling Prep API with 250+ financial data tools
Non-custodial x402 payments for AI agents. Sign locally, spend limits, Base network.
MCP Security Weekly
Get CVE alerts and security updates for Ethereum Trading MCP Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
This project is a Model Context Protocol (MCP) server built in Rust that enables AI agents to query balances and execute token swaps on Ethereum.
get_balance: Query ETH and ERC20 token balances.get_token_price: Get current token price in USD using Chainlink price feeds.swap_tokens: Simulate a token swap on Uniswap V2.Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Clone the repository:
git clone <repository-url>
cd <repository-name>
Set up environment variables:
Create a .env file in the root of the project and add your Ethereum RPC endpoint and a private key for simulations. You can use a service like Infura or Alchemy.
# .env
INFURA_PROJECT_ID=your_infura_project_id
PRIVATE_KEY=your_wallet_private_key
Build the project:
cargo build --release
Run the server:
cargo run --release
The server will start on 127.0.0.1:8080.
Here is an example of calling the get_balance tool using curl.
Request:
curl -X POST -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "get_balance",
"params": {
"wallet_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"
},
"id": 1
}' http://127.0.0.1:8080
Response:
{
"jsonrpc": "2.0",
"result": {
"balance": "..."
},
"id": 1
}
ethers-rs as it is more mature and has extensive documentation, which is beneficial for a project with a tight deadline.swapExactTokensForTokens, which is easier to integrate than V3's more complex architecture..env file, which is a standard and secure practice.get_token_price and swap_tokens tools currently support a hardcoded list of tokens (ETH, DAI, USDC). This could be extended by using a dynamic token list or a discovery mechanism.To run the tests, use the following command:
cargo test
The tests cover the core functionality of the MCP tools. Note that the tests require a valid INFURA_PROJECT_ID and PRIVATE_KEY in the .env file to run.