mcp-server
Verified Safeby whhwhh8023-glitch
Overview
A Rust-based server for querying Ethereum balances and simulating token swap operations.
Installation
cargo runEnvironment Variables
- ETH_RPC_URL
- PORT
Security Notes
The server primarily simulates blockchain interactions using hardcoded values, which inherently reduces direct security risks associated with real on-chain operations. Input parsing uses `serde_json`, generally safe against injection attacks. Configuration is loaded from environment variables (or defaults), avoiding hardcoded secrets in the source. Basic TCP listener with a fixed buffer size (1024 bytes) for requests could lead to truncated requests if larger, but doesn't immediately present a buffer overflow vulnerability in Rust. No 'eval' or similar dynamic code execution patterns are observed.
Similar Servers
rust-mcp-sdk
A high-performance, asynchronous Rust SDK for building Model Context Protocol (MCP) servers and clients, supporting various transports and authentication methods.
neva
Provides a blazingly fast and easily configurable Model Context Protocol (MCP) server and client SDK for Rust, primarily for integrating LLMs with external tools and resources.
mcp-mock-server
Provides a mock server for the Model Context Protocol (MCP) to aid in the development and testing of MCP clients.
MCP-server-built-in-Rust-to-interact-with-the-Ethereum-blockchain
Interacting with the Ethereum blockchain for balance queries, token price fetching, and Uniswap V3 swap simulations.