[Testing] Integration with UniFi controller #6

Closed
opened 2026-01-01 20:07:05 -06:00 by b3nw · 0 comments
Owner

Overview

Test the complete system against a real UniFi controller.

Results

Completed Tests

  • Test authentication flow - PASS (fixed UniFi OS auth endpoint)
  • Test UniFi OS detection - PASS (detects proxy path correctly)
  • Test all 4 specific tools - PASS
    • unifi_list_clients - 149 clients returned
    • unifi_list_devices - 15 devices (USW Ultra, UAP-AC-Pro, etc.)
    • unifi_get_system_info - Version 10.1.67, Home-UCG-Fiber
    • unifi_get_network_health - wlan/wan/www/lan all ok
  • Test unifi_tool_index - PASS (returns all 5 tools)
  • Test unifi_api_call with GET - PASS (raw API works)
  • Test health endpoint - PASS (returns controller status)
  • Test Docker deployment - PASS (network_mode: host for local access)

Deferred Tests

  • Test write protection blocks writes (read-only mode working)
  • Test unifi_api_call with writes when enabled
  • Test with Claude Desktop

Key Fix

UniFi OS (UDM, Cloud Gateway) uses /api/auth/login not /api/login. Fixed in commit 487f535.

## Overview Test the complete system against a real UniFi controller. ## Results ### Completed Tests - [x] Test authentication flow - **PASS** (fixed UniFi OS auth endpoint) - [x] Test UniFi OS detection - **PASS** (detects proxy path correctly) - [x] Test all 4 specific tools - **PASS** - `unifi_list_clients` - 149 clients returned - `unifi_list_devices` - 15 devices (USW Ultra, UAP-AC-Pro, etc.) - `unifi_get_system_info` - Version 10.1.67, Home-UCG-Fiber - `unifi_get_network_health` - wlan/wan/www/lan all ok - [x] Test `unifi_tool_index` - **PASS** (returns all 5 tools) - [x] Test `unifi_api_call` with GET - **PASS** (raw API works) - [x] Test health endpoint - **PASS** (returns controller status) - [x] Test Docker deployment - **PASS** (network_mode: host for local access) ### Deferred Tests - [ ] Test write protection blocks writes (read-only mode working) - [ ] Test `unifi_api_call` with writes when enabled - [ ] Test with Claude Desktop ## Key Fix UniFi OS (UDM, Cloud Gateway) uses `/api/auth/login` not `/api/login`. Fixed in commit 487f535.
b3nw closed this issue 2026-01-01 20:50:10 -06:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: b3nw/unifi-mcp-light#6