Back to Home
KWR-Water icon

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

Run Command
mcp run main_epanet.py

Security 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

Stats

Interest Score30
Security Score6
Cost ClassLow
Avg Tokens200
Stars1
Forks1
Last Update2025-12-01

Tags

WeatherEPANETSimulationAPIAnalytics