UniFi Network

● Active

io.github.Graf3x/unifi-mcp

Diagnostics and owner-approved changes for one UniFi Network console, over its local API.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "unifi-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-p",
        "127.0.0.1:7420:7420",
        "ghcr.io/graf3x/unifi-mcp:0.12.0"
      ],
      "env": {
        "UNIFI_URL": "<your UNIFI_URL>",
        "UNIFI_API_KEY": "<your UNIFI_API_KEY>",
        "MCP_LAN_ACCESS_TOKEN": "<your MCP_LAN_ACCESS_TOKEN>"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env UNIFI_URL='<your UNIFI_URL>' --env UNIFI_API_KEY='<your UNIFI_API_KEY>' --env MCP_LAN_ACCESS_TOKEN='<your MCP_LAN_ACCESS_TOKEN>' --transport stdio unifi-mcp -- docker run -i --rm -p 127.0.0.1:7420:7420 ghcr.io/graf3x/unifi-mcp:0.12.0
OpenAI Codex CLI
codex mcp add unifi-mcp --env UNIFI_URL='<your UNIFI_URL>' --env UNIFI_API_KEY='<your UNIFI_API_KEY>' --env MCP_LAN_ACCESS_TOKEN='<your MCP_LAN_ACCESS_TOKEN>' -- docker run -i --rm -p 127.0.0.1:7420:7420 ghcr.io/graf3x/unifi-mcp:0.12.0
VS Code
code --add-mcp '{"name":"unifi-mcp","type":"stdio","command":"docker","args":["run","-i","--rm","-p","127.0.0.1:7420:7420","ghcr.io/graf3x/unifi-mcp:0.12.0"],"env":{"UNIFI_URL":"<your UNIFI_URL>","UNIFI_API_KEY":"<your UNIFI_API_KEY>","MCP_LAN_ACCESS_TOKEN":"<your MCP_LAN_ACCESS_TOKEN>"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • UNIFI_URLrequiredThe console's address as the container reaches it, e.g. https://192.168.1.1.
  • UNIFI_API_KEYrequiredsecretAn API key from UniFi Network, Settings, Control Plane, Integrations. It is console-wide.
  • MCP_LAN_ACCESS_TOKENrequiredsecretThe listener's token, at least 32 characters, e.g. from openssl rand -hex 32.

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

Category
Cloud & DevOps
Version
0.12.0
Registry
active
Published
Nov 28, 2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 29, 2026

Looks healthy: UniFi Network is maintained, open source.

Maintained
Active
Last commit today (Nov 29, 2026), 6 open issues.
Official registry
Active
Published as io.github.Graf3x/unifi-mcp in the official MCP registry, version 0.12.0.
Source
Open source, MIT
Public repository under the MIT licence, 2 stars, 0 forks.
Runs
On your machine
A local Docker package started by your client; it can reach whatever your user account can.
Credentials
3 required
Declared environment variables: UNIFI_URL, UNIFI_API_KEY, MCP_LAN_ACCESS_TOKEN. They stay on your machine; the config on this page shows where each goes.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

A

Grade A · Production-ready

Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.

  • Recent commits+30/30

    Last commit today.

  • Open licence+15/15

    MIT on GitHub.

  • Documentation+15/15

    The repository ships a README.

  • Adoption0/20

    2 GitHub stars.

  • Registry status+12/12

    Active in the official MCP registry.

  • Product surface+8/8

    Has a homepage or a published package/endpoint.

Own this server? Add the grade badge — it links back here

<a href="https://serverdex.io/server/io-github-graf3x-unifi-mcp?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-graf3x-unifi-mcp/report-badge.svg" alt="UniFi Network — Serverdex Report Card A" height="22"></a>

Compare every server's grade on best-maintained MCP servers.

On GitHub

read Nov 29, 2026
Stars
2
Forks
0
Last push
Nov 29, 2026
License
MIT

C#claudedotnethomelabmcpmcp-serverubiquitiunifi

From the README

UniFi Network MCP Ask Claude about your UniFi network and get a finished answer: who is on the guest network, which switch port the printer is on, whether the internet dropped last night, which access point is on a noisy channel. This MCP server runs on your network next to one UniFi Network console, and it only reads unless you turn writes on. • Questions answered on the server. Ten tools built around everyday questions do the reads and write up the result. A step that fails is named in the answer, and an answer cut short says so and how to narrow the question (What you can ask). • Read-only by default. With writes on, each change is shown to you whole on a form you accept or decline, and the model cannot approve it for you. A client that cannot show the form is refused writes unless you allow the confirm fallback. • Credentials stay out of the chat. Wi-Fi passphrases, per-network keys and hotspot voucher codes the console sends back become [redacted] before Claude sees them, unless you choose to show voucher codes. The API key is never logged or returned (Safety). • Pinned to your console. TLS to the console is pinned to its certificate or public key, or checked against a trusted CA, and there is no way to turn the check off (Safety). • Claude on the web and phone, with no open ports. Add it as a custom connector in claude.ai, Claude Desktop or the phone apps.…

Read the full README on GitHub →

The most-starred Cloud & DevOps servers in the index, with their live-check result.

ServerStarsLast pushLive check
Netdata81,585Nov 2026Needs sign-in
kubeshark MCP12,148Nov 2026Local / not checked
OneUptime7,856Nov 2026Working
Radar Kubernetes MCP Server4,198Nov 2026Local / not checked
Azure MCP Server3,901Nov 2026Local / not checked

UniFi Network: questions people ask

Is UniFi Network a remote or a local MCP server?
According to its entry in the official MCP registry, UniFi Network ships as a local package (Docker) that your client starts on your machine.
Does UniFi Network need an API key?
Its registry entry declares 3 required environment variables: UNIFI_URL, UNIFI_API_KEY, MCP_LAN_ACCESS_TOKEN. The config on this page shows where each goes.
Is UniFi Network safe to use?
Looks healthy: UniFi Network is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 3 required. Serverdex check of Nov 29, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is UniFi Network still maintained?
Active: the repository's last commit today. Last push Nov 29, 2026, 2 GitHub stars, MIT licence. Read from GitHub on Nov 29, 2026.
How do I add UniFi Network to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Cloud & DevOps →

Add the badge to your site

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

UniFi Network — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-graf3x-unifi-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="UniFi Network — 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 Network — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-graf3x-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.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-graf3x-unifi-mcp) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-graf3x-unifi-mcp) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-graf3x-unifi-mcp)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-graf3x-unifi-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-graf3x-unifi-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-graf3x-unifi-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).