Skip to main content
Glama
UniFi Agent MCP
by mikomiel

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UNIFI_MCP_PORTNoThe loopback port the enabled MCP binds to. Default is 8080.8080
UNIFI_BROKER_URLNoThe Privilege Broker URL used for firewall request approval.
UNIFI_NETWORK_URLYesThe controller's HTTPS Integration API base URL, such as https://controller.example.test/proxy/network/integration.
UNIFI_BROKER_CA_FILENoOptional path to the broker CA file for the caller's broker mTLS identity.
UNIFI_MCP_READ_TOKENNoA distinct, high-entropy read token that grants inspection when firewall requests are enabled.
UNIFI_NETWORK_API_KEYYesThe inspection key for the UniFi Network Integration API, provided in the MCP launch environment.
UNIFI_MCP_REQUEST_TOKENNoA distinct, high-entropy request token that can submit and inspect operator-approved create, edit, and delete requests when firewall requests are enabled.
UNIFI_FIREWALL_SCOPE_FILENoPath to a JSON file containing a non-empty targets array. Each target names site_id, source_zone, and destination_zone UUIDs. Optional protected_policy_ids may name rules to protect.
UNIFI_BROKER_CLIENT_KEY_FILENoPath to the caller's broker mTLS client private key file.
UNIFI_BROKER_CLIENT_CERT_FILENoPath to the caller's broker mTLS client certificate file.
UNIFI_NETWORK_TIMEOUT_SECONDSNoTimeout in seconds per controller call, from 1 to 60. Default is 10.10
UNIFI_NETWORK_PINNED_CERT_FILENoPath to the verified controller leaf certificate for a self-signed deployment. TLS uses the system trust store by default.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources