MCP Catalogs
Home

unifi-mcp

by sirkirby·339·Score 53

MCP servers for UniFi applications (Network, Protect, Access) with 169 tools total and cross-product correlations.

ops-infrasecuritydeveloper-tools
59
Forks
4
Open issues
this month
Last commit
2d ago
Indexed

Overview

UniFi MCP is a collection of MCP servers that enable AI assistants to interact with Ubiquiti UniFi controllers. The project includes three main servers: Network (stable, 169 tools), Protect (beta, 43 tools), and Access (beta, 29 tools). Each server exposes its respective UniFi application functionality as MCP tools that are queryable, composable, and safe by default. The project also includes a cloud relay for connecting to remote agents and an optional REST/GraphQL API for non-MCP consumers.

Try asking AI

After installing, here are 7 things you can ask your AI assistant:

you:Manage UniFi network infrastructure through natural language commands
you:Correlate network events, camera footage, and access logs for security monitoring
you:Perform network audits, firewall management, and security assessments
you:Create visitor passes and manage door access permissions
you:Does this require UniFi API keys?
you:Can I manage multiple controllers with this?
you:What's the preview-then-confirm flow?

When to choose this

Choose UniFi MCP if you're already using Ubiquiti UniFi infrastructure and want AI-powered management capabilities with advanced features like preview-before-confirm mutations and cross-product event correlation.

When NOT to choose this

Don't choose UniFi MCP if you're not using Ubiquiti hardware, as this server only supports UniFi controllers and doesn't integrate with other networking ecosystems.

Tools this server exposes

12 tools extracted from the README
  • show_clients

    Show all clients connected to the network with their details

  • create_firewall_rule

    Create a new firewall rule to control network traffic

  • audit_firewall

    Audit firewall policies for redundant or conflicting rules

  • list_motion_cameras

    List all cameras that detected motion in a specified time period

  • show_smart_detection

    Show smart detection events from cameras with filtering options

  • badge_access_events

    Show timeline of door access events and badge information

  • create_visitor_pass

    Create a visitor pass with specific access permissions

  • network_health_check

    Run batch diagnostics across devices and health subsystems

  • firewall_manager

    Manage firewall policies with templates and change tracking

  • security_digest

    Summarize cross-product events with severity classification

  • correlate_events

    Correlate Network, Protect, and Access events in a single timeline

  • audit_firewall_policies

    Comprehensive security audit of firewall policies with scoring

Comparable tools

unifi-api-servernetwork-mcpubiquiti-controller-sdk

Installation

Installation

Claude Desktop (Recommended)

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "unifi-network": {
      "command": "uvx",
      "args": ["unifi-network-mcp@latest"],
      "env": {
        "UNIFI_HOST": "192.168.1.1",
        "UNIFI_USERNAME": "admin",
        "UNIFI_PASSWORD": "your-password"
      }
    },
    "unifi-protect": {
      "command": "uvx",
      "args": ["unifi-protect-mcp@latest"],
      "env": {
        "UNIFI_PROTECT_HOST": "192.168.1.1",
        "UNIFI_PROTECT_USERNAME": "admin",
        "UNIFI_PROTECT_PASSWORD": "your-password"
      }
    },
    "unifi-access": {
      "command": "uvx",
      "args": ["unifi-access-mcp@latest"],
      "env": {
        "UNIFI_ACCESS_HOST": "192.168.1.1",
        "UNIFI_ACCESS_USERNAME": "admin",
        "UNIFI_ACCESS_PASSWORD": "your-password"
      }
    }
  }
}

Direct Installation

uvx unifi-network-mcp@latest
uvx unifi-protect-mcp@latest
uvx unifi-access-mcp@latest

FAQ

Does this require UniFi API keys?
No, it uses username/password authentication by default. API keys are optional and experimental, limited to read-only access.
Can I manage multiple controllers with this?
Yes, each server supports prefixed environment variables to connect to different controllers or use different credentials.
What's the preview-then-confirm flow?
Before applying any changes, the MCP tools show you exactly what will be modified, allowing you to confirm or reject changes before they take effect.

Compare unifi-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.