pub mod ethereum;
pub mod mcp;
pub mod types;
mod abis;
use anyhow::Result;
use std::env;
// Re-export commonly used items
pub use mcp::MCPServer;
pub use types::*;
/// Initialize and run the MCP server
pub async fn run_server() -> Result<()> {
// Get RPC URL from environment or use default
let rpc_url = env::var("ETH_RPC_URL").ok();
// Create and run the MCP server
let server = MCPServer::new(rpc_url).await?;
server.run().await?;
Ok(())
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Joshuashen022/ethereum-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server