Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| UNIFI_HOST | Yes | UniFi Controller URL (e.g., https://192.168.1.1) | |
| UNIFI_SITE | No | UniFi site name | default |
| UNIFI_PASSWORD | Yes | UniFi Controller password | |
| UNIFI_USERNAME | Yes | UniFi Controller username | |
| UNIFI_VERIFY_SSL | No | Verify SSL certificates (true/false) | true |
| UNIFI_IS_UNIFI_OS | No | Using UniFi OS device like UDM/UDM Pro (true/false) | false |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_devices | Get all UniFi network devices (access points, switches, gateways) |
| restart_device | Restart a UniFi network device by its MAC address |
| get_clients | Get all currently connected clients on the UniFi network |
| block_client | Block a client from accessing the network |
| unblock_client | Unblock a previously blocked client |
| disconnect_client | Force disconnect a client from the network |
| get_sites | Get all UniFi sites configured on the controller |
| get_site_health | Get health status for the current site |
| get_networks | Get all network configurations for the current site |
| get_device_activity | Get activity for a specific device including connected clients and their traffic |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |