Back to Home
HypaSMarty icon

SUMO-MCP-Server

Verified Safe

by HypaSMarty

Overview

Middleware to connect Large Language Models (LLMs) with Eclipse SUMO traffic simulations, enabling AI agents to automate traffic simulation workflows.

Installation

Run Command
bash start_server.sh

Environment Variables

  • SUMO_HOME
  • PATH
  • PYTHONUNBUFFERED
  • SUMO_MCP_MAX_OUTPUT_CHARS
  • SUMO_MCP_TRACI_TIMEOUT_S

Security Notes

The server design involves executing external SUMO command-line tools via `subprocess.run`. Parameters like `options` are directly passed from the LLM invocation to these underlying tools without explicit sanitization by the server. This introduces a potential command injection risk if the calling AI agent or its inputs are untrusted. However, the server does not contain hardcoded secrets or 'eval' statements and implements measures like `subprocess.DEVNULL` for stdout to protect the MCP protocol. File operations are generally limited to specified output directories.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens75
Stars0
Forks0
Last Update2026-01-19

Tags

LLMtraffic simulationmiddlewareSUMOAI agent