Go Unifi MCP server
io.github.claytono/go-unifi-mcp·v0.3.1·6 starsManage UniFi sites, devices, clients, networks, port forwarding, DNS, and firewall
6 stars
Reviews
Write oneNobody has reviewed Go Unifi yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Go Unifi tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 5 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Go Unifi compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- GitHub stars
- 6
- more than 85% of 28,688 servers
Install Go Unifi in Claude Code, Cursor or VS Code
claude mcp add go-unifi-mcp -- docker run -i --rm ghcr.io/claytono/go-unifi-mcp:v0.3.1
What the publisher says
From the Go Unifi repository's README, as published. We do not edit it. Read it on GitHub
go-unifi-mcp
A Model Context Protocol (MCP) server for UniFi Network Controller, written in Go.
Overview
go-unifi-mcp provides an MCP interface to UniFi Network Controller, enabling AI assistants and other MCP clients to interact with your UniFi infrastructure.
Why this exists
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.
UniFi controller versioning
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.
Installation
Binary (GitHub Releases)
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/
# macOS (Intel)
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/
# Linux (amd64)
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/
# Linux (arm64)
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/Homebrew
Available from the claytono/homebrew-tap tap:
brew install claytono/tap/go-unifi-mcpNix
# Run without installing
nix run github:claytono/go-unifi-mcp
# Install to your profile
nix profile install github:claytono/go-unifi-mcpDocker
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
# Edge (built from main on every merge, unstable)
docker pull ghcr.io/claytono/go-unifi-mcp:edgeGo Install
go install github.com/claytono/go-unifi-mcp/cmd/go-unifi-mcp@latestConfiguration
UniFi Credentials
The server requires access to a UniFi Network Controller. Two authentication methods are supported:
Settings > Control Plane > Integrations. Set UNIFIHOST and UNIFIAPI_KEY.
- API Key (preferred): Create an API key in your UniFi controller under
UNIFIUSERNAME, and UNIFIPASSWORD.
- Username/Password: Use a local admin account. Set UNIFI_HOST,
Claude Desktop
Add to your claudedesktopconfig.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 Code
claude mcp add unifi -- go-unifi-mcpShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Go Unifi: common questions
- Is Go Unifi MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Go Unifi safety report
- How do I install Go Unifi?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Go Unifi need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Go Unifi maintained?
- The last commit was 45 days ago (2026-09-20). The latest release is v0.3.1.
- What can I use instead of Go Unifi?
- Servers from other publishers that do the same job: UniFi Network MCP server.
- How does Go Unifi compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); github stars 6 (more than 85% of 28,688 servers). Full comparison.
Alternatives to Go Unifi
Same job from other publishers: the closest match first, then the best rated.
- UniFi Network MCPManage UniFi Network devices, clients, firewall, VLANs, VPNs, and more via MCP.not reviewedEstablishedB