Back to Home
alti3 icon

stk-mcp

Verified Safe

by alti3

Overview

Enables Large Language Models or other Model Context Protocol clients to programmatically interact with Ansys/AGI STK for digital mission engineering and simulation, supporting both Desktop and Engine modes.

Installation

Run Command
uv run -m stk_mcp.cli run --mode engine

Environment Variables

  • STK_MCP_EARTH_RADIUS_KM
  • STK_MCP_DEFAULT_SCENARIO_NAME
  • STK_MCP_DEFAULT_START_TIME
  • STK_MCP_DEFAULT_DURATION_HOURS
  • STK_MCP_DEFAULT_HOST
  • STK_MCP_DEFAULT_PORT
  • STK_MCP_LOG_LEVEL

Security Notes

The server exposes STK Connect commands via its tools, which could be a vector for command injection within the STK environment if user inputs (potentially from an LLM) are not thoroughly sanitized before being passed to `stk_root.ExecuteCommand`. This risk is limited to arbitrary execution of STK's internal commands, not arbitrary code execution on the host OS. While the core tools primarily use the STK Object Model, some fall back to `ExecuteCommand`. The default binding to localhost (`127.0.0.1`) mitigates external network risks, but the host is configurable. No `eval` or `os.system` calls were found, and `tenacity` is used for robustness rather than security.

Similar Servers

Stats

Interest Score40
Security Score7
Cost ClassHigh
Avg Tokens2500
Stars20
Forks4
Last Update2026-01-19

Tags

Ansys STKLLM IntegrationMission EngineeringSpace SimulationModel Context Protocol