MCP server
Unifi MCP
MCP server for Ubiquiti UniFi Network and Protect. 63 tools, 16 agent skills.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.8.2
- Listing updated
- 5 days ago
About Unifi MCP
Unifi MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add unifi-mcp --env UNIFI_DEVICES='<UNIFI_DEVICES>' --env UNIFI_PASSWORD='<UNIFI_PASSWORD>' -- uvx mcp-unifiAdd to claude_desktop_config.json
{
"mcpServers": {
"unifi-mcp": {
"command": "uvx",
"args": [
"mcp-unifi"
],
"env": {
"UNIFI_DEVICES": "<UNIFI_DEVICES>",
"UNIFI_PASSWORD": "<UNIFI_PASSWORD>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"unifi-mcp": {
"command": "uvx",
"args": [
"mcp-unifi"
],
"env": {
"UNIFI_DEVICES": "<UNIFI_DEVICES>",
"UNIFI_PASSWORD": "<UNIFI_PASSWORD>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"unifi-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-unifi"
],
"env": {
"UNIFI_DEVICES": "<UNIFI_DEVICES>",
"UNIFI_PASSWORD": "<UNIFI_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"unifi-mcp": {
"command": "uvx",
"args": [
"mcp-unifi"
],
"env": {
"UNIFI_DEVICES": "<UNIFI_DEVICES>",
"UNIFI_PASSWORD": "<UNIFI_PASSWORD>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"unifi-mcp": {
"command": "uvx",
"args": [
"mcp-unifi"
],
"env": {
"UNIFI_DEVICES": "<UNIFI_DEVICES>",
"UNIFI_PASSWORD": "<UNIFI_PASSWORD>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
UNIFI_DEVICESJSON array of UniFi device configs (name, url, api_key, services, site)RequiredUNIFI_MODEAuth mode: local (session), local_api_key (Integration API), or cloudUNIFI_USERNAMEController username for session auth (UNIFI_MODE=local)UNIFI_PASSWORDController password for session auth (UNIFI_MODE=local)UNIFI_VERIFY_SSLVerify SSL certificates (false for self-signed)
Pricing
Open source
Unifi MCP FAQ
Is Unifi MCP free?
Yes. Unifi MCP is open source, so you can use and self-host it for free.
How do I add Unifi MCP to Claude Code?
Run this command in your terminal: claude mcp add unifi-mcp --env UNIFI_DEVICES='<UNIFI_DEVICES>' --env UNIFI_PASSWORD='<UNIFI_PASSWORD>' -- uvx mcp-unifi
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.