
sirkirby/unifi-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
UniFiアプリケーションスイートのMCPサーバー、Network、Protect、Access、Driveです
概要
エージェントやエージェント型AIワークフローを活用してUniFi展開を管理しましょう。 Cloud Relayは、CloudflareホストのWorkerゲートウェイとLAN上のRelayサイドカーをペアリングします。Workerは認証済みエッジMCPエンドポイント、Durable Object Broker、マルチロケーションルーティング、トークン境界、デプロイ/管理CLIを提供します。RelayサイドカーはローカルMCPのHTTPクライアント兼フォワーダーであり、HTTP経由で設定済みローカルMCPサーバーを検出し、ワーカーへのアウトバウンドWebSocketを維持します。リモートリクエストは、MCPクライアント→ワーカーゲートウェイ→アウトバウンドWebSocket→Relayサイドカー→HTTP経由のローカルMCPサーバーに続きます。APIサーバーはこのパスには含まれません。読み取り専用ツールは注釈ベースのマルチロケーションファンアウトをサポートし、書き込みは明示的なロケーションターゲティングが必要です。npm install -g unifi-mcp-worker && unifi-mcp-worker installでワーカーをデプロイし、その後RelayサイドカーREADMEを参照してローカルサーバーを接続します。 unifi-api-serverは、MCPを話さない消費者向けの独立したHTTPサービスです。
概要(AI 翻訳)
エージェントやエージェント型AIワークフローを活用してUniFi展開を管理しましょう。
サーバー
| サーバー | ステータス | ツール | パッケージ |
|---|---|---|---|
| ネットワーク | 安定 | 210 | unifi-network-mcp |
| 守る | 安定 | 63 | unifi-protect-mcp |
| アクセス | 安定 | 37 | unifi-access-mcp |
プラグイン
これらはClaude Code、Codex、OpenClawマーケットプレイスからインストールしてください。クイックスタートで手順が示されています。
| プラグイン | 手に入るもの |
|---|---|
unifi-network |
ネットワークMCPサーバー、そのエージェントスキルとガイド付きセットアップ |
unifi-protect |
Protect MCPサーバー、そのエージェントスキルとガイド付きセットアップ |
unifi-access |
アクセスMCPサーバー、そのエージェントスキルとガイド付きセットアップ |
unifi-intelligence |
ネットワークとProtectを組み合わせて使用し、すべての主張を引用するクロスプロダクト調査。インシデント調査はローカルで実施されます。セキュリティパトロールとビジター監査はクラウドワーカーを必要とします。ネットワークとプロテクトのプラグインが必要です |
エージェントスキルの表には、各プラグインが出荷するすべてのスキルが一覧化されています。
統合を選んでください
| あなたが作っているもの | 使う | なぜ |
|---|
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
UniFi MCP
Leverage agents and agentic AI workflows to manage your UniFi deployment.
Servers
| Server | Status | Tools | Package |
|---|---|---|---|
| Network | Stable | 210 | unifi-network-mcp |
| Protect | Stable | 63 | unifi-protect-mcp |
| Access | Stable | 37 | unifi-access-mcp |
Plugins
Install these from the Claude Code, Codex or OpenClaw marketplace; Quick Start shows how.
| Plugin | What you get |
|---|---|
unifi-network |
The Network MCP server, its agent skills and guided setup |
unifi-protect |
The Protect MCP server, its agent skills and guided setup |
unifi-access |
The Access MCP server, its agent skills and guided setup |
unifi-intelligence |
Cross-product investigations that use Network and Protect together, with every claim cited. Incident Investigation runs locally; Security Patrol and Visitor Audit need the cloud worker. It requires the Network and Protect plugins |
The Agent Skills table lists every skill each plugin ships.
Choose an integration
| What you are building | Use | Why |
|---|---|---|
| An AI assistant or another existing MCP client | Network, Protect, or Access MCP server | Standard MCP discovery, tool calls, permissions, and confirmation flows |
| A custom application, automation service, code-execution runtime, or MCP adapter | unifi-api-server |
Your code controls call sequencing, data joins, resource limits, and approval flow |
| Remote access for an MCP client | Cloud Relay | Authenticated remote MCP routing without exposing the local servers directly |
インストール
uvx unifi-network-mcp@latest設定
{
"mcpServers": {
"unifi-network": {
"command": "uvx",
"args": ["unifi-network-mcp@latest"],
"env": {
// Server-specific vars take priority; UNIFI_* is the fallback
"UNIFI_NETWORK_HOST": "192.168.1.1",
"UNIFI_NETWORK_USERNAME": "admin",
"UNIFI_NETWORK_PASSWORD": "your-password"
}
},
"unifi-protect": {
"command": "uvx",
"args": ["unifi-protect-mcp@latest"],
"env": {
"UNIFI_PROTECT_HOST": "192.168.1.1",
"UNIFI_PROTECT_USERNAME": "admin",
"UNIFI_PROTECT_PASSWORD": "your-password"
}
},
"unifi-access": {
"command": "uvx",
"args": ["unifi-access-mcp@latest"],
"env": {
"UNIFI_ACCESS_HOST": "192.168.1.1",
"UNIFI_ACCESS_USERNAME": "admin",
"UNIFI_ACCESS_PASSWORD": "your-password"
}
}
}
}