MCPサーバー UniFi
MCP(Management Control Protocol)を介してUniFiネットワークデバイスを管理・制御するためのサーバー実装。このサーバーは、UniFi Network APIをラップすることで、GooseやClaudeなどのAIエージェントを使用してUniFiネットワークとの自然言語によるインタラクションを可能にします。
特徴
AIエージェントを通じて自然言語を使用してUniFiサイトとデバイスをクエリする
UniFi Networkアプリケーションに接続するローカルサーバーの実装
Goose AIとClaude Desktopの両方と互換性があります
安全なAPIキーベースの認証
前提条件
Python 3.8以上
uv
パッケージマネージャーUniFiネットワークアプリケーション
UniFi APIキー(UniFiコンソールから取得)
設定
API キーを作成します。
https://unifi.ui.comで UniFi コンソールにアクセスします。
「設定」>「コントロールプレーン」>「統合」に移動します
「APIキーを作成」をクリックします
リポジトリをクローンしてセットアップします。
依存関係をインストールします:
環境変数を設定します。
サーバーの実行
MCP 開発サーバーを起動します。
MCP インスペクターは、テストとデバッグのためにhttp://localhost:5173で利用できます。
AIエージェント統合
ガチョウAIのセットアップ
Gooseを開き、「設定」>「拡張機能」>「カスタム拡張機能を追加」に移動します
拡張機能を設定します。
ID: ユニフィ
名前: ユニフィ
説明: UniFiネットワークに関する情報を取得します
コマンド:
/Users/username/.local/bin/uv --directory /path/to/mcp-server-unifi run main.py
環境変数: UNIFI_API_KEY を API キーに設定します
クロードデスクトップセットアップ
Claudeを開き、「設定」>「開発者」>「設定の編集」に移動します
claude_desktop_config.json
に追加します:
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Goose や Claude などの AI エージェント用の UniFi Network API をラップすることで、UniFi ネットワーク デバイスとの自然言語による対話を可能にするサーバー実装。
Related MCP Servers
- -securityFlicense-qualityA protocol server that bridges AI assistants with Unity projects, allowing them to analyze code, parse scenes, generate scripts, and perform other Unity operations through specialized tools.Last updated -
- AsecurityFlicenseAqualityA modern AI service proxy that enables interaction with multiple AI providers (Anthropic Claude, OpenAI) through a unified API, deployed globally using Cloudflare Workers.Last updated -540
- -securityFlicense-qualityA unified API server that enables interaction with multiple AI model providers like Anthropic and OpenAI through a consistent interface, supporting chat completions, tool calling, and context handling.Last updated -
- -securityAlicense-qualityA server that integrates Confluence with Claude Desktop and other AI assistants, enabling natural language interactions with your Confluence documentation.Last updated -2MIT License