About Sumo MCP Server
Sumo MCP Server is an MCP server published by XRDS76354 in the AI category: sUMO-MCP 是一个连接大语言模型 (LLM) 与 Eclipse SUMO 交通仿真的中间件。通过 Model Context Protocol (MCP),它允许 AI 智能体(如 Claude, Cursor, TRAE等)直接调用 SUMO 的核心功能,实现从OpenStreetMap 数据获取、路网生成、需求建模到仿真运行与信号优化的全流程自动化。. Conduid read 11 tools from its source: control_simulation, convert_ezdesignx_network, get_sumo_info, manage_demand, manage_network, manage_rl_task and 5 more. No package is published for it, so it installs from a source checkout.
The repository has 59 stars and 7 forks, is licensed MIT, and its last commit was on 7 Jul 2026. The latest release is Beta0.1.3 (7 May 2026). It follows Beta0.1.2 (31 Dec 2025), and the 3 most recent releases go back to Beta0.1.1 (24 Dec 2025). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned and Scoped permissions. Its topics include aws, c, collaborate, console, coreutils and internships.
Install
git clone https://github.com/XRDS76354/SUMO-MCP-ServerTools (11)
control_simulationControl SUMO simulation (connect, step, disconnect).| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| params | object |
convert_ezdesignx_networkConvert an ezdesignX v1 JSON or JSONC intersection file into SUMO network artifacts.| Parameter | Type | Description |
|---|---|---|
| input_json * | string | |
| netconvert_bin | string | |
| output_dir * | string | |
| sumo_bin | string | |
| sumo_gui_bin | string | |
| validation | string |
get_sumo_infoGet the version and path of the installed SUMO.manage_demandManage traffic demand (random trips, OD matrix, routing).| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| net_file * | string | |
| output_file * | string | |
| params | object |
manage_networkManage SUMO network (generate, convert, or download OSM).| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| output_file * | string | |
| params | object |
manage_rl_taskManage RL tasks (list scenarios, custom training).| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| params | object |
optimize_traffic_signalsOptimize traffic signals.| Parameter | Type | Description |
|---|---|---|
| method * | string | |
| net_file * | string | |
| output_file * | string | |
| params | object | |
| route_file * | string |
query_simulation_stateQuery simulation state (vehicles, speed, position). Requires active connection.| Parameter | Type | Description |
|---|---|---|
| params | object | |
| target * | string |
run_analysisAnalyze FCD output.| Parameter | Type | Description |
|---|---|---|
| fcd_file * | string |
run_simple_simulationRun a SUMO simulation using a config file.| Parameter | Type | Description |
|---|---|---|
| config_path * | string | |
| steps | integer |
run_workflowRun high-level SUMO workflows. Available workflows: **sim_gen_eval** - Generate grid network, simulate traffic, analyze results. params: - grid_number (int): Grid size NxN. Default=3. Aliases: grid_size, size - sim_seconds (int): Simulation duration in seconds. Default=100. Aliases: steps, duration, end_time - output_dir (str): Output directory. Default="output" Example: run_workflow("sim_gen_eval", {"grid_number": 3, "sim_seconds": 1000}) **signal_opt** - Optimize traffic signals for existing network. params: - net_file (str): Path to .net.xml file. REQUIRED - route_file (str): Path to .rou.xml file. REQUIRED - sim_seconds (int): Simulation duration. Default=3600. Aliases: steps, duration - use_coordinator (bool): Use tlsCoordinator instead of tlsCycleAdaptation. Default=false - output_dir (str): Output directory. Default="output" **rl_train** - Train RL agent for traffic signal control. params: - scenario_name (str): Built-in scenario name (use manage_rl_task("list_scenarios") to see options). Aliases: scenario - episodes (int): Number of training episodes. Default=5. Aliases: num_episodes - steps (int): Steps per episode. Default=1000. Aliases: steps_per_episode - output_dir (str): Output directory. Default="output"| Parameter | Type | Description |
|---|---|---|
| params * | object | |
| workflow_name * | string |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.6K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 21 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/server.py:512
- Starts other programs
- 3 callssrc/mcp_tools/ezdesignx.py:120, src/server.py:467, src/utils/timeout.py:354
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 8 callssrc/mcp_tools/ezdesignx.py:1986, src/mcp_tools/network.py:76, src/mcp_tools/rl.py:189
- Lockfile
- None in the repository
Pattern matches on the source text of 21 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.6K words, fetched a month ago. The original in the repository is authoritative.
Read full README