Control your UniFi network via AI with a lightweight 2-tool MCP server that supports both cloud and local UniFi controllers.
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.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
When Vitest UI server is listening, arbitrary file can be read and executed
Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listening
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
axios Vulnerable to Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`
process.env. You'll be asked to provide them before it can run.UNIFI_API_KEY— UNIFI_API_TYPE=cloud-ea =your-key-here npx @bakhshb/unifi-mcpUNIFI_API_TYPE— cloud-ea UNIFI_API_KEY=your-key-here npx @bakhshb/unifi-mcpUNIFI_CSRF_TOKEN— Note: For local mode, you can also use session cookies (UNIFI_SESSION_COOKIE + ) instead of API key, but API key is simpler.UNIFI_LOCAL_HOST— 192.168.1.1UNIFI_LOCAL_VERIFY_SSL— "": "false"UNIFI_PASSWORD— Yes - UniFi password (required if not using API key)UNIFI_SESSION_COOKIE— Note: For local mode, you can also use session cookies ( + UNIFI_CSRF_TOKEN) instead of API key, but API key is simpler.UNIFI_SITE_ID— No default Your UniFi site identifierUNIFI_TIMEOUT— No 30000 Request timeout in millisecondsUNIFI_URL— Yes - Your UniFi controller URL (e.g., https://192.168.1.1 or https://api.ui.com for cloud)UNIFI_USERNAME— Yes - UniFi username (required if not using API key)[](https://m8ven.ai/mcp/bakhshb-unifi-mcp-openapi-14n5zn)