MCP Server UniFi
MCPサーバー UniFi
MCP(Management Control Protocol)を介してUniFiネットワークデバイスを管理・制御するためのサーバー実装。このサーバーは、UniFi Network APIをラップすることで、GooseやClaudeなどのAIエージェントを使用してUniFiネットワークとの自然言語によるインタラクションを可能にします。
特徴
AIエージェントを通じて自然言語を使用してUniFiサイトとデバイスをクエリする
UniFi Networkアプリケーションに接続するローカルサーバーの実装
Goose AIとClaude Desktopの両方と互換性があります
安全なAPIキーベースの認証
Related MCP server: UnifiyMe
前提条件
Python 3.8以上
uvパッケージマネージャーUniFiネットワークアプリケーション
UniFi APIキー(UniFiコンソールから取得)
設定
API キーを作成します。
https://unifi.ui.comで UniFi コンソールにアクセスします。
「設定」>「コントロールプレーン」>「統合」に移動します
「APIキーを作成」をクリックします
リポジトリをクローンしてセットアップします。
git clone https://github.com/zcking/mcp-server-unifi
cd mcp-server-unifi
uv venv
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows依存関係をインストールします:
uv sync環境変数を設定します。
export UNIFI_API_KEY="your_api_key_here"サーバーの実行
MCP 開発サーバーを起動します。
uv run mcp dev main.pyMCP インスペクターは、テストとデバッグのために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に追加します:
{
"mcpServers": {
"unifi": {
"command": "/Users/username/.local/bin/uv",
"args": [
"--directory",
"/path/to/mcp-server-unifi",
"run",
"main.py"
]
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server that turns Claude into a UniFi network specialist. Manage devices, optimize WiFi, audit security, and troubleshoot your network through natural language.31362MIT
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol (MCP) server for UniFi Network Controllers that enables LLMs to interact with UniFi infrastructure for monitoring and control.MIT
- AlicenseAqualityDmaintenanceControl your UniFi network via AI with a lightweight 2-tool MCP server that supports both cloud and local UniFi controllers.312MIT
- AlicenseBqualityDmaintenanceAn MCP server that enables AI assistants to manage UniFi network infrastructure, including cloud management, local network devices, and Protect cameras, through natural language.62MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
GibsonAI MCP server: manage your databases with natural language
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zcking/mcp-server-unifi'
If you have feedback or need assistance with the MCP directory API, please join our Discord server