Skip to main content
Glama

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コンソールから取得)

設定

  1. API キーを作成します。

    • https://unifi.ui.comで UniFi コンソールにアクセスします。

    • 「設定」>「コントロールプレーン」>「統合」に移動します

    • 「APIキーを作成」をクリックします

  2. リポジトリをクローンしてセットアップします。

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
  1. 依存関係をインストールします:

uv sync
  1. 環境変数を設定します。

export UNIFI_API_KEY="your_api_key_here"

サーバーの実行

MCP 開発サーバーを起動します。

uv run mcp dev main.py

MCP インスペクターは、テストとデバッグのためにhttp://localhost:5173で利用できます。

AIエージェント統合

ガチョウAIのセットアップ

  1. Gooseを開き、「設定」>「拡張機能」>「カスタム拡張機能を追加」に移動します

  2. 拡張機能を設定します。

    • ID: ユニフィ

    • 名前: ユニフィ

    • 説明: UniFiネットワークに関する情報を取得します

    • コマンド: /Users/username/.local/bin/uv --directory /path/to/mcp-server-unifi run main.py

    • 環境変数: UNIFI_API_KEY を API キーに設定します

クロードデスクトップセットアップ

  1. Claudeを開き、「設定」>「開発者」>「設定の編集」に移動します

  2. claude_desktop_config.jsonに追加します:

{
    "mcpServers": {
        "unifi": {
            "command": "/Users/username/.local/bin/uv",
            "args": [
                "--directory",
                "/path/to/mcp-server-unifi",
                "run",
                "main.py"
            ]
        }
    }
}
Install Server
A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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