UniFi MCP Server
An open-source MCP server that exposes UniFi Network, UniFi Protect, and UniFi cloud APIs as tools, allowing AI agents to manage network infrastructure, devices, security settings, and surveillance systems via a standard interface.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Manage network clients, VLANs, and WiFi SSIDs
- Monitor UniFi Protect cameras and alarm systems
- Configure firewall rules and VPN settings
- Retrieve DPI statistics and traffic flows
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
unifi-mcp-server 0.2.0
{
"version": "0.2.0",
"transport": "stdio",
"identifier": "unifi-mcp-server",
"registryType": "npm",
"environmentVariables": [
{
"name": "UNIFI_HOST",
"format": "string",
"isRequired": true,
"description": "UniFi Controller hostname or IP address"
},
{
"name": "UNIFI_USERNAME",
"format": "string",
"isRequired": true,
"description": "UniFi Controller username"
},
{
"name": "UNIFI_PASSWORD",
"format": "string",
"isRequired": true,
"description": "UniFi Controller password"
},
{
"name": "UNIFI_PORT",
"format": "number",
"description": "UniFi Controller port (default: 443)"
},
{
"name": "UNIFI_VERIFY_SSL",
"format": "boolean",
"description": "Verify SSL certificate (default: true)"
},
{
"name": "UNIFI_SITE",
"format": "string",
"description": "UniFi site name (default: default)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"unifi-mcp-server": {
"command": "npx",
"args": [
"-y",
"unifi-mcp-server@0.2.0"
],
"env": {
"UNIFI_HOST": "<YOUR_UNIFI_HOST>",
"UNIFI_USERNAME": "<YOUR_UNIFI_USERNAME>",
"UNIFI_PASSWORD": "<YOUR_UNIFI_PASSWORD>",
"UNIFI_PORT": "<YOUR_UNIFI_PORT>",
"UNIFI_VERIFY_SSL": "<YOUR_UNIFI_VERIFY_SSL>",
"UNIFI_SITE": "<YOUR_UNIFI_SITE>"
}
}
}
}Cline
{
"mcpServers": {
"unifi-mcp-server": {
"command": "npx",
"args": [
"-y",
"unifi-mcp-server@0.2.0"
],
"env": {
"UNIFI_HOST": "<YOUR_UNIFI_HOST>",
"UNIFI_USERNAME": "<YOUR_UNIFI_USERNAME>",
"UNIFI_PASSWORD": "<YOUR_UNIFI_PASSWORD>",
"UNIFI_PORT": "<YOUR_UNIFI_PORT>",
"UNIFI_VERIFY_SSL": "<YOUR_UNIFI_VERIFY_SSL>",
"UNIFI_SITE": "<YOUR_UNIFI_SITE>"
}
}
}
}VS Code
{
"servers": {
"unifi-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"unifi-mcp-server@0.2.0"
],
"env": {
"UNIFI_HOST": "<YOUR_UNIFI_HOST>",
"UNIFI_USERNAME": "<YOUR_UNIFI_USERNAME>",
"UNIFI_PASSWORD": "<YOUR_UNIFI_PASSWORD>",
"UNIFI_PORT": "<YOUR_UNIFI_PORT>",
"UNIFI_VERIFY_SSL": "<YOUR_UNIFI_VERIFY_SSL>",
"UNIFI_SITE": "<YOUR_UNIFI_SITE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"unifi-mcp-server": {
"command": "npx",
"args": [
"-y",
"unifi-mcp-server@0.2.0"
],
"env": {
"UNIFI_HOST": "<YOUR_UNIFI_HOST>",
"UNIFI_USERNAME": "<YOUR_UNIFI_USERNAME>",
"UNIFI_PASSWORD": "<YOUR_UNIFI_PASSWORD>",
"UNIFI_PORT": "<YOUR_UNIFI_PORT>",
"UNIFI_VERIFY_SSL": "<YOUR_UNIFI_VERIFY_SSL>",
"UNIFI_SITE": "<YOUR_UNIFI_SITE>"
}
}
}
}Let your agent find its tools
Find servers like UniFi MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.