AgentHubAgentHub

unifi

MCP ServerMCP Registry官方收录

io.github.us-all/unifi · v1.13.0

UniFi semantic-analysis MCP — fleet health, anomaly detection, cross-site analytics

概览

unifi 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "unifi": {
      "command": "npx",
      "args": [
        "-y",
        "@us-all/unifi-mcp"
      ],
      "env": {
        "UNIFI_API_KEY": "<UNIFI_API_KEY>"
      }
    }
  }
}

环境变量

UNIFI_API_KEY必填secret

UniFi Site Manager API key (https://unifi.ui.com).

UNIFI_API_URL可选

UniFi Site Manager API base URL (default: https://api.ui.com).

UNIFI_API_KEY_OWNER可选secret

Owner-role API key — enables 33 Cloud Connector tools for per-device/per-client deep data.

UNIFI_TOOLS可选

Comma-separated category allowlist. Default: all categories enabled.

UNIFI_DISABLE可选

Comma-separated category disablelist.

UNIFI_LOCAL_URL可选

Local controller URL (e.g. https://10.10.1.1). Enables 2 local-only tools (get-port-errors, list-port-flap-summary) that surface per-port errors + SFP DDM the Cloud API does not expose. Requires LAN reachability.

UNIFI_LOCAL_USER可选

Controller local account username (required when UNIFI_LOCAL_URL set). Viewer/Limited-Admin role is sufficient.

UNIFI_LOCAL_PASS可选secret

Controller local account password (required when UNIFI_LOCAL_URL set).

UNIFI_LOCAL_SITE可选

Site slug for legacy /api/s/{site}/* (default: default).

UNIFI_LOCAL_INSECURE可选

Set to 'true' to accept self-signed cert from the local controller (typical for UDM Pro).

相关资源

统一 Manifest

{
  "id": "io.github.us-all/unifi",
  "type": "mcp-server",
  "version": "1.13.0",
  "displayName": "unifi",
  "description": "UniFi semantic-analysis MCP — fleet health, anomaly detection, cross-site analytics",
  "repository": {
    "url": "https://github.com/us-all/unifi-mcp-server",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@us-all/unifi-mcp",
        "version": "1.13.0",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "UNIFI_API_KEY",
            "description": "UniFi Site Manager API key (https://unifi.ui.com).",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "UNIFI_API_URL",
            "description": "UniFi Site Manager API base URL (default: https://api.ui.com)."
          },
          {
            "name": "UNIFI_API_KEY_OWNER",
            "description": "Owner-role API key — enables 33 Cloud Connector tools for per-device/per-client deep data.",
            "isSecret": true
          },
          {
            "name": "UNIFI_TOOLS",
            "description": "Comma-separated category allowlist. Default: all categories enabled."
          },
          {
            "name": "UNIFI_DISABLE",
            "description": "Comma-separated category disablelist."
          },
          {
            "name": "UNIFI_LOCAL_URL",
            "description": "Local controller URL (e.g. https://10.10.1.1). Enables 2 local-only tools (get-port-errors, list-port-flap-summary) that surface per-port errors + SFP DDM the Cloud API does not expose. Requires LAN reachability."
          },
          {
            "name": "UNIFI_LOCAL_USER",
            "description": "Controller local account username (required when UNIFI_LOCAL_URL set). Viewer/Limited-Admin role is sufficient."
          },
          {
            "name": "UNIFI_LOCAL_PASS",
            "description": "Controller local account password (required when UNIFI_LOCAL_URL set).",
            "isSecret": true
          },
          {
            "name": "UNIFI_LOCAL_SITE",
            "description": "Site slug for legacy /api/s/{site}/* (default: default)."
          },
          {
            "name": "UNIFI_LOCAL_INSECURE",
            "description": "Set to 'true' to accept self-signed cert from the local controller (typical for UDM Pro)."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.us-all/unifi",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.us-all%2Funifi/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
unifi — MCP Server 安装与配置 · AgentHub