Text2Sim MCP Server logo

Text2Sim MCP Server

by IamCatoBot

Text2Sim MCP Server is a simulation engine that supports multiple modeling paradigms, including Discrete-Event Simulation (DES) and System Dynamics (SD). It integrates with LLMs using the Model Context Protocol (MCP), enabling powerful simulation capabilities within natural language environments like Claude Desktop.

View on GitHub

Last updated: N/A

What is Text2Sim MCP Server?

Text2Sim MCP Server is a multi-paradigm simulation engine designed for integration with Large Language Models (LLMs) via the Model Context Protocol (MCP). It supports both Discrete-Event Simulation (DES) and System Dynamics (SD) modeling paradigms, allowing users to build and run simulations using natural language prompts.

How to use Text2Sim MCP Server?

To use Text2Sim MCP Server, first clone the repository and install the prerequisites (Python 3.12+ and uv package manager). Then, configure Claude Desktop to connect to the server by adding the provided JSON block to the claude_desktop_config.json file, specifying the path to the server and the command to run it. Once configured, you can use natural language prompts within Claude to create and run simulations.

Key features of Text2Sim MCP Server

  • Large Language Model (LLM) Integration

  • Multi-Paradigm Support (DES and SD)

  • Multi-Domain Support (airport operations, healthcare, manufacturing, etc.)

  • Flexible Model Configuration

  • Real-Time Metrics

  • Secure Implementation (regex-based parsing)

Use cases of Text2Sim MCP Server

  • Simulating airport operations to optimize resource allocation

  • Modeling healthcare systems to improve patient flow

  • Analyzing manufacturing processes to increase efficiency

  • Evaluating supply chain strategies to reduce costs

FAQ from Text2Sim MCP Server

What is the Model Context Protocol (MCP)?

MCP is a protocol that enables communication between LLMs and simulation engines, allowing natural language prompts to be translated into simulation configurations.

What are the prerequisites for running Text2Sim MCP Server?

You need Python 3.12 or higher and the uv package manager.

How do I install the uv package manager?

Use the provided curl or PowerShell commands based on your operating system (macOS/Linux or Windows).

How do I connect Text2Sim MCP Server to Claude Desktop?

Add the provided JSON block to the claude_desktop_config.json file in Claude's settings, specifying the path to the server and the command to run it.

Is Text2Sim MCP Server secure?

Yes, it uses regex-based parsing instead of eval() to prevent arbitrary code execution and validates inputs to ensure safe model execution.