UniFi Site Manager and Network (unofficial)
Unofficial MCP server for the UniFi Site Manager and Network cloud APIs, with a write-confirm guard.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
the-real-unifi-mcpclaude mcp add unifi-site-manager-and-network-unofficia -e 'UNIFI_API_KEY=<your unifi_api_key>' -e 'UNIFI_CONFIRM_WRITES=true' -e 'UNIFI_API_BASE=https://api.ui.com' -e 'UNIFI_TIMEOUT_MS=30000' -e 'UNIFI_LOG_LEVEL=info' -e 'UNIFI_CONSOLE_ID=<UNIFI_CONSOLE_ID>' -e 'UNIFI_NETWORK_SITE_ID=<UNIFI_NETWORK_SITE_ID>' -e 'UNIFI_SITE_MANAGER_SITE_ID=<UNIFI_SITE_MANAGER_SITE_ID>' -- npx -y the-real-unifi-mcp@0.2.1
{
"mcpServers": {
"unifi-site-manager-and-network-unofficia": {
"command": "npx",
"args": [
"-y",
"the-real-unifi-mcp@0.2.1"
],
"env": {
"UNIFI_API_KEY": "<your unifi_api_key>",
"UNIFI_CONFIRM_WRITES": "true",
"UNIFI_API_BASE": "https://api.ui.com",
"UNIFI_TIMEOUT_MS": "30000",
"UNIFI_LOG_LEVEL": "info",
"UNIFI_CONSOLE_ID": "<UNIFI_CONSOLE_ID>",
"UNIFI_NETWORK_SITE_ID": "<UNIFI_NETWORK_SITE_ID>",
"UNIFI_SITE_MANAGER_SITE_ID": "<UNIFI_SITE_MANAGER_SITE_ID>"
}
}
}
}
Variables d'environnement
UNIFI_API_KEYobligatoire secret UniFi Site Manager API key with Network scope (unifi.ui.com, Settings > API). It controls your whole network: treat it like an admin password.UNIFI_CONFIRM_WRITESWrite confirmation: destructive tools return a preview and run only when called again with confirm "YES". Only false, 0, no or off turn it off.UNIFI_API_BASEAPI base URL; this host receives the API key. https origin only (http only for loopback test stubs). Keep the default.UNIFI_TIMEOUT_MSPer-request timeout in milliseconds, covering response headers and body.UNIFI_LOG_LEVELLog level on stderr: debug, info, warn or error.UNIFI_CONSOLE_IDPins the UniFi console instead of discovering it (needed when the account has several consoles).UNIFI_NETWORK_SITE_IDPins the Network site instead of discovering it.UNIFI_SITE_MANAGER_SITE_IDPins the Site Manager site instead of discovering it.
Questions fréquentes
Qu'est-ce que UniFi Site Manager and Network (unofficial) ?
Unofficial MCP server for the UniFi Site Manager and Network cloud APIs, with a write-confirm guard.
Comment installer UniFi Site Manager and Network (unofficial) ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add unifi-site-manager-and-network-unofficia -e 'UNIFI_API_KEY=<your unifi_api_key>' -e 'UNIFI_CONFIRM_WRITES=true' -e 'UNIFI_API_BASE=https://api.ui.com' -e 'UNIFI_TIMEOUT_MS=30000' -e 'UNIFI_LOG_LEVEL=info' -e 'UNIFI_CONSOLE_ID=<UNIFI_CONSOLE_ID>' -e 'UNIFI_NETWORK_SITE_ID=<UNIFI_NETWORK_SITE_ID>' -e 'UNIFI_SITE_MANAGER_SITE_ID=<UNIFI_SITE_MANAGER_SITE_ID>' -- npx -y the-real-unifi-mcp@0.2.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour UniFi Site Manager and Network (unofficial) ?
Oui. Il attend UNIFI_API_KEY, à renseigner dans sa configuration.
UniFi Site Manager and Network (unofficial) est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient UniFi Site Manager and Network (unofficial) ?
Il est publié par mguttmann. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.