clr-unifi-mcp

v1.0.0
clr-unifi-mcp Checked 3 days ago Published 3 months ago

A read-only MCP server for UniFi Network

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

unifi_get_sysinfo

Get UniFi controller system information. Returns controller version, hostname, timezone, and other system details.

unifi_get_health

Get UniFi site health status. Returns status for each subsystem (wan, wlan, lan, vpn) including client counts, adopted device counts, and overall status.

unifi_list_devices

List all UniFi devices (APs, switches, gateways). Returns each device with name, model, IP, state, uptime (hours), and connected client count.

unifi_get_device

Get full details for a specific UniFi device. Args: identifier: Device name or MAC address to search for. Returns: The complete device object with all fields. Raises: ValueError: If no device matches the identifier.

ParameterTypeDescription
identifier *string

unifi_list_clients

List all active connected clients (wireless + wired). Returns each client with hostname, IP, MAC, connection type, AP name, signal strength, and data rates.

unifi_get_client

Get full details for a specific connected client. Args: identifier: Hostname, IP address, or MAC address to search for. Returns: The complete client object with all fields. Raises: ValueError: If no client matches the identifier.

ParameterTypeDescription
identifier *string

unifi_list_alerts

List recent UniFi alarms/alerts. Args: limit: Maximum number of alerts to return (default 20). Returns alerts sorted by most recent, with time, key, message, and device name.

ParameterTypeDescription
limitinteger

unifi_list_events

List recent UniFi events. Args: limit: Maximum number of events to return (default 20). Returns events sorted by most recent with time, key, and message.

ParameterTypeDescription
limitinteger

unifi_top_apps

Get top applications by bandwidth usage (DPI data). Args: limit: Number of top apps to return (default 10). Returns apps sorted by total traffic (rx + tx) in GB.

ParameterTypeDescription
limitinteger

unifi_client_dpi

Get per-client DPI (Deep Packet Inspection) bandwidth stats. Args: identifier: Client MAC address. Returns: App-level traffic breakdown for the client. Raises: ValueError: If no DPI data exists for the given MAC address.

ParameterTypeDescription
identifier *string

unifi_list_networks

List all configured networks (VLANs, subnets). Returns network name, VLAN ID, subnet, purpose, DHCP status, and domain name.

unifi_list_wlans

List all configured WLANs/SSIDs. Returns SSID name, enabled status, security mode, band, and VLAN.

unifi_list_port_forwards

List configured port forwarding rules. Returns rule name, enabled status, protocol, destination, and ports.

unifi_list_firewall_rules

List user-configured firewall rules. Returns rule name, enabled status, action, protocol, and source/destination.

unifi_list_firewall_groups

List firewall groups (address groups, port groups). Returns group name, type, and members.

unifi_list_routes

List active routes on the UniFi gateway.

unifi_list_rogue_aps

List detected rogue/neighboring APs. Args: limit: Maximum number of rogue APs to return (default 20). Returns AP BSSID, SSID, channel, signal, and last seen time.

ParameterTypeDescription
limitinteger

unifi_get_dyndns

Get Dynamic DNS status.

unifi_check_snmp

Audit SNMP contact/location configuration on all devices. Returns a summary of devices with and without SNMP fields configured, plus a per-device breakdown.

unifi_list_port_profiles

List switch port profiles.

unifi_list_radius_profiles

List RADIUS profiles.

unifi_dashboard

Get a comprehensive network dashboard overview. Returns a composite view with system info, health, device summary, client summary, top clients by traffic, networks, WLANs, port forwards, and recent alarms. Useful for a quick overview of the entire UniFi deployment.