# Production Configuration for Unreal Engine MCP Server

# Unreal Engine Automation Settings
MCP_AUTOMATION_WS_PORT=8090

# Tool Mode Configuration
# Set to 'false' to use individual tools (36+), 'true' or unset for consolidated (10)
USE_CONSOLIDATED_TOOLS=true

# Logging Level
# Available levels (from quietest to most verbose):
# - error  : only errors
# - warn   : warnings and errors
# - info   : info, warnings, errors (default)
# - debug  : full debug, very verbose
LOG_LEVEL=info

# Server Configuration
MCP_SERVER_NAME=unreal-engine-mcp
MCP_SERVER_VERSION=0.5.0

# Connection Settings
MAX_RETRY_ATTEMPTS=3
RETRY_DELAY_MS=2000

# Performance Settings
REQUEST_TIMEOUT_MS=30000
WEBSOCKET_KEEPALIVE_MS=30000

# Automation Bridge / WebSocket
MCP_AUTOMATION_WS_HOST=127.0.0.1
MCP_AUTOMATION_WS_PORTS=8090,8091
MCP_AUTOMATION_WS_PROTOCOLS=mcp-automation
MCP_AUTOMATION_BRIDGE_ENABLED=true
MCP_AUTOMATION_SERVER_LEGACY=true
MCP_AUTOMATION_CLIENT_MODE=true
MCP_AUTOMATION_CLIENT_HOST=127.0.0.1
MCP_AUTOMATION_CLIENT_PORT=8090

# MCP timeouts and caching
MCP_AUTOMATION_REQUEST_TIMEOUT_MS=120000
MCP_AUTOMATION_PLUGIN_CREATE_TIMEOUT_MS=15000
MCP_AUTOMATION_SCS_TIMEOUT_MS=120000
MCP_AUTOMATION_EVENT_TIMEOUT_MS=0
ASSET_LIST_TTL_MS=10000
MCP_ROUTE_STDOUT_LOGS=true

# GraphQL API (disabled by default)
GRAPHQL_ENABLED=false
GRAPHQL_PORT=4000
GRAPHQL_HOST=127.0.0.1
GRAPHQL_PATH=/graphql
GRAPHQL_CORS_ORIGIN=*
GRAPHQL_CORS_CREDENTIALS=false

# Elicitation and environment defaults
MCP_ELICITATION_TIMEOUT_MS=180000
MCP_ENV_DEFAULT_TIME_OF_DAY=14
MCP_ENV_DEFAULT_SUN_INTENSITY=5
MCP_ENV_DEFAULT_SKYLIGHT_INTENSITY=1
