# Orshot MCP Server Environment Configuration
# Copy this file to .env and configure for your environment
# ====================================
# REQUIRED CONFIGURATION
# ====================================
# Your Orshot API key (required for production)
# Get your API key from: https://orshot.com/dashboard/api
ORSHOT_API_KEY=your-api-key-here
# ====================================
# API CONFIGURATION
# ====================================
# Orshot API base URL (default: https://api.orshot.com)
# ORSHOT_API_BASE=https://api.orshot.com
# API request timeout in milliseconds (default: 30000)
# API_TIMEOUT=30000
# Number of retry attempts for failed requests (default: 3)
# API_RETRIES=3
# Delay between retry attempts in milliseconds (default: 1000)
# API_RETRY_DELAY=1000
# ====================================
# SERVER CONFIGURATION
# ====================================
# Node.js environment (default: production)
# NODE_ENV=production
# Log level: error, warn, info, debug (default: info)
# LOG_LEVEL=info
# Server name (default: orshot-mcp-server)
# SERVER_NAME=orshot-mcp-server
# Server version (default: 1.8.0)
# SERVER_VERSION=1.8.0
# ====================================
# SECURITY CONFIGURATION
# ====================================
# Require API key for all requests (default: true)
# REQUIRE_API_KEY=true
# Maximum template ID length (default: 100)
# MAX_TEMPLATE_ID_LENGTH=100
# Maximum API key length (default: 200)
# MAX_API_KEY_LENGTH=200
# Allowed origins for CORS (comma-separated, default: empty)
# ALLOWED_ORIGINS=https://yourdomain.com,https://anotherdomain.com
# ====================================
# FEATURE CONFIGURATION
# ====================================
# Enable automatic URL-to-field mapping for studio templates (default: true)
# DISABLE_AUTO_MAPPING=false
# Enable response caching (default: false)
# ENABLE_CACHING=false
# Enable telemetry collection (default: false)
# ENABLE_TELEMETRY=false
# Enable health check endpoint (default: true)
# DISABLE_HEALTH_CHECK=false
# ====================================
# RATE LIMITING
# ====================================
# Enable rate limiting (default: false)
# ENABLE_RATE_LIMIT=false
# Rate limit window in milliseconds (default: 60000 = 1 minute)
# RATE_LIMIT_WINDOW_MS=60000
# Maximum requests per window (default: 100)
# RATE_LIMIT_MAX_REQUESTS=100
# ====================================
# DEVELOPMENT/DEBUG CONFIGURATION
# ====================================
# Enable development mode features
# DEV_MODE=false
# Enable detailed API request logging
# DEBUG_API_REQUESTS=false
# Enable performance timing logs
# DEBUG_PERFORMANCE=false
# Mock API responses for testing (development only)
# MOCK_API_RESPONSES=false