Back to Home
SethGame icon

mcp_flexsim

by SethGame

Overview

Control FlexSim simulations using AI assistants via the Model Context Protocol (MCP) for digital twin integration and automated analysis.

Installation

Run Command
uv run mcp_server/flexsim_mcp.py

Environment Variables

  • GOOGLE_API_KEY
  • GEMINI_API_KEY
  • FLEXSIM_CONFIG_PATH
  • FLEXSIM_INSTALL_PATH
  • FLEXSIM_PYTHON_VERSION
  • FLEXSIM_LOG_LEVEL
  • FLEXSIM_AUTO_CLOSE
  • FLEXSIM_FORCE_EXIT

Security Notes

The `flexsim_evaluate` tool allows arbitrary FlexScript code execution via client requests, which can interact with the file system and FlexSim environment without apparent sanitization or access control. File operation tools (`flexsim_open_model`, `flexsim_save_model`, `flexsim_export_results`) accept arbitrary file paths, potentially leading to directory traversal or arbitrary file read/write vulnerabilities. The `flexsim_set_node_value` tool allows modification of arbitrary FlexSim model nodes, which could corrupt models or lead to unexpected behavior. This high level of client control over server-side actions, including script execution and file system access, presents significant security risks if the MCP client is untrusted or compromised.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Stars0
Forks0
Last Update2025-11-30

Tags

FlexSimsimulationdigital twinMCPAI control