UniFi Network MCP
CommunityMCP server by sirkirby · updated · ★ 926
Manage UniFi Network devices, clients, firewall, VLANs, VPNs, and more via MCP. UniFi Network MCP is a community project by sirkirby, not verified by a company domain.
Install UniFi Network MCP
Built from the published package, never by AIclaude mcp add unifi-network-mcp -e UNIFI_HOST=YOUR_UNIFI_HOST -e UNIFI_USERNAME=YOUR_UNIFI_USERNAME -e UNIFI_PASSWORD=YOUR_UNIFI_PASSWORD -- uvx unifi-network-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"unifi-network-mcp": {
"command": "uvx",
"args": [
"unifi-network-mcp"
],
"env": {
"UNIFI_HOST": "YOUR_UNIFI_HOST",
"UNIFI_USERNAME": "YOUR_UNIFI_USERNAME",
"UNIFI_PASSWORD": "YOUR_UNIFI_PASSWORD"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"unifi-network-mcp": {
"command": "uvx",
"args": [
"unifi-network-mcp"
],
"env": {
"UNIFI_HOST": "YOUR_UNIFI_HOST",
"UNIFI_USERNAME": "YOUR_UNIFI_USERNAME",
"UNIFI_PASSWORD": "YOUR_UNIFI_PASSWORD"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"unifi-network-mcp": {
"command": "uvx",
"args": [
"unifi-network-mcp"
],
"env": {
"UNIFI_HOST": "YOUR_UNIFI_HOST",
"UNIFI_USERNAME": "YOUR_UNIFI_USERNAME",
"UNIFI_PASSWORD": "YOUR_UNIFI_PASSWORD"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add unifi-network-mcp --env UNIFI_HOST=YOUR_UNIFI_HOST --env UNIFI_USERNAME=YOUR_UNIFI_USERNAME --env UNIFI_PASSWORD=YOUR_UNIFI_PASSWORD -- uvx unifi-network-mcp{
"mcpServers": {
"unifi-network-mcp": {
"command": "uvx",
"args": [
"unifi-network-mcp"
],
"env": {
"UNIFI_HOST": "YOUR_UNIFI_HOST",
"UNIFI_USERNAME": "YOUR_UNIFI_USERNAME",
"UNIFI_PASSWORD": "YOUR_UNIFI_PASSWORD"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add unifi-network-mcp uvx unifi-network-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the unifi-network-mcp block.
Last commit 5 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, 926 stars, original repository
No risky patterns in the files we checked
What you need
| Setting | Needed | What it is |
|---|---|---|
UNIFI_Environment variable | Required | Controller IP/hostname |
UNIFI_Environment variable, secret | Required | Admin username |
UNIFI_Environment variable, secret | Required | Admin password |
UNIFI_Environment variable, secret | Optional | API key (optional, experimental) |
UNIFI_Environment variable | Optional | Controller HTTPS port Default: 443 |
UNIFI_Environment variable | Optional | SSL certificate verification Default: false |
UNIFI_Environment variable | Optional | UniFi site name Default: default |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Weekly newsletter
Like UniFi Network MCP? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to UniFi Network MCP
All alternatives →Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
Model Context Protocol for TypeScript — public Zod schemas (spec + OAuth/OpenID) (with updated dependencies)
Model Context Protocol registry, transports, and OAuth bridges for Electric Agents
Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth
Public Preview — Security proxy for MCP servers: The Firewall for Model Context Protocol
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
UniFi Network MCP: common questions
How do I install UniFi Network MCP?
In Claude Code run claude mcp add unifi-network-mcp -e UNIFI_HOST=YOUR_UNIFI_HOST -e UNIFI_USERNAME=YOUR_UNIFI_USERNAME -e UNIFI_PASSWORD=YOUR_UNIFI_PASSWORD -- uvx unifi-network-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is UniFi Network MCP the official server?
UniFi Network MCP is a community project by sirkirby, not verified by a company domain.
Is UniFi Network MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is UniFi Network MCP safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to UniFi Network MCP?
Similar MCP servers: OpenWork MCP Gateway, Modelcontextprotocol Core, Agents MCP, MCP Remote.
Does UniFi Network MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
