UniFi

io.github.mattoddie/unifi-mcp

Manage a Ubiquiti UniFi network: devices, clients, WiFi, firewall and VPN. Read-only by default.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "unifi-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mattoddie/unifi-mcp:0.6.1"
      ],
      "env": {
        "UNIFI_URL": "<your UNIFI_URL>",
        "UNIFI_API_KEY": "<your UNIFI_API_KEY>",
        "UNIFI_PASSWORD": "<your UNIFI_PASSWORD>",
        "UNIFI_SITE": "default",
        "UNIFI_ALLOW_WRITES": "false",
        "UNIFI_ALLOW_DELETES": "false"
      }
    }
  }
}
Environment variables
  • UNIFI_URLrequiredAddress of your UniFi console. For a legacy self-hosted Network application, include the port.
  • UNIFI_API_KEYsecretAPI key from UniFi Network → Settings → Control Plane → Integrations. Or use a username and password.
  • UNIFI_PASSWORDsecretThe local account's password, used with the username.
  • UNIFI_SITEThe site's short name, used when a request doesn't name a site.
  • UNIFI_ALLOW_WRITESAllow changes: restart devices, block clients, edit WiFi, firewall and networks. Off means read-only.
  • UNIFI_ALLOW_DELETESAlso allow deleting configuration and forgetting clients. Needs UNIFI_ALLOW_WRITES.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.6.1
Registry
active
Published
10/22/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that UniFi is listed here — it’s also the link we check for a free listing.

UniFi — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-mattoddie-unifi-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="UniFi — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![UniFi — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-mattoddie-unifi-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.