Skip to main content
Glama
nntkio

UniFi MCP Server

by nntkio

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UNIFI_HOSTYesUniFi Controller URL (e.g., https://192.168.1.1)
UNIFI_SITENoUniFi site namedefault
UNIFI_PASSWORDYesUniFi Controller password
UNIFI_USERNAMEYesUniFi Controller username
UNIFI_VERIFY_SSLNoVerify SSL certificates (true/false)true
UNIFI_IS_UNIFI_OSNoUsing 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

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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