Back to Home
enuno icon

unifi-mcp-server

Verified Safe

by enuno

Overview

A Model Context Protocol (MCP) server exposing the UniFi Network Controller API, enabling AI agents and applications to interact with UniFi network infrastructure in a standardized way.

Installation

Run Command
docker-compose up -d

Environment Variables

  • UNIFI_API_KEY
  • UNIFI_API_TYPE
  • UNIFI_CLOUD_API_URL
  • UNIFI_LOCAL_HOST
  • UNIFI_LOCAL_PORT
  • UNIFI_LOCAL_VERIFY_SSL
  • UNIFI_DEFAULT_SITE
  • UNIFI_SITE_MANAGER_ENABLED
  • UNIFI_RATE_LIMIT_REQUESTS
  • UNIFI_RATE_LIMIT_PERIOD
  • UNIFI_MAX_RETRIES
  • UNIFI_RETRY_BACKOFF_FACTOR
  • UNIFI_REQUEST_TIMEOUT
  • UNIFI_CACHE_ENABLED
  • UNIFI_CACHE_TTL
  • LOG_LEVEL
  • LOG_API_REQUESTS
  • UNIFI_AUDIT_LOG_ENABLED
  • AGNOST_ENABLED
  • AGNOST_ORG_ID
  • AGNOST_ENDPOINT
  • AGNOST_DISABLE_INPUT
  • AGNOST_DISABLE_OUTPUT
  • REDIS_HOST
  • REDIS_PORT
  • REDIS_DB
  • REDIS_PASSWORD
  • WEBHOOK_SECRET
  • MCP_SERVER_PORT
  • TOOLBOX_VERSION
  • TOOLBOX_PORT
  • TOOLBOX_SERVICE_NAME

Security Notes

The server demonstrates good security practices by loading API keys and secrets from environment variables, enforcing SSL verification for cloud APIs (and configurable for local), implementing rate limiting, and including webhook signature verification. No 'eval' or obvious malicious patterns were found. Audit logging is enabled by default for mutating operations. The primary risk is granting the server access to sensitive network configuration via the UniFi API key, which is inherent to its function.

Similar Servers

Stats

Interest Score40
Security Score9
Cost ClassLow
Avg Tokens50
Stars8
Forks0
Last Update2025-12-02

Tags

AI AgentNetwork ManagementUniFiAPIAutomationIoTSmart Home