UniFi MCP
An MCP server providing AI assistants with access to UniFi Network and Protect infrastructure. It supports device management, client monitoring, site management, statistics, and camera management via 63 tools and 16 agent skills.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List and manage UniFi devices like APs and switches
- Monitor connected clients and view traffic statistics
- Manage UniFi Protect cameras and view live snapshots
- Analyze network health and get optimization recommendations
Source and maintenance
Community listingRegistry 0.8.2
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-unifi 0.8.2
pypi
mcp-unifi package definition
{
"version": "0.8.2",
"transport": "stdio",
"identifier": "mcp-unifi",
"registryType": "pypi",
"environmentVariables": [
{
"name": "UNIFI_DEVICES",
"format": "string",
"isRequired": true,
"description": "JSON array of UniFi device configs (name, url, api_key, services, site)"
},
{
"name": "UNIFI_MODE",
"format": "string",
"description": "Auth mode: local (session), local_api_key (Integration API), or cloud"
},
{
"name": "UNIFI_USERNAME",
"format": "string",
"description": "Controller username for session auth (UNIFI_MODE=local)"
},
{
"name": "UNIFI_PASSWORD",
"format": "string",
"description": "Controller password for session auth (UNIFI_MODE=local)"
},
{
"name": "UNIFI_VERIFY_SSL",
"format": "string",
"description": "Verify SSL certificates (false for self-signed)"
}
]
}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
Cursor configuration
{
"mcpServers": {
"unifi-mcp-mcp-unifi": {
"command": "uvx",
"args": [
"mcp-unifi==0.8.2"
],
"env": {
"UNIFI_DEVICES": "<YOUR_UNIFI_DEVICES>",
"UNIFI_MODE": "<YOUR_UNIFI_MODE>",
"UNIFI_USERNAME": "<YOUR_UNIFI_USERNAME>",
"UNIFI_PASSWORD": "<YOUR_UNIFI_PASSWORD>",
"UNIFI_VERIFY_SSL": "<YOUR_UNIFI_VERIFY_SSL>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"unifi-mcp-mcp-unifi": {
"command": "uvx",
"args": [
"mcp-unifi==0.8.2"
],
"env": {
"UNIFI_DEVICES": "<YOUR_UNIFI_DEVICES>",
"UNIFI_MODE": "<YOUR_UNIFI_MODE>",
"UNIFI_USERNAME": "<YOUR_UNIFI_USERNAME>",
"UNIFI_PASSWORD": "<YOUR_UNIFI_PASSWORD>",
"UNIFI_VERIFY_SSL": "<YOUR_UNIFI_VERIFY_SSL>"
}
}
}
}VS Code
VS Code configuration
{
"servers": {
"unifi-mcp-mcp-unifi": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-unifi==0.8.2"
],
"env": {
"UNIFI_DEVICES": "<YOUR_UNIFI_DEVICES>",
"UNIFI_MODE": "<YOUR_UNIFI_MODE>",
"UNIFI_USERNAME": "<YOUR_UNIFI_USERNAME>",
"UNIFI_PASSWORD": "<YOUR_UNIFI_PASSWORD>",
"UNIFI_VERIFY_SSL": "<YOUR_UNIFI_VERIFY_SSL>"
}
}
}
}Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"unifi-mcp-mcp-unifi": {
"command": "uvx",
"args": [
"mcp-unifi==0.8.2"
],
"env": {
"UNIFI_DEVICES": "<YOUR_UNIFI_DEVICES>",
"UNIFI_MODE": "<YOUR_UNIFI_MODE>",
"UNIFI_USERNAME": "<YOUR_UNIFI_USERNAME>",
"UNIFI_PASSWORD": "<YOUR_UNIFI_PASSWORD>",
"UNIFI_VERIFY_SSL": "<YOUR_UNIFI_VERIFY_SSL>"
}
}
}
}Let your agent find its tools
Find servers like UniFi MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.