MCP server providing Claude Code with full UniFi network management capabilities -- devices, clients, ports, bandwidth auditing, firewall policies, and traffic rules -- all through natural language.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.LOG_LEVEL— No info Log verbosity: debug, info, warn, errorMAX_RETRIES— No 3 Number of retry attempts for webhook pushRETRY_DELAY_MS— No 60000 Initial delay between retries in ms (linear backoff: 1x, 2x, 3x)TOKEN_CACHE_PATH— No ./data/unifi-session.encrypted.json Path to the encrypted session cache fileTOKEN_ENCRYPTION_KEY— No -- 64-character hex key for AES-256-GCM encryption. Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))". Falls back to base64 encoding if unset.UNIFI_HOST— "": "your-controller-ip",UNIFI_PASSWORD— npm run auth -- --auto # Non-interactive (requires UNIFI_USERNAME, , UNIFI_TOTP_SEED)UNIFI_PORT— No 443 HTTPS portUNIFI_SITE— "": "default"UNIFI_TOTP_SEED— npm run auth -- --auto # Non-interactive (requires UNIFI_USERNAME, UNIFI_PASSWORD, )UNIFI_USERNAME— npm run auth -- --auto # Non-interactive (requires , UNIFI_PASSWORD, UNIFI_TOTP_SEED)UNIFI_VERIFY_SSL— No false Set true only if the controller has a valid TLS certificateVPN_GATEWAY— No -- IP to ping for VPN health check (e.g., your gateway behind the tunnel)VPN_TUNNEL_NAME— No -- WireGuard tunnel name for automatic VPN connect/disconnectWEBHOOK_URL— For webhook -- Make.com or other webhook URL for monthly bandwidth audit[](https://m8ven.ai/mcp/philipvanlewis-unifi-mcp-server-1xcx6x)