プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Unifi

作者:us-allバージョン 1.13.3i★ –iパソコンで動く
レジストリ名io.github.us-all/unifi

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: クリニック・健康
  • 入力が必要なもの:UNIFI_API_KEY, UNIFI_API_KEY_OWNER, UNIFI_LOCAL_PASS

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: UNIFI_API_KEY, UNIFI_API_URL, UNIFI_API_KEY_OWNER, UNIFI_TOOLS, UNIFI_DISABLE, UNIFI_LOCAL_URL, UNIFI_LOCAL_USER, UNIFI_LOCAL_PASS, UNIFI_LOCAL_SITE, UNIFI_LOCAL_INSECURE

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "unifi": {
      "command": "npx",
      "args": [
        "-y",
        "@us-all/unifi-mcp"
      ],
      "env": {
        "UNIFI_API_KEY": "your-value",
        "UNIFI_API_URL": "your-value",
        "UNIFI_API_KEY_OWNER": "your-value",
        "UNIFI_TOOLS": "your-value",
        "UNIFI_DISABLE": "your-value",
        "UNIFI_LOCAL_URL": "your-value",
        "UNIFI_LOCAL_USER": "your-value",
        "UNIFI_LOCAL_PASS": "your-value",
        "UNIFI_LOCAL_SITE": "your-value",
        "UNIFI_LOCAL_INSECURE": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add unifi --env UNIFI_API_KEY=your-value --env UNIFI_API_URL=your-value --env UNIFI_API_KEY_OWNER=your-value --env UNIFI_TOOLS=your-value --env UNIFI_DISABLE=your-value --env UNIFI_LOCAL_URL=your-value --env UNIFI_LOCAL_USER=your-value --env UNIFI_LOCAL_PASS=your-value --env UNIFI_LOCAL_SITE=your-value --env UNIFI_LOCAL_INSECURE=your-value -- npx -y @us-all/unifi-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "unifi": {
      "command": "npx",
      "args": [
        "-y",
        "@us-all/unifi-mcp"
      ],
      "env": {
        "UNIFI_API_KEY": "your-value",
        "UNIFI_API_URL": "your-value",
        "UNIFI_API_KEY_OWNER": "your-value",
        "UNIFI_TOOLS": "your-value",
        "UNIFI_DISABLE": "your-value",
        "UNIFI_LOCAL_URL": "your-value",
        "UNIFI_LOCAL_USER": "your-value",
        "UNIFI_LOCAL_PASS": "your-value",
        "UNIFI_LOCAL_SITE": "your-value",
        "UNIFI_LOCAL_INSECURE": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "unifi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@us-all/unifi-mcp"
      ],
      "env": {
        "UNIFI_API_KEY": "your-value",
        "UNIFI_API_URL": "your-value",
        "UNIFI_API_KEY_OWNER": "your-value",
        "UNIFI_TOOLS": "your-value",
        "UNIFI_DISABLE": "your-value",
        "UNIFI_LOCAL_URL": "your-value",
        "UNIFI_LOCAL_USER": "your-value",
        "UNIFI_LOCAL_PASS": "your-value",
        "UNIFI_LOCAL_SITE": "your-value",
        "UNIFI_LOCAL_INSECURE": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • UNIFI_API_KEY 秘密 必須 env
    UniFi Site Manager API key (https://unifi.ui.com).
  • UNIFI_API_URL env
    UniFi Site Manager API base URL (default: https://api.ui.com).
  • UNIFI_API_KEY_OWNER 秘密 env
    Owner-role API key — enables 33 Cloud Connector tools for per-device/per-client deep data.
  • UNIFI_TOOLS env
    Comma-separated category allowlist. Default: all categories enabled.
  • UNIFI_DISABLE env
    Comma-separated category disablelist.
  • UNIFI_LOCAL_URL env
    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…
  • UNIFI_LOCAL_USER env
    Controller local account username (required when UNIFI_LOCAL_URL set). Viewer/Limited-Admin role is sufficient.
  • UNIFI_LOCAL_PASS 秘密 env
    Controller local account password (required when UNIFI_LOCAL_URL set).
  • UNIFI_LOCAL_SITE env
    Site slug for legacy /api/s/{site}/* (default: default).
  • UNIFI_LOCAL_INSECURE env
    Set to 'true' to accept self-signed cert from the local controller (typical for UDM Pro).

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント us-all で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

クリニック・健康のほかのサーバーとの比較i

  • このカテゴリのほかの870件のうち0%よりスターが多い
  • このカテゴリのほかの870件のうち18%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの870件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Unifiは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:UNIFI_API_KEY, UNIFI_API_KEY_OWNER, UNIFI_LOCAL_PASS

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.13.3)がレジストリに届いたのは5 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Mirobody, FHIR MCP Server, Google Health MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Mirobody

作者:thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

パソコンで動く★ 1,408Apache-2.06 日前更新
インストール

FHIR MCP Server

作者:wso2

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

パソコンで動く★ 137Apache-2.09 日前更新
インストール

Google Health MCP

作者:davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

パソコンで動く★ 79MIT4 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

UniFi MCP Server

The MSP-style UniFi MCP — built around the official Site Manager API + Cloud Connector with cross-site analytics no other UniFi MCP exposes.

54 tools split across 7 semantic-analysis aggregations, 9 raw Site Manager, and 35 Cloud Connector — plus 2 optional local controller tools that surface per-port error counters and SFP DDM the Cloud API doesn't expose. Severity verdicts (healthy/info/warning/critical) on top of curated thresholds. 8 MCP Prompts (4 fleet-wide ops + 4 MSP workflows). Read-only — Ubiquiti's API keys don't ship write yet.

Pre-flight diagnostic

npx -y @us-all/unifi-mcp --doctor

Validates env vars, pings Site Manager API, probes Cloud Connector (if owner key set), and checks category toggles before starting. Exits non-zero on critical issues so it works in CI / pre-deploy scripts.

What it does that others don't

  • Site Manager analytics — site-health-timeline, summarize-site, firmware-inventory, compare-sites, wan-uptime-trend, top-clients-by-bandwidth, list-sites-overview. No other UniFi MCP exposes these.
  • Severity verdicts, not just numbers — every analysis tool returns healthy / info / warning / critical / unknown with a curated reason. Curated thresholds (e.g. WAN uptime <90% = critical, startupTime <1h = critical post-reboot).
  • Cloud Connector first-class — 35 tools through the official /v1/connector/consoles/{id}/... proxy. connectorAvailable (capability) vs connectorResolved (this-call) split.
  • Aggregation tools — fold 3–7 sequential calls into 1 with caveats array surfacing partial failures (e.g. Site Manager API can't window-bound WAN uptime — that's surfaced explicitly).
  • MCP Prompts (8) — fleet ops: triage-site-degradation, firmware-rollout-audit, wan-uptime-report, cross-site-anomaly-detection. MSP workflows: msp-onboard-site-checklist, msp-monthly-client-report, msp-fleet-firmware-plan, msp-bandwidth-complaint-investigation.
  • Token-efficient by design — smallest schema footprint of all @us-all/* MCPs (default ~5K tokens with owner key). Fleet of 200+ devices analyzable inside a single session.
  • Apps SDK card — summarize-site renders as a fleet-status card on ChatGPT clients (online %, WAN uptime, gateway, devices) via _meta["openai/outputTemplate"]. Claude clients receive the same JSON content.
  • stdio + Streamable HTTP — defaults to stdio. Set MCP_TRANSPORT=http for ChatGPT Apps SDK or remote clients (Bearer auth via MCP_HTTP_TOKEN).
  • Local controller direct access (v1.13.0) — opt-in UNIFI_LOCAL_* env enables 2 tools that bypass the Cloud Connector and hit the controller's legacy /api/s/{site}/stat/device/{mac} directly on the LAN: get-port-errors (port-level rx/tx errors, link-flap counters, SFP DDM — Rx/Tx Power dBm, temperature, voltage, TX/RX fault) and list-port-flap-summary (fleet-wide port instability ranking). Surfaces data the Integration API doesn't expose. Requires LAN reachability.

Try this — 5 prompts

Connect the server to Claude Desktop or Claude Code, then paste any of these:

  1. MSP morning check — *"Fleet health check across all my UniFi sites. Flag anything not healthy with severity, top 3 issues."*
  2. Firmware rollout audit — *"Find devices on outdated firmware across every site. Group by site, show current vs latest version, prioritize by criticality."*
  3. Site degradation triage — *"USM site has WiFi complaints. Pull the last 24h: device statuses, WAN uptime, recent reboots, top-bandwidth clients. Anything anomalous?"*
  4. WAN SLA report — *"Generate a monthly WAN uptime report for all sites. Surface outages > 5 minutes, dual-WAN failover events, sites below 99.5% target."*
  5. Cross-site anomaly — *"Compare USS to my other sites — clients per AP, traffic patterns, device firmware mix. Flag outliers and suggest the most likely cause."*
  6. Port flap triage *(requires UNIFI_LOCAL_*)* — *"Rank every port across all switches by instability score. For the top 3 worst offenders, pull SFP DDM if present and tell me whether the signal itself is bad or it's something downstream."*

When to use this vs other UniFi MCPs

sirkirby/unifi-mcpenuno/unifi-mcp-server@us-all/unifi-mcp (this)
GitHub stars291117—
Tool count2247454
ScopeNetwork + Protect + Access + DriveNetwork + multi-site + QoS + backupSite Manager + Cloud Connector + analytics
Site Manager API❌partial✅ deep + analytics
Cloud Connector❌partial (3 modes)✅ avail/resolved split
UniFi Protect (cameras)✅❌❌ (out of scope)
UniFi Access (doors)✅❌❌ (out of scope)
Aggregation tools❌❌✅ 7
Severity verdicts❌❌✅ curated thresholds
MCP Prompts❌❌✅ 8 (incl. 4 MSP workflows)

Use sirkirby when you need cameras (Protect) or door access. Use enuno if you want raw Network API breadth. Use this server for MSP-style multi-site analytics, fleet triage, and any "is something off?" question across many consoles.

Install

Claude Desktop
{

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

Claude Code
claude mcp add unifi -s user \

-e UNIFI_API_KEY= \ -e UNIFI_API_KEY_OWNER= \ -- npx -y @us-all/unifi-mcp

Build from source
git clone https://github.com/us-all/unifi-mcp-server.git

cd unifi-mcp-server && pnpm install && pnpm build node dist/index.js

API keys — which one and where

The most common onboarding friction. UniFi has two surfaces through the same https://api.ui.com/v1:

SurfaceWhat it givesPathEnv var
Site Managerhosts, sites, devices summary, ISP metrics, SD-WAN configs (aggregated, console-wide)/v1/hosts, /v1/sites, /v1/devices, /v1/sd-wan-configsUNIFI_API_KEY
Cloud Connectorper-device, per-client, networks, firewall, WiFi (proxies to local controller)/v1/connector/consoles/{hostId}/...UNIFI_API_KEY_OWNER

API key permissions inherit from the role of the account that created them.

Account roleSite ManagerCloud Connector
Admin (non-owner)✅❌ 403
Owner✅✅

If you have the owner role, set both env vars to the same key. That's the most common case for @us-all operators.

Get the key: unifi.ui.com → Settings → API → Generate. View Only is the only option in GA today (Full Access greyed out — Early Access program needed for write).

Cloud Connector requirements
  • Console firmware ≥ 5.0.3
  • API path: https://api.ui.com/v1/connector/consoles/{hostId}/{appPath}
  • Local siteId is a UUID, not the literal string default
  • Available endpoints: Network integration API (/network/integration/v1/sites, devices, clients, networks). Legacy paths (/api/s/{site}/stat/event) return 404. Event logs / syslog not exposed.
Local controller (optional, v1.13.0+)

Adds 2 tools that fill the gap left by Cloud Connector — per-port error counters, flap counters, and SFP DDM. These live in /api/s/{site}/stat/device/{mac} (legacy) and the official Network Integration API does not expose them (verified against OpenAPI spec v10.4.57).

Requirements:

  • LAN/VPN reachability from the host running this MCP to the controller (typically https:// )
  • A controller local account (Viewer / Limited Admin role is sufficient — Owner credentials NOT required)
  • Self-signed cert handling: set UNIFI_LOCAL_INSECURE=true for stock UDM Pro

Auth flow: POST /api/auth/login (cookie) → all subsequent calls re-use the session, 401 triggers automatic re-login. Read-only.

Configuration

VariableRequiredDefaultDescription
UNIFI_API_KEY✅—API key from unifi.ui.com (any admin role)
UNIFI_API_KEY_OWNER❌—Owner-role API key — enables 35 Cloud Connector tools. If your key has owner role, set this to the same value.
UNIFI_API_URL❌https://api.ui.com/v1API base URL
UNIFI_TOOLS❌—Comma-sep allowlist of categories.
UNIFI_DISABLE❌—Comma-sep denylist. Ignored when UNIFI_TOOLS is set.
MCP_TRANSPORT❌stdiohttp to enable Streamable HTTP transport
MCP_HTTP_TOKENconditional—Bearer token. Required when MCP_TRANSPORT=http
MCP_HTTP_PORT❌3000HTTP listen port
MCP_HTTP_HOST❌127.0.0.1HTTP bind host (DNS rebinding protection auto-enabled for localhost)
MCP_HTTP_SKIP_AUTH❌falseSkip Bearer auth — e.g. behind a reverse proxy that handles it
UNIFI_LOCAL_URL❌—Local controller URL (e.g. https://10.10.1.1). Setting this + USER/PASS enables 2 local category tools.
UNIFI_LOCAL_USERconditional—Controller local account username (required when UNIFI_LOCAL_URL set). Viewer/Limited-Admin role is sufficient.
UNIFI_LOCAL_PASSconditional—Controller local account password (required when UNIFI_LOCAL_URL set).
UNIFI_LOCAL_SITE❌defaultSite slug for legacy /api/s/{site}/*.
UNIFI_LOCAL_INSECURE❌falseAccept self-signed cert (typical for UDM Pro).

Categories (9): analysis, raw, devices, clients, networks, firewall, wan, reference, local.

When MCP_TRANSPORT=http: POST /mcp (Bearer-auth JSON-RPC) + GET /health (public liveness).

Token efficiency

Smallest schema footprint of all @us-all/* MCPs.

ScenarioToolsSchema tokens
default no-owner171,700
UNIFI_TOOLS=analysis81,000 (−42%)
default with owner key52~5,000
UNIFI_TOOLS=analysis + owner81,000 (−80%)

Severity & thresholds

Every analysis tool returns one of:

  • healthy — no issues
  • info — informational, no action
  • warning — needs attention
  • critical — immediate action
  • unknown — API failure or incomplete data

Curated thresholds:

ConditionSeverity
Device offlinecritical
startupTime < 1hcritical (just rebooted)
startupTime < 24hwarning (recent reboot)
startupTime < 72hinfo (monitor)
WAN uptime < 90%critical
WAN uptime < 95%warning

MCP Prompts (8)

Workflow templates available via MCP prompts/list. Four are fleet-ops; four are MSP-specific (managed-service-provider workflows).

Fleet ops:

  • triage-site-degradation — site complaints workflow: device + WAN + reboots + clients in sequence.
  • firmware-rollout-audit — fleet-wide firmware diff and rollout safety check.
  • wan-uptime-report — monthly WAN SLA-style report across sites.
  • cross-site-anomaly-detection — compare a site to fleet baseline; flag outliers.

MSP workflows:

  • msp-onboard-site-checklist — pass/fail readiness checklist for a newly added customer site (firmware floor, console connectivity, uptime trend, connector availability, firewall sanity, recent reboots, pending devices).
  • msp-monthly-client-report — customer-faci

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く