UniFi MCP Server
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 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_devicesB | Get all UniFi network devices (access points, switches, gateways) |
| restart_deviceB | Restart a UniFi network device by its MAC address |
| get_clientsC | Get all currently connected clients on the UniFi network |
| block_clientC | Block a client from accessing the network |
| unblock_clientB | Unblock a previously blocked client |
| disconnect_clientC | Force disconnect a client from the network |
| get_sitesB | Get all UniFi sites configured on the controller |
| get_site_healthB | Get health status for the current site |
| get_networksB | Get all network configurations for the current site |
| get_device_activityC | 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 | |
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/nntkio/unifiMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server