unifi-mcp-server
Verified Safeby 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
docker-compose up -dEnvironment 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
mcphub
A centralized hub for managing, orchestrating, and exposing Model Context Protocol (MCP) servers and their tools/prompts, including OAuth authorization, user/group management, and dynamic registration of clients.
tmcp
OAuth 2.1 authorization helper for Model Context Protocol (MCP) servers.
unifi-network-mcp
Programmatically manage and monitor a UniFi Network Controller, enabling automation, custom workflows, and data processing.
advanced-homeassistant-mcp
A Model Context Protocol (MCP) server that enables AI assistants to seamlessly interact with Home Assistant for natural language smart home control.