GitHits
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Manage UniFi sites, devices, clients, networks, port forwarding, DNS, and firewall
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 10/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 22/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Go Unifi MCP. Follow https://mcp.popnx.com/i/claytono-go-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 13, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude 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 Go Unifi MCP for Claude 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": { "go-unifi": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/claytono/go-unifi-mcp:v0.3.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) No key is needed. 5) Do what we agreed, then check that the Go Unifi MCP 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.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: 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
SettingsDeveloperEdit Config
{
"mcpServers": {
"go-unifi": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/claytono/go-unifi-mcp:v0.3.1"
]
}
}
}Use Go Unifi MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using Go Unifi MCP or shows a Go Unifi MCP tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Go Unifi MCP yet
Go Unifi MCP runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Go Unifi MCP
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
Install Docker on your computer first (one time)
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 Go Unifi MCP 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 go-unifi -- docker run -i --rm ghcr.io/claytono/go-unifi-mcp:v0.3.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) No key is needed. 5) Do what we agreed, then check that the Go Unifi MCP 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.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: 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
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user go-unifi -- docker run -i --rm ghcr.io/claytono/go-unifi-mcp:v0.3.1You should see Go Unifi MCP listed as connected
Use Go Unifi MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Go Unifi MCP or shows a Go Unifi MCP tool in the answer, you are connected
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
Install Docker on your computer first (one time)
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 Go Unifi MCP 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": { "go-unifi": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/claytono/go-unifi-mcp:v0.3.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) No key is needed. 5) Do what we agreed, then check that the Go Unifi MCP 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.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: 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
Use Go Unifi MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Go Unifi MCP or shows a Go Unifi MCP tool in the answer, you are connected
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
Install Docker on your computer first (one time)
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 Go Unifi MCP 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": { "go-unifi": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/claytono/go-unifi-mcp:v0.3.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) No key is needed. 5) Do what we agreed, then check that the Go Unifi MCP 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.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: 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
Use Go Unifi MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Go Unifi MCP or shows a Go Unifi MCP tool in the answer, you are connected
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.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user go-unifi -- docker run -i --rm ghcr.io/claytono/go-unifi-mcp:v0.3.1Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"go-unifi": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/claytono/go-unifi-mcp:v0.3.1"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"go-unifi": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/claytono/go-unifi-mcp:v0.3.1"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"go-unifi": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/claytono/go-unifi-mcp:v0.3.1"
]
}
}
}These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
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
Runs on your computer; the tool list appears in your AI app after you install it.
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 20, 2026
The registry name was verified with the GitHub account claytono, which owns the repo
Code last changed 4 days ago
Uses MPL-2.0
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Not checked: only npm and PyPI packages with a version can be checked
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/claytono-go-unifi-mcp)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.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
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.
The registry does not list a required key, though some servers ask you to sign in on first use.
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).
The GitHub repo last changed 4 days ago, and the latest version (0.3.1) reached the registry 4 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.
In the same category: GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr
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
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Sonatype component intelligence: versions, security analysis, and Trust Score recommendations
Easily find and fix security issues in your applications leveraging Snyk platform capabilities.
Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.
| This one Go Unifi MCP | GitHits | Dependency Management MCP Server | Snyk MCP | TokenSafe | Draugr | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Cloud or install on your computer | Runs in the cloud, nothing to install | Installs on your computer | Cloud or install on your computer | Installs on your computer |
| Needs a key | No | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 5/5 | 3/4 | 3/3 | 5/5 | 3/3 |
| License | MPL-2.0 | Apache-2.0 | – | Apache-2.0 | MIT | Apache-2.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
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.
A Model Context Protocol (MCP) server for UniFi Network Controller, written in Go.
go-unifi-mcp provides an MCP interface to UniFi Network Controller, enabling AI assistants and other MCP clients to interact with your UniFi infrastructure.
I couldn’t find an MCP server that supported both v1 and v2 firewall rules and IPv6, so I built one. This wraps the go-unifi library (which I trust from my Terraform provider experience) and leans on its generated API surface. The server is generated from the controller’s own API definitions, which makes it much easier to keep tool coverage up to date as UniFi evolves.
This project generates tools against the same UniFi Controller version pinned by go-unifi. When go-unifi updates its supported controller version, we regenerate our field definitions and tool metadata to match. We support the same controller range; see their controller support range.
Download pre-built binaries from the Releases page. Binaries are available for macOS and Linux (amd64/arm64).
# macOS (Apple Silicon)
curl -L https://github.com/claytono/go-unifi-mcp/releases/latest/download/go-unifi-mcp_darwin_arm64.tar.gz | tar xz sudo mv go-unifi-mcp /usr/local/bin/
curl -L https://github.com/claytono/go-unifi-mcp/releases/latest/download/go-unifi-mcp_darwin_amd64.tar.gz | tar xz sudo mv go-unifi-mcp /usr/local/bin/
curl -L https://github.com/claytono/go-unifi-mcp/releases/latest/download/go-unifi-mcp_linux_amd64.tar.gz | tar xz sudo mv go-unifi-mcp /usr/local/bin/
curl -L https://github.com/claytono/go-unifi-mcp/releases/latest/download/go-unifi-mcp_linux_arm64.tar.gz | tar xz sudo mv go-unifi-mcp /usr/local/bin/
Available from the claytono/homebrew-tap tap:
brew install claytono/tap/go-unifi-mcp
# Run without installing
nix run github:claytono/go-unifi-mcp
nix profile install github:claytono/go-unifi-mcp
Multi-architecture images (amd64/arm64) are published to GitHub Container Registry.
# Latest (pinned to most recent release, rebuilt on base image updates)
docker pull ghcr.io/claytono/go-unifi-mcp:latest
docker pull ghcr.io/claytono/go-unifi-mcp:edge
go install github.com/claytono/go-unifi-mcp/cmd/go-unifi-mcp@latest
The server requires access to a UniFi Network Controller. Two authentication methods are supported:
UNIFI_HOST and UNIFI_API_KEY.UNIFI_HOST, UNIFI_USERNAME, and UNIFI_PASSWORD.Add to your claude_desktop_config.json:
Using the binary:
{
"mcpServers": { "unifi": { "command": "/usr/local/bin/go-unifi-mcp", "env": { "UNIFI_HOST": "https://your-controller:443", "UNIFI_API_KEY": "your-api-key" } } } }
Using Docker:
{
"mcpServers": { "unifi": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "UNIFI_HOST", "-e", "UNIFI_API_KEY", "ghcr.io/claytono/go-unifi-mcp:latest" ], "env": { "UNIFI_HOST": "https://your-controller:443", "UNIFI_API_KEY": "your-api-key" } } } }
claude mcp add unifi -- go-unifi-mcp
Then set the required environment variables in your shell before running claude.
| Variable | Required | Default | Description |
|---|---|---|---|
UNIFI_HOST | Yes | — | UniFi controller URL |
UNIFI_API_KEY | \* | — | API key (preferred auth method) |
UNIFI_USERNAME | \* | — | Username for password auth |
UNIFI_PASSWORD | \* | — | Password for password auth |
UNIFI_SITE | No | default | UniFi site name |
UNIFI_VERIFY_SSL | No | true | Whether to verify SSL certs |
UNIFI_LOG_LEVEL | No | error | go-unifi client log level |
UNIFI_TOOL_MODE | No | lazy | Tool registration mode |
\* Either UNIFI_API_KEY or both UNIFI_USERNAME and UNIFI_PASSWORD must be set.
The UNIFI_LOG_LEVEL variable controls logging from the underlying go-unifi client library. The default is error because the client otherwise emits INFO messages to stderr, which can interfere with tools like mcp-cli that parse JSON on stdout/stderr.
| Level | Description |
|---|---|
disabled | No logging |
trace | Most verbose, including wire details |
debug | Debug messages |
info | Informational messages |
warn | Warnings only |
error | Errors only (default) |
The server supports two tool registration modes, following the pattern established by unifi-network-mcp:
| Mode | Tools | Context Size | Description |
|---|---|---|---|
lazy | 3 | ~200 tokens | Meta-tools only (default, recommended for LLMs) |
eager | 252 | ~55K tokens | All tools registered directly |
Lazy mode (default) registers only 3 meta-tools that provide access to 252 UniFi operations (generated from the controller API):
tool_index - Search/filter the tool catalog by category or resourceexecute - Execute any tool by name with argumentsbatch - Execute multiple tools in parallelThis dramatically reduces context window usage while preserving full functionality. The LLM first queries the index to find relevant tools, then executes them via the dispatcher.
Eager mode registers all 252 tools directly, which may be useful for non-LLM clients or debugging but consumes significant context.
Update semantics: Updates use a read-modify-write flow against the controller API. We fetch the current resource, merge your fields, and submit the full object. This avoids clearing unspecified fields, but it is not atomic and concurrent updates can race (last write wins) because the UniFi API does not expose etags or revision IDs. In practice this is unlikely to be an issue, but it's something to be aware of.
Responses from the UniFi API contain opaque ID references (e.g. network_id, usergroup_id, networkconf_id). By default, the server resolves these to human-readable names by looking up the referenced resource and injecting a sibling _name field:
{
"src_networkconf_id": "609fbf24e3ae433962e000de", "src_networkconf_name": "IOT" }
Resolution uses a per-request cache, so listing 100 firewall rules that reference networks only makes one additional ListNetwork API call. Typical overhead is 10-40ms depending on how many distinct resource types are referenced.
To disable resolution for a specific call, pass "resolve": false in the tool arguments.
All list operations support optional post-processing parameters for filtering and projecting results.
filter — Match items by field values. Supports three operators:
// Exact match
{"filter": {"type": "usw"}}
// Substring match (case-insensitive) {"filter": {"name": {"contains": "office"}}}
// Regular expression (RE2 syntax: https://github.com/google/re2/wiki/Syntax) {"filter": {"name": {"regex": "^ap-.*"}}}
// Multiple conditions (ANDed together) {"filter": {"type": "uap", "name": {"contains": "echo"}}}
search — Case-insensitive full-text search across all string field values:
{ "search": "living room" }
fields — Project the response to include only specific keys:
{ "fields": ["name", "ip", "mac"] }
Parameters can be combined. Execution order is filter → search → fields, so you can filter on fields that are excluded from the output:
{
"filter": { "type": "uap" }, "search": "echo", "fields": ["name", "ip"] }
# Clone the repository
git clone https://github.com/claytono/go-unifi-mcp.git cd go-unifi-mcp
nix develop
direnv allow
pre-commit install
task lint
task test
task coverage
task lint # Run linters via pre-commit
task test # Run tests task coverage # Run tests with coverage checks task build # Build the binary task generate # Run go generate
The development environment includes mcp-cli for interactive testing of the MCP server.
.envrc.local with your UniFi credentials (not tracked in git): export UNIFI_HOST="https://your-controller:443"
export UNIFI_API_KEY="your-api-key"
task build
The .mcp_servers.json config provides two server entries:
go-unifi-mcp - eager mode (252 tools)go-unifi-mcp-lazy - lazy mode (3 meta-tools)Eager mode (direct tool access):
# List tools (shows all 252)
mcp-cli info go-unifi-mcp
mcp-cli call go-unifi-mcp list_device '{}' mcp-cli call go-unifi-mcp list_network '{"site": "default"}'
Lazy mode (meta-tools):
# List tools (shows only 3 meta-tools)
mcp-cli info go-unifi-mcp-lazy
mcp-cli call go-unifi-mcp-lazy tool_index '{}' mcp-cli call go-unifi-mcp-lazy tool_index '{"category": "list"}' mcp-cli call go-unifi-mcp-lazy tool_index '{"resource": "network"}'
mcp-cli call go-unifi-mcp-lazy execute '{"tool": "list_device", "arguments": {}}'
mcp-cli call go-unifi-mcp-lazy batch '{"calls": [{"tool": "list_network", "arguments": {}}, {"tool": "list_device", "arguments": {}}]}'
This project builds upon:
MPL-2.0