home / mcp / stk-mcp mcp server
Provides an MCP server to control STK via tools like setup_scenario, create_location, and create_satellite, with Engine and Desktop modes.
Configuration
View docs{
"mcpServers": {
"alti3-stk-mcp": {
"command": "uv",
"args": [
"run",
"-m",
"stk_mcp.cli",
"run",
"--mode",
"engine"
],
"env": {
"STK_MCP_LOG_LEVEL": "INFO",
"STK_MCP_DEFAULT_HOST": "127.0.0.1",
"STK_MCP_DEFAULT_PORT": "8765",
"STK_MCP_DEFAULT_START_TIME": "20 Jan 2020 17:00:00.000",
"STK_MCP_DEFAULT_SCENARIO_NAME": "MCP_STK_Scenario",
"STK_MCP_DEFAULT_DURATION_HOURS": "48.0"
}
}
}
}You can run a dedicated MCP server that exposes STK controls to LLMs and other MCP clients. This server starts and manages an STK instance, exposes a set of MCP tools, and accepts connections over HTTP for easy integration with your automation and AI workflows.
Install and run the MCP server, then connect your MCP client to the local endpoint to issue STK commands. The server automatically starts STK (Engine or Desktop) and exposes tools you can call from your automations.
Start the server in your preferred mode and then connect with an MCP client from your development environment. The server listens by default at http://127.0.0.1:8765. Use the client to access the available tools under the STK Control server and execute operations such as setting up scenarios, adding locations, and creating satellites.
To stop, press Ctrl+C in the terminal where the server is running. The lifecycle manager will close the STK instance gracefully.
The server provides core MCP tools to control STK workflows, including creating and configuring a scenario, adding facilities/locations, and defining satellites. These tools are exposed through the MCP interface for easy automation and integration with your AI agents.
Open your MCP client and point it to the server URL http://127.0.0.1:8765. Locate the STK Control server, then navigate to the Tools section to execute operations such as setup_scenario, create_location, and create_satellite.
You can monitor the server and STK status via the configured logging output. The server maintains a structured log with timestamps and context to help you diagnose issues during automation.
Prerequisites and setup follow a clear flow. You will prepare Python, install the MCP runtime, and set up the STK integration so you can start the MCP server and interact with STK programmatically.
Clone the project repository and navigate into the directory to begin setup.
uv venv
# Activate it
# On Windows (PowerShell/CMD):
.venv\Scripts\activate
# On Linux (bash/zsh):
source .venv/bin/activateAdd the STK Python wheel from your STK installation and any Windows COM bridge if you are on Windows.
uv syncChoose the mode you need and start the server. Engine mode is recommended for automation. Desktop mode shows the GUI and requires STK Desktop to be closed before starting.
Open your MCP client and connect to http://127.0.0.1:8765 to verify the STK Control server is available and the tools are listed.
uv run -m stk_mcp.cli run --mode engine
uv run -m stk_mcp.cli run --mode desktopEnumerates available MCP tools with their descriptions and usage information.
Create and configure an STK Scenario; sets the time period and rewinds animation.
Create or update a Facility or Place at a specified latitude/longitude/altitude (km).
Create or configure a satellite from apogee/perigee (km), RAAN, and inclination; supports TwoBody propagation.