unifi-safe-mcp
UniFi Safe MCP
UniFi Network に特化した読み取り専用の MCP サーバーで、ヘルス、デバイス、アクティブクライアントのビューを制限付きで提供します。spectrenet-mcp のコミット 2e63f009d8f4642e17398685baef0251811d6637 から抽出されたもので、このリポジトリは自己完結型です。
安全契約
読み取りツールは
network_health、devices、clientsの3つのみ。設定、コマンド、採用、再起動、ブロック、その他の変更ツールはありません。アプライアンスデータのリクエストは HTTP
GETのみを使用します(認証は必然的にPOST /api/auth/loginを使用します)。TLS 証明書とホスト名の検証はデフォルトで有効です。
認証およびアプライアンスデータのリダイレクトは、フォローせず拒否されます。
設定されたサイトは1つの URL パスセグメントとしてエンコードされ、エンドポイントのサフィックスはクローズド許可リストに登録されています。
HTTP レスポンスのバイト数、返されるリストの長さ、投影フィールド、監査フィールドは制限されています。
資格情報と完全なレスポンスは監査されません。
Related MCP server: UniFi MCP Server
互換性
これは、最新の UniFi OS アプライアンスで確認された UniFi OS コンソールプロキシパス /api/auth/login と /proxy/network/api/s/{site}/... を対象としています。古い自己ホスト型の UniFi Network Controller は通常 /api/login と非プロキシの /api/s/... を使用しますが、これらはサポートされていません。Ubiquiti はアプライアンスと Network Application のバージョン間でプライベート/内部エンドポイントを変更します。認定されたバージョンマトリックスはありません。このアルファ版を、非本番環境でお使いの正確なコンソールファームウェアと Network Application バージョンに対してテストし、アップグレードは運用上固定してください。
インストールと実行
uv sync --extra test
uv run unifi-safe-mcp --help
uv run unifi-safe-mcpサーバーは MCP stdio を使用し、.env を読み込みません。.env.example はダミーのドキュメントとしてのみ扱い、専用の読み取り専用アカウントをスーパーバイザー/シークレットマネージャーを通じて注入してください。
検証
uv sync --locked --extra test
uv run --locked pytest
uv run --locked python -m compileall -q src tests
uv buildMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to manage and monitor UniFi Network Controllers through natural language. Provides 25 read-only tools for discovering devices and clients, viewing security configurations, analyzing network statistics, and exporting configuration data.41MIT
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive management of UniFi Network infrastructure through 24 tools for monitoring and controlling devices, clients, wireless networks, security, and guest access. Supports network administration tasks like device restarts, client blocking, WLAN configuration, and backup creation.36MIT
- AlicenseAqualityAmaintenanceUniFi semantic-analysis MCP — 54 tools on Site Manager API and Cloud Connector. 8 workflow Prompts (4 fleet-ops + 4 MSP). Read-only.19982MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Ubiquiti UISP API for managing network devices, sites, and monitoring through dynamically generated read-only tools.1MIT
Related MCP Connectors
XFA's remote MCP server — query device posture, compliance, policies & CVEs. Read-only.
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
Read-only Remote MCP for externally grounded AI agent trust receipts.
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/bgauger/unifi-safe-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server