# ksp-mcp Configuration # Copy to .env and modify for your system: # cp .env.example .env # ============================================ # KSP Installation Path (REQUIRED for addon checking) # ============================================ # Set this to your Kerbal Space Program installation directory # The setup check will verify required addons are installed here. # KSP_DIR=/path/to/Kerbal Space Program # macOS Steam example: # KSP_DIR=/Users/yourname/Library/Application Support/Steam/steamapps/common/Kerbal Space Program # Windows Steam example: # KSP_DIR=C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program # ============================================ # kOS Connection (all optional - defaults shown) # ============================================ # kOS telnet server host and port # KOS_HOST=127.0.0.1 # KOS_PORT=5410 # CPU Selection (choose one method, or leave both unset for auto-select): # # Option 1: Connect to specific CPU by ID (1-based) # KOS_CPU_ID=1 # # Option 2: Connect to CPU by label/tag (e.g., 'guidance', 'flight') # KOS_CPU_LABEL=guidance # # If neither is set, auto-selects first available CPU from the menu. # ============================================ # Transport (optional) # ============================================ # Transport type: 'socket' (default, recommended) or 'tmux' # KOS_TRANSPORT=socket # Tmux session name (only used with tmux transport) # KOS_TMUX_SESSION=ksp-mcp-kos # ============================================ # Timeouts in milliseconds (optional) # ============================================ # Timeout waiting for CPU menu to appear after connection # KOS_TIMEOUT_CPU_MENU=5000 # Timeout waiting for REBOOT response # KOS_TIMEOUT_REBOOT=8000 # Timeout waiting for "Proceed" message after CPU selection # KOS_TIMEOUT_PROCEED=3000 # Default timeout for kOS command execution # KOS_TIMEOUT_COMMAND=5000 # Delays (milliseconds) # KOS_DELAY_CONNECT=500 # KOS_DELAY_DISCONNECT=200