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

Unifi MCP Server

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

インストール

概要

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

An MCP server that leverages official UniFi API

PopNx MCPの3つの柱

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

できること

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

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD

インストール

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

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD, UNIFI_PORT, UNIFI_VERIFY_SSL, UNIFI_SITE

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

必要なもの

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

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

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

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

{
  "mcpServers": {
    "unifi": {
      "command": "npx",
      "args": [
        "-y",
        "unifi-mcp-server"
      ],
      "env": {
        "UNIFI_HOST": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value",
        "UNIFI_PORT": "your-value",
        "UNIFI_VERIFY_SSL": "your-value",
        "UNIFI_SITE": "your-value"
      }
    }
  }
}

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

claude mcp add unifi --env UNIFI_HOST=your-value --env UNIFI_USERNAME=your-value --env UNIFI_PASSWORD=your-value --env UNIFI_PORT=your-value --env UNIFI_VERIFY_SSL=your-value --env UNIFI_SITE=your-value -- npx -y unifi-mcp-server

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

Cursorで開く

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

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

{
  "mcpServers": {
    "unifi": {
      "command": "npx",
      "args": [
        "-y",
        "unifi-mcp-server"
      ],
      "env": {
        "UNIFI_HOST": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value",
        "UNIFI_PORT": "your-value",
        "UNIFI_VERIFY_SSL": "your-value",
        "UNIFI_SITE": "your-value"
      }
    }
  }
}

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

VS Codeで開く

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

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

{
  "servers": {
    "unifi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "unifi-mcp-server"
      ],
      "env": {
        "UNIFI_HOST": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value",
        "UNIFI_PORT": "your-value",
        "UNIFI_VERIFY_SSL": "your-value",
        "UNIFI_SITE": "your-value"
      }
    }
  }
}

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

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

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

自分で入力する値

  • UNIFI_HOST 必須 env
    UniFi Controller hostname or IP address
  • UNIFI_USERNAME 必須 env
    UniFi Controller username
  • UNIFI_PASSWORD 秘密 必須 env
    UniFi Controller password
  • UNIFI_PORT env
    UniFi Controller port (default: 443)
  • UNIFI_VERIFY_SSL env
    Verify SSL certificate (default: true)
  • UNIFI_SITE env
    UniFi site name (default: default)

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

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

  • … 未チェック

    ライセンスがある

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

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

その他のほかのサーバーとの比較i

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

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

よくある質問

Unifi MCP Serverは安全ですか?

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

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

入力が必要なもの:UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Readfirst

代わりの候補

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

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

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry初期↓ 66/週★ 44014 か月前更新

パソコンで動く

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander成長中★ 2113 日前更新

クラウドで動く✓ desktopcommander.app

Readfirst

What to read and check before changing a file: project rules, risks, checks and tests per file.

作者:jeonghun917成長中↓ 5325/週今日更新

パソコンで動く

作者のREADME

READMEを開く

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

UniFi MCP Server

AI-native control of UniFi networks through the Model Context Protocol

An MCP server that exposes UniFi Network, UniFi Protect and the UniFi cloud APIs (Site Manager, Mobility, InnerSpace, Carrier Fabric) as MCP tools, so AI agents can read and change UniFi infrastructure through one standard interface. It runs against one controller or, in fleet mode, many.

Current release: 0.8.0. See CHANGELOG.md for what changed.

Contents

  • Features
  • API modes
  • Quick start
  • Agent skills
  • Tool profiles and safety controls
  • Network transports and deployment
  • Calling the server from code
  • Native MCP prompts
  • Documentation
  • Development

Features

343 tools in local mode, from 60 modules.

  • Network: clients (search, block, reconnect), networks and VLANs, WiFi SSIDs, DHCP reservations, DNS, WAN, guest vouchers, QoS profiles and traffic routes, DPI statistics, traffic flows.
  • Devices: inventory, adoption, restart, locate, upgrade, radio settings, port profiles and per-port overrides, switching and stacks, topology export (JSON, GraphML, DOT), diagnostics, WiFi channel planning.
  • Security: legacy firewall rules and groups, zone-based firewall (zones, policies, zone matrix), ACL rules, traffic matching lists, port forwarding, VPN and site-to-site VPN, content filtering, RADIUS and the guest portal.
  • Protect: cameras, NVRs, views, events, sensors, lights, chimes, sirens, relays, speakers, alarm hubs and the alarm manager.
  • Cloud: Site Manager (hosts, sites, cross-site statistics), the connector proxy, Mobility workspaces and devices, InnerSpace floor plans and inventory, Carrier Fabric subscribers and service plans.
  • Operations: sites, backups (create, schedule, download, restore), events, multi-site aggregation, device migration between sites.
  • Fleet mode (optional, with Postgres and Redis): many controllers behind one server, a controller registry with encrypted credentials, server-issued tokens with roles, a shared read cache, several replicas and background workers, and fleet_* tools that read across controllers. See MULTI_CONTROLLER.md and docs/FLEET_SCALING_PLAN.md.
  • Native prompts: eight parameterised UniFi operational workflows (health check, client connectivity, WiFi performance, device investigation, firewall review, change planning, Protect health, fleet summary) exposed through the standard prompts/list and prompts/get operations. See docs/PROMPTS.md.
  • Safety: every mutating tool needs confirm=True and supports dry_run=True, plus read-only and dry-run server modes, role-based access over risk tiers, and a hash-chained audit log (see below).
  • A2A discovery and delegation: an agent card built from the live tool registry, served at /a2a/agent-card and /.well-known/agent-card.json, plus a capability manifest and a delegation endpoint that runs a registered tool under the server's own role, confirmation and audit controls. See A2A.md.
  • Observability: Prometheus /metrics, /healthz, SIEM export of audit records, optional Redis caching, webhooks with HMAC verification.

API modes

Set UNIFI_API_TYPE to choose how the server reaches UniFi.

ModeWhat it reachesUse it for
local (recommended)Your UniFi console or gateway on the LAN (UNIFI_LOCAL_HOST)Everything: device and client control, configuration, firewall, Protect
cloud-eaUniFi's Early Access cloud APISites and aggregate statistics; no per-device control or configuration
cloud-v1UniFi's stable v1 cloud APISites and aggregate statistics; no per-device control or configuration

The cloud tools (Site Manager, Mobility, InnerSpace, Carrier Fabric) call api.ui.com and are registered in every mode. Set UNIFI_SITE_MANAGER_ENABLED=true to use them. In local mode the server registers 343 tools; in either cloud mode, 71.

Zone-based firewall tools need UniFi Network 9.0 or later. Some documented UniFi endpoints do not exist on every firmware version; see docs/UNIFI_API.md.

UniFi Network 11 / UniFi OS 6: compatible per released documentation, with four items pending live-controller verification — not yet a claim of full support. USG gateways and the classic, self-hosted Network Application Server are removed platform targets; fleet_health automatically flags any registered controller with a USG in its device inventory, but there is no API signal to auto-detect a classic Network Application Server, so label that controller instead (e.g. deployment=classic-server) and filter on it. Network 11 replaces the statistics engine and resets historical data, so the statistics tools (get_historical_stats, get_speed_test_history, get_dpi_statistics, list_top_applications, get_client_dpi) attach a statistics_note to every empty response — an empty history right after the upgrade is expected, not an outage. See docs/NETWORK_11_COMPATIBILITY.md for the full compatibility matrix.

Quick start

1. Get an API key
  1. Sign in to UniFi Site Manager.
  2. Go to Settings → Control Plane → Integrations and choose Create API Key.
  3. Copy the key. It is shown only once.
2. Install
pip install unifi-mcp-server          # or: uv tool install unifi-mcp-server

Fleet mode extras (Postgres, Redis):

pip install 'unifi-mcp-server[fleet]'

Or use the container image (amd64, arm64 and arm/v7; the -fleet variant for amd64 and arm64):

docker pull ghcr.io/enuno/unifi-mcp-server:latest
3. Add it to your MCP client

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows), Cursor (mcp.json, from View: Open MCP Settings) and most other MCP clients take the same mcpServers block:

{

"mcpServers": { "unifi": { "command": "uvx", "args": ["unifi-mcp-server"], "env": { "UNIFI_API_KEY": " ", "UNIFI_API_TYPE": "local", "UNIFI_LOCAL_HOST": "192.168.2.1" } } } }

If you installed with pip, use "command": "unifi-mcp-server" and drop args. To run the container instead:

{

"mcpServers": { "unifi": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "UNIFI_API_KEY=your-api-key-here", "-e", "UNIFI_API_TYPE=local", "-e", "UNIFI_LOCAL_HOST=192.168.2.1", "ghcr.io/enuno/unifi-mcp-server:latest" ] } } }

Keep -i and do not add -d: the client talks to the server over the container's stdin and stdout.

4. Main settings
VariablePurposeDefault
UNIFI_API_KEYUniFi API key (required)—
UNIFI_API_TYPElocal, cloud-ea or cloud-v1cloud-ea
UNIFI_LOCAL_HOST / UNIFI_LOCAL_PORTConsole address in local mode— / 443
UNIFI_LOCAL_VERIFY_SSLVerify the console's TLS certificate. false logs a warning at startuptrue
UNIFI_LOCAL_CA_FILECA certificate (PEM) for a self-signed console, instead of turning verification off. Can be the console's own certificate—
UNIFI_LOCAL_TLS_SERVER_NAMEName the console's certificate is checked against, when it is not UNIFI_LOCAL_HOST: unifi.local for UniFi OS's own certificate—
UNIFI_DEFAULT_SITESite used when a tool call names nonedefault
UNIFI_SITE_MANAGER_ENABLEDEnable the cloud tools (Site Manager, Mobility, InnerSpace, Carrier)false
UNIFI_PROFILERegister only one group of tools (profiles)all
UNIFI_READ_ONLY / UNIFI_DRY_RUNRead-only or preview-only serverfalse
DEBUGRegisters debug_api_request (raw GET/DELETE, destructive tier, removed by read-only). Leave unset in productionunset
MCP_SERVER_TRANSPORTstdio, streamable_http, http or ssestdio
MCP_AUTH_TOKENBearer token, required on network transports; viewer: (or operator:, admin:) limits a token's role—
REDIS_URLOptional response cache—
WEBHOOK_SECRETHMAC secret for incoming UniFi webhooks—
DATABASE_URLTurns on fleet mode (Postgres)—

.env.example lists every setting with comments, including audit logging, SIEM export, metrics, Supermemory and agnost.ai.

Agent skills

The skills/ directory holds agent skills: Markdown files an AI agent loads on demand, so it knows which UniFi tools exist and how to use them safely without keeping every tool definition in context. Each skill is a folder with a SKILL.md, in the layout Claude Code and other agents install.

Using the server (operator skills)

SkillCovers
unifi-networkClients, networks and VLANs, WiFi, DHCP, DNS, WAN, vouchers
unifi-devicesInventory, adoption, restarts and upgrades, ports, switching, topology
unifi-securityFirewall rules and groups, zone-based firewall, ACLs, port forwarding, VPN
unifi-systemSites, backups, QoS, traffic flows, DPI, RADIUS, guest portal
unifi-channel-planningLow-interference WiFi channel plans from neighbor scans

Changing this codebase (developer skills)

SkillCovers
unifi-mcp-tool-builderAdding any MCP tool: model, function, registration, tests, docs
unifi-network-config-toolsNetwork configuration tools: URL spaces, site IDs, read-modify-write
unifi-security-toolsFirewall, ZBF, ACL and port forward tools, and their risk tiers
unifi-protect-toolsThe protect_* modules and the Protect client
unifi-cloud-fleet-toolsCloud API tools and the fleet stack
Install

Claude Code loads skills from ~/.claude/skills/ /SKILL.md (every session) or /.claude/skills/ /SKILL.md (one project). Copy the folders you want:

git clone https://github.com/enuno/unifi

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

PopNxに聞く