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

Tools

Functions exposed to the LLM to take actions

NameDescription
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

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