epanet-mcp-server
by KWR-Water
Overview
Provides weather alerts and forecasts via the National Weather Service API, and enables running EPANET water network simulations.
Installation
mcp run main_epanet.pySecurity Notes
The `run_epanet_simulation` tool in `main_epanet.py` directly concatenates user-provided `file_name` with 'models/'. This creates a path traversal vulnerability (e.g., using `../../etc/passwd` as `file_name`) which could allow reading arbitrary files outside the intended 'models' directory if not properly sanitized and handled by the underlying `epanet` library. Additionally, `get_inp_files` hardcodes a Windows-specific developer path ('C:/Users/xrism/Documents/GitHub/MCP-Server-Exmample/models'), which is a configuration risk for deployment.
Similar Servers
hello-mcp-server
Provides real-time weather alerts and forecasts using the National Weather Service API.
mcp-server-weather
Provides weather alerts and forecasts for US locations by integrating with the National Weather Service (NWS) API.
mcp-server
Provides weather alerts and forecasts via integration with the National Weather Service (NWS) API.
weather-mcp-server
Provides weather forecast and alert information by integrating with the National Weather Service (NWS) API, enabling external agents to query weather data for specific locations or states.