Koskamo

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.

UniFi MCP Server logo, by enunoCommunity listingLocal stdioSource reviewed; not executedPublished by enuno
Vendor documentation

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

Community listingRegistry 0.2.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

unifi-mcp-server 0.2.0

npm
unifi-mcp-server package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.