What is Unifi MCP Server?
A Model Context Protocol (MCP) server that exposes the UniFi Network Controller API and is evolving into a multi-domain platform for Protect, Access, and enterprise-scale orchestration. It is designed for network operators and developers who need programmatic control over UniFi infrastructure.
How to use Unifi MCP Server?
Install via pip: pip install unifi-mcp-server. Set environment variables for API mode (e.g., UNIFI_API_TYPE=local) and transport (e.g., MCP_SERVER_TRANSPORT=stdio), then run unifi-mcp-server. For SSE mode, set MCP_SERVER_TRANSPORT=sse and expose a port.
Key features of Unifi MCP Server
- Device management (list, restart, locate, upgrade)
- Network, VLAN, DHCP, and WiFi configuration
- Client management with block/unblock and analytics
- Port profile and switch port configuration
- Firewall rules and ACL management
- Multi-site aggregation and cross-site statistics
- 220+ async tool functions across 40+ modules
Use cases of Unifi MCP Server
- Automate network configuration and updates across sites
- Monitor device, client, and bandwidth statistics in real time
- Manage firewall rules and access control lists programmatically
- Integrate UniFi management with AI assistants via MCP transport
- Orchestrate multi-site deployments with dry-run and audit logging
コメント