Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

UniFi

by mattoddieversion 0.9.1i★ 1iRuns on your computerOfficial site ↗
Registry nameio.github.mattoddie/unifi-mcp

How to install

What it does

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

  • Connects Runs on your computer
  • Account or key Needs UNIFI_API_KEY, UNIFI_PASSWORD · 2 settings to fill in (UNIFI_URL, UNIFI_USERNAME)
  • Category Cybersecurity

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score16/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install UniFi. Follow https://mcp.popnx.com/i/mattoddie-unifi-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 17, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a UniFi key (create it on the maker’s site) · 2 setting(s) to fill in (UNIFI_URL, UNIFI_USERNAME) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Download the maker’s installer

    Download the maker’s .mcpb file

    The .mcpb file comes straight from the maker; we do not change it

  2. Double-click the file, then click Install in the Claude desktop app

  3. Try it

    Use UniFi and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using UniFi or shows a UniFi tool in the answer, you are connected

10 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_TRANSPORT The image serves HTTP by default; this runs it over stdio. · default stdio
  • UNIFI_TLS_FINGERPRINT Recommended for an https controller with a self-signed certificate: its SHA-256 fingerprint, to pin it.
  • UNIFI_VERIFY_SSL Leave empty when you set a fingerprint. true: publicly trusted certificate. false: skip the check (insecure).
  • UNIFI_SITE The site's short name, used when a request doesn't name a site. · default default
  • UNIFI_ALLOW_WRITES Allow changes: restart devices, block clients, edit WiFi, firewall and networks. Off means read-only. · default false
  • UNIFI_ALLOW_DELETES Also allow deleting configuration and forgetting clients. Needs UNIFI_ALLOW_WRITES. · default false
  • UNIFI_ALLOW_SECRETS Allow unredacted passwords and keys (include_secrets) and the WiFi QR tool. Off keeps all output redacted. · default false
  • UNIFI_TOOLSETS Optional comma-separated list to expose fewer tools, e.g. overview,devices,clients. Empty means all except raw, which has to be listed by name.
  • UNIFI_RAW_ALLOWED_PATHS Optional comma-separated API path prefixes, e.g. /api/s/default/stat, that limit the raw API tool (toolset raw) to those paths. Empty allows any path.
  • UNIFI_AUDIT_LOG Set to stderr to log every change the assistant makes or previews as JSON lines. Off when empty.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect UniFi yet

UniFi runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect UniFi

  • You need a UniFi key (create it on the maker’s site) · 2 setting(s) to fill in (UNIFI_URL, UNIFI_USERNAME) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a UniFi key (create it on the maker’s site) · 2 setting(s) to fill in (UNIFI_URL, UNIFI_USERNAME) · Install Docker on your computer first (one time)
  • You need a UniFi key (create it on the maker’s site) · 2 setting(s) to fill in (UNIFI_URL, UNIFI_USERNAME) · Install Docker on your computer first (one time)
  • You need a UniFi key (create it on the maker’s site) · 2 setting(s) to fill in (UNIFI_URL, UNIFI_USERNAME) · Install Docker on your computer first (one time)

B · Others in Cybersecurity that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a UniFi key (create it on the maker’s site) · 2 setting(s) to fill in (UNIFI_URL, UNIFI_USERNAME) · Install Docker on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server UniFi for Claude Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user unifi --env UNIFI_URL=your-value --env UNIFI_API_KEY=your-value --env UNIFI_USERNAME=your-value --env UNIFI_PASSWORD=your-value -- docker run -i --rm -e UNIFI_URL -e UNIFI_API_KEY -e UNIFI_USERNAME -e UNIFI_PASSWORD ghcr.io/mattoddie/unifi-mcp:0.9.1 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For UNIFI_API_KEY, UNIFI_PASSWORD, UNIFI_URL, UNIFI_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the UniFi tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Sign up and create a UniFi key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the UniFi site ↗

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • UNIFI_URL Address of your UniFi console. For a legacy self-hosted Network application, include the port.
    • UNIFI_USERNAME A local (not Ubiquiti cloud) account, used instead of an API key. Required for legacy controllers.

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user unifi --env UNIFI_URL=your-value --env UNIFI_API_KEY=your-value --env UNIFI_USERNAME=your-value --env UNIFI_PASSWORD=your-value -- docker run -i --rm -e UNIFI_URL -e UNIFI_API_KEY -e UNIFI_USERNAME -e UNIFI_PASSWORD ghcr.io/mattoddie/unifi-mcp:0.9.1

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see UniFi listed as connected

  7. Try it

    Use UniFi and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using UniFi or shows a UniFi tool in the answer, you are connected

10 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_TRANSPORT The image serves HTTP by default; this runs it over stdio. · default stdio
  • UNIFI_TLS_FINGERPRINT Recommended for an https controller with a self-signed certificate: its SHA-256 fingerprint, to pin it.
  • UNIFI_VERIFY_SSL Leave empty when you set a fingerprint. true: publicly trusted certificate. false: skip the check (insecure).
  • UNIFI_SITE The site's short name, used when a request doesn't name a site. · default default
  • UNIFI_ALLOW_WRITES Allow changes: restart devices, block clients, edit WiFi, firewall and networks. Off means read-only. · default false
  • UNIFI_ALLOW_DELETES Also allow deleting configuration and forgetting clients. Needs UNIFI_ALLOW_WRITES. · default false
  • UNIFI_ALLOW_SECRETS Allow unredacted passwords and keys (include_secrets) and the WiFi QR tool. Off keeps all output redacted. · default false
  • UNIFI_TOOLSETS Optional comma-separated list to expose fewer tools, e.g. overview,devices,clients. Empty means all except raw, which has to be listed by name.
  • UNIFI_RAW_ALLOWED_PATHS Optional comma-separated API path prefixes, e.g. /api/s/default/stat, that limit the raw API tool (toolset raw) to those paths. Empty allows any path.
  • UNIFI_AUDIT_LOG Set to stderr to log every change the assistant makes or previews as JSON lines. Off when empty.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a UniFi key (create it on the maker’s site) · 2 setting(s) to fill in (UNIFI_URL, UNIFI_USERNAME) · Install Docker on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server UniFi for Cursor on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "unifi": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "UNIFI_URL", "-e", "UNIFI_API_KEY", "-e", "UNIFI_USERNAME", "-e", "UNIFI_PASSWORD", "ghcr.io/mattoddie/unifi-mcp:0.9.1" ], "env": { "UNIFI_URL": "your-value", "UNIFI_API_KEY": "your-value", "UNIFI_USERNAME": "your-value", "UNIFI_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For UNIFI_API_KEY, UNIFI_PASSWORD, UNIFI_URL, UNIFI_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the UniFi tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Sign up and create a UniFi key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the UniFi site ↗

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • UNIFI_URL Address of your UniFi console. For a legacy self-hosted Network application, include the port.
    • UNIFI_USERNAME A local (not Ubiquiti cloud) account, used instead of an API key. Required for legacy controllers.

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the UniFi settings, UNIFI_API_KEY, UNIFI_PASSWORD, UNIFI_URL, UNIFI_USERNAME is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use UniFi and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using UniFi or shows a UniFi tool in the answer, you are connected

10 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_TRANSPORT The image serves HTTP by default; this runs it over stdio. · default stdio
  • UNIFI_TLS_FINGERPRINT Recommended for an https controller with a self-signed certificate: its SHA-256 fingerprint, to pin it.
  • UNIFI_VERIFY_SSL Leave empty when you set a fingerprint. true: publicly trusted certificate. false: skip the check (insecure).
  • UNIFI_SITE The site's short name, used when a request doesn't name a site. · default default
  • UNIFI_ALLOW_WRITES Allow changes: restart devices, block clients, edit WiFi, firewall and networks. Off means read-only. · default false
  • UNIFI_ALLOW_DELETES Also allow deleting configuration and forgetting clients. Needs UNIFI_ALLOW_WRITES. · default false
  • UNIFI_ALLOW_SECRETS Allow unredacted passwords and keys (include_secrets) and the WiFi QR tool. Off keeps all output redacted. · default false
  • UNIFI_TOOLSETS Optional comma-separated list to expose fewer tools, e.g. overview,devices,clients. Empty means all except raw, which has to be listed by name.
  • UNIFI_RAW_ALLOWED_PATHS Optional comma-separated API path prefixes, e.g. /api/s/default/stat, that limit the raw API tool (toolset raw) to those paths. Empty allows any path.
  • UNIFI_AUDIT_LOG Set to stderr to log every change the assistant makes or previews as JSON lines. Off when empty.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a UniFi key (create it on the maker’s site) · 2 setting(s) to fill in (UNIFI_URL, UNIFI_USERNAME) · Install Docker on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server UniFi for VS Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "unifi": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "UNIFI_URL", "-e", "UNIFI_API_KEY", "-e", "UNIFI_USERNAME", "-e", "UNIFI_PASSWORD", "ghcr.io/mattoddie/unifi-mcp:0.9.1" ], "env": { "UNIFI_URL": "your-value", "UNIFI_API_KEY": "your-value", "UNIFI_USERNAME": "your-value", "UNIFI_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For UNIFI_API_KEY, UNIFI_PASSWORD, UNIFI_URL, UNIFI_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the UniFi tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Sign up and create a UniFi key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the UniFi site ↗

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • UNIFI_URL Address of your UniFi console. For a legacy self-hosted Network application, include the port.
    • UNIFI_USERNAME A local (not Ubiquiti cloud) account, used instead of an API key. Required for legacy controllers.

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the UniFi settings, UNIFI_API_KEY, UNIFI_PASSWORD, UNIFI_URL, UNIFI_USERNAME is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use UniFi and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using UniFi or shows a UniFi tool in the answer, you are connected

10 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_TRANSPORT The image serves HTTP by default; this runs it over stdio. · default stdio
  • UNIFI_TLS_FINGERPRINT Recommended for an https controller with a self-signed certificate: its SHA-256 fingerprint, to pin it.
  • UNIFI_VERIFY_SSL Leave empty when you set a fingerprint. true: publicly trusted certificate. false: skip the check (insecure).
  • UNIFI_SITE The site's short name, used when a request doesn't name a site. · default default
  • UNIFI_ALLOW_WRITES Allow changes: restart devices, block clients, edit WiFi, firewall and networks. Off means read-only. · default false
  • UNIFI_ALLOW_DELETES Also allow deleting configuration and forgetting clients. Needs UNIFI_ALLOW_WRITES. · default false
  • UNIFI_ALLOW_SECRETS Allow unredacted passwords and keys (include_secrets) and the WiFi QR tool. Off keeps all output redacted. · default false
  • UNIFI_TOOLSETS Optional comma-separated list to expose fewer tools, e.g. overview,devices,clients. Empty means all except raw, which has to be listed by name.
  • UNIFI_RAW_ALLOWED_PATHS Optional comma-separated API path prefixes, e.g. /api/s/default/stat, that limit the raw API tool (toolset raw) to those paths. Empty allows any path.
  • UNIFI_AUDIT_LOG Set to stderr to log every change the assistant makes or previews as JSON lines. Off when empty.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use UniFi💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user unifi --env UNIFI_URL=your-value --env UNIFI_API_KEY=your-value --env UNIFI_USERNAME=your-value --env UNIFI_PASSWORD=your-value -- docker run -i --rm -e UNIFI_URL -e UNIFI_API_KEY -e UNIFI_USERNAME -e UNIFI_PASSWORD ghcr.io/mattoddie/unifi-mcp:0.9.1

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "unifi": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "UNIFI_URL",
        "-e",
        "UNIFI_API_KEY",
        "-e",
        "UNIFI_USERNAME",
        "-e",
        "UNIFI_PASSWORD",
        "ghcr.io/mattoddie/unifi-mcp:0.9.1"
      ],
      "env": {
        "UNIFI_URL": "your-value",
        "UNIFI_API_KEY": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "unifi": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "UNIFI_URL",
        "-e",
        "UNIFI_API_KEY",
        "-e",
        "UNIFI_USERNAME",
        "-e",
        "UNIFI_PASSWORD",
        "ghcr.io/mattoddie/unifi-mcp:0.9.1"
      ],
      "env": {
        "UNIFI_URL": "your-value",
        "UNIFI_API_KEY": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "unifi": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "UNIFI_URL",
        "-e",
        "UNIFI_API_KEY",
        "-e",
        "UNIFI_USERNAME",
        "-e",
        "UNIFI_PASSWORD",
        "ghcr.io/mattoddie/unifi-mcp:0.9.1"
      ],
      "env": {
        "UNIFI_URL": "your-value",
        "UNIFI_API_KEY": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value"
      }
    }
  }
}

Values you fill in

  • MCP_TRANSPORT env
    The image serves HTTP by default; this runs it over stdio.
  • UNIFI_URL required env
    Address of your UniFi console. For a legacy self-hosted Network application, include the port.
  • UNIFI_API_KEY secret required env
    API key from UniFi Network → Settings → Control Plane → Integrations. Or use a username and password.
  • UNIFI_USERNAME required env
    A local (not Ubiquiti cloud) account, used instead of an API key. Required for legacy controllers.
  • UNIFI_PASSWORD secret required env
    The local account's password, used with the username.
  • UNIFI_TLS_FINGERPRINT env
    Recommended for an https controller with a self-signed certificate: its SHA-256 fingerprint, to pin it.
  • UNIFI_VERIFY_SSL env
    Leave empty when you set a fingerprint. true: publicly trusted certificate. false: skip the check (insecure).
  • UNIFI_SITE env
    The site's short name, used when a request doesn't name a site.
  • UNIFI_ALLOW_WRITES env
    Allow changes: restart devices, block clients, edit WiFi, firewall and networks. Off means read-only.
  • UNIFI_ALLOW_DELETES env
    Also allow deleting configuration and forgetting clients. Needs UNIFI_ALLOW_WRITES.
  • UNIFI_ALLOW_SECRETS env
    Allow unredacted passwords and keys (include_secrets) and the WiFi QR tool. Off keeps all output redacted.
  • UNIFI_TOOLSETS env
    Optional comma-separated list to expose fewer tools, e.g. overview,devices,clients. Empty means all except raw, which has to be listed by name.
  • UNIFI_RAW_ALLOWED_PATHS env
    Optional comma-separated API path prefixes, e.g. /api/s/default/stat, that limit the raw API tool (toolset raw) to those paths. Empty allows any path.
  • UNIFI_AUDIT_LOG env
    Set to stderr to log every change the assistant makes or previews as JSON lines. Off when empty.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.9.1
Published to registryi
Nov 17, 2026
Code last changedi
Nov 17, 2026
Maker
mattoddie
Packages
oci: ghcr.io/mattoddie/unifi-mcp:0.9.1
mcpb: …/unifi-mcp-0.9.1-darwin-arm64.mcpb
mcpb: …/unifi-mcp-0.9.1-darwin-amd64.mcpb
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account mattoddie, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked: only npm and PyPI packages with a version can be checked

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/mattoddie-unifi-mcp.svg)](https://mcp.popnx.com/en/servers/mattoddie-unifi-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Cybersecurityi

  • More stars than 74% of the other 1106 servers in this category
  • Published to the registry more recently than 93% of the other 1106 servers in this category
  • Basic checks equal to or better than 99% of the other 1106 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is UniFi safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: UNIFI_API_KEY, UNIFI_PASSWORD

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 days ago, and the latest version (0.9.1) reached the registry 2 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker, MCPB on your computer.

What can I use instead?

In the same category: GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitHits

Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.

by githits-comGrowing↓ 3.8K/wk★ 138Updated 10 days ago

Computer or cloud✓ service owner · githits.com

Snyk MCP

Easily find and fix security issues in your applications leveraging Snyk platform capabilities.

by snykWidely used↓ 762.1K/wk★ 61Updated 7 months ago

Runs on your computer✓ service owner · snyk.io

TokenSafe

Your AI agent is smart enough to code all day. Local firewall & zero-loss runtime.

by tokensafe-devWidely used↓ 6.8K/wk★ 46Updated today

Computer or cloud✓ service owner · tokensafe.dev

Draugr

Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.

by draugr-devEarly★ 30Updated 2 days ago

Runs on your computer✓ service owner · draugr.dev
Compared with similar ones
This one
UniFi
GitHitsDependency Management MCP ServerSnyk MCPTokenSafeDraugr
Runs whereInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installInstalls on your computerCloud or install on your computerInstalls on your computer
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/35/53/43/35/53/3
LicenseMITApache-2.0–Apache-2.0MITApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

unifi-mcp

Talk to your UniFi network.

An open-source Model Context Protocol server for Ubiquiti UniFi Network. It lets Claude and other AI assistants monitor and manage your sites, devices, clients, WiFi, firewall and more, all from one Docker container.

[unifi-mcp.mattoddie.dev](https://unifi-mcp.mattoddie.dev)

Quick start · Documentation · Tool reference · Contributing


"Why is the lounge TV buffering?"

*The TV is on the Lounge AP at -78 dBm and 12 Mbps, and that AP's 5 GHz radio is at 81% channel utilisation on channel 36. Moving the AP to channel 149 or adding a wired backhaul should fix it. Want me to change the channel?*

Ask about your network in plain English. The assistant picks from 148 tools to look things up and, if you allow it, make changes. Some examples:

  • 🩺 *"Give me a health check of the network."*
  • 🔎 *"Which clients have a weak WiFi signal right now?"*
  • 🔐 *"Review my firewall and port forwards for anything risky."*
  • 🔄 *"Which devices have firmware updates, and when were they last rebooted?"*
  • 🎟️ *"Create 10 one-day guest vouchers limited to 5 Mbps."*
  • 🧱 *"Block the device called 'kids-tablet' until I unblock it."*

Highlights

  • 🐳 Docker-first. There's one small distroless image (ghcr.io/mattoddie/unifi-mcp, about 22 MB) for linux/amd64 and linux/arm64. It serves Streamable HTTP for a long-running service, or stdio for docker run -i. For Claude Desktop there's also a one-click extension bundle (.mcpb) that needs no Docker, and each release has plain binaries for macOS, Linux and Windows on amd64 and arm64.
  • 🛡️ Safe by default. The server is read-only unless you turn on writes, and deleting configuration needs a second switch. Destructive tools are labelled so your MCP client asks before running them, and passwords and keys are redacted from output.
  • 🔍 Preview and audit. Every write tool takes dry_run: true to show the request it would send, with a field-level diff of what would change, without changing anything. UNIFI_AUDIT_LOG records each change in a JSON Lines audit log.
  • 🧰 Broad coverage. It covers 14 toolsets: devices, clients, switch ports and PoE, WiFi, networks and VLANs, WAN, DNS, legacy and zone-based firewall, traffic rules and routes, IDS/IPS, VPN, RADIUS, hotspot vouchers, statistics, logs, admins and backups.
  • 🎛️ Tunable. Expose only the toolsets you need, which keeps the model's context small and focused. See Keeping the tool list small.
  • 🔌 Works with your controller. Supports UniFi OS consoles (UDM, UDM Pro/SE, UCG, UDR, UX, Cloud Key Gen2+, UniFi OS Server) and legacy self-hosted Network applications (up to Network 10.6). Auth is an API key or a local account.
  • 🧪 Tested. The test suite runs against a mock controller on every build.

Quick start

You need Docker, a UniFi controller and an MCP client such as Claude Code.

1. Get credentials. On a UniFi OS console, create an API key: UniFi Network → Settings → Control Plane → Integrations → Create API Key. On older controllers, use a local account instead.

2. Start the server.

mkdir unifi-mcp && cd unifi-mcp

curl -fsSLO https://raw.githubusercontent.com/mattoddie/unifi-mcp/main/compose.yaml curl -fsSL https://raw.githubusercontent.com/mattoddie/unifi-mcp/main/example.env -o .env

Edit .env: set UNIFI_URL, UNIFI_API_KEY and a random MCP_AUTH_TOKEN (required; e.g. openssl rand -hex 32).

For an https controller, also say how to check its certificate, or the server won't start.

Recommended: pin it with UNIFI_TLS_FINGERPRINT (see docs/security.md). example.env sets

UNIFI_VERIFY_SSL=false, which skips the check: remove it once the fingerprint is set.

docker compose up -d

3. Connect your assistant.

claude mcp add --transport http unifi http://<docker-host>:8080/mcp \

--header "Authorization: Bearer "

Now ask *"How's my network doing?"* in Claude Code.

Using Claude Desktop, VS Code, Cursor or Codex? See Connecting MCP clients. Prefer not to run a service? Use stdio mode with docker run -i, or a release binary without Docker. On macOS or Linux: brew install mattoddie/tap/unifi-mcp.

Claude Desktop in one click

On a Mac or Windows PC with Claude Desktop, you don't need Docker at all. Download the .mcpb bundle for your computer from the latest release, open it, and enter your controller URL, API key and certificate fingerprint in the settings. See Claude Desktop.

unifi-mcp is also listed in the MCP Registry as io.github.mattoddie/unifi-mcp, with the image (over stdio) and the bundles, so clients and directories that read the registry can install it.

Turning on changes

Out of the box the assistant can look but not touch. To let it make changes, add these to .env and run docker compose up -d:

UNIFI_ALLOW_WRITES=true      # restart devices, block clients, edit WiFi/firewall/networks…

UNIFI_ALLOW_DELETES=true # also allow deleting configuration, forgetting clients… (needs writes too) UNIFI_TOOLSETS=overview,devices,clients,wifi,monitoring # optional: expose fewer tools UNIFI_AUDIT_LOG=stderr # optional: log every change (or a file path; see docs/configuration.md)

Ask for a dry run to preview a change first: *"Dry run: disable the guest WiFi. What would change?"* Read Security before turning on writes for a production network.

What it can do

ToolsetWhat's covered
overviewSites, controller info, site health
devicesDevice status and details, restart/locate/provision, firmware upgrades (also rolling), radios, PoE outlets, adoption, RF scans, AP groups
clientsOnline and known clients, block/unblock, reconnect, names, fixed IPs, lock to an AP, forget
switchingSwitch ports, port profiles, PoE power-cycling, port mirroring, link aggregation, LLDP neighbours
wifiWLANs (SSIDs, security, VLANs, bands), WiFi QR codes
networksNetworks/VLANs and DHCP, WAN, local DNS records, bandwidth profiles, dynamic DNS
firewallPort forwards, firewall rules and groups, zone-based policies and zones, traffic rules, QoS rules, NAT rules, switch ACL rules, object-oriented network policies
routingStatic routes, policy-based traffic routes
securityIDS/IPS threat management, threat log, country blocking, content filtering
vpnVPN servers and site-to-site VPNs, RADIUS profiles and accounts
hotspotVouchers, hotspot operators, guest authorization, guest portal
monitoringEvents, alarms, traffic reports, traffic flows, DPI, speed tests, rogue APs, system log, sessions, anomalies, dashboards
adminSite settings (including SNMP, mDNS and auto-backup), admins, backups, controller updates, sites
rawAn escape hatch that calls any controller API path

See the [tool reference](docs/tools.md) for every tool and argument. Ready-made prompts like network_health_check, troubleshoot_client and security_review chain the tools together for common jobs.

Documentation

The docs are also published at [unifi-mcp.mattoddie.dev/docs](https://unifi-mcp.mattoddie.dev/docs/), with search.

🚀 Getting startedStep-by-step setup, from credentials to first question
🔌 Connecting MCP clientsClaude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode
⚙️ ConfigurationEvery environment variable, Docker secrets, toolsets
🐳 DeploymentCompose, image tags, upgrades, TLS reverse proxy, hardening
💬 Using unifi-mcpExample conversations, prompts, how saves and secrets work
🧰 Tool referenceAll 148 tools and 5 prompts, generated from the code
🛡️ SecurityThreat model, least privilege, safe write setups
📡 CompatibilitySupported controllers and versions, API caveats
🩹 TroubleshootingCommon errors and how to fix them
🛠️ DevelopmentArchitecture, adding a tool, testing

Contributing

Contributions are very welcome, whether that's bug reports, compatibility reports from your hardware, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.

License

MIT © Matt Oddie

*unifi-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Ubiquiti Inc. UniFi and Ubiquiti are trademarks of Ubiquiti Inc.*