# UniFi Cloud API Configuration
# Get your API key from https://unifi.ui.com -> API
UNIFI_API_KEY=your_unifi_cloud_api_key_here
# Server Configuration
PORT=3000
BASE_URL=https://your-domain.com
NODE_ENV=production
# OAuth Configuration
OAUTH_PASSWORD=your_secure_oauth_password_here
OAUTH_CLIENT_ID=unifi-mcp-server
OAUTH_CLIENT_SECRET=your_client_secret_here
# Redis (optional - falls back to in-memory if not available)
REDIS_URL=redis://localhost:6379
# API Key authentication (alternative to OAuth)
API_KEY=your_api_key_for_direct_access
# Optional: Local Controller Configuration (for hybrid mode)
# UNIFI_LOCAL_HOST=192.168.1.1
# UNIFI_LOCAL_PORT=443
# UNIFI_LOCAL_USERNAME=admin
# UNIFI_LOCAL_PASSWORD=password
# UNIFI_VERIFY_TLS=false