UISP

v1.0.2
io.github.WYRE-AI/uisp-mcp Checked 1 day ago Published 13 days ago

MCP server for Ubiquiti UISP's REST API - network/ISP infrastructure monitoring for MSPs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

uisp_list_sites

List sites (network locations - sites, endpoints, and clients - each optionally tied to a UCRM client/service record). Each site's `id` chains into uisp_get_site, uisp_list_site_clients, uisp_list_devices (siteId filter), and uisp_get_site_statistics.

ParameterTypeDescription
deviceIdstringFilter to the site containing this device ID.
idarrayFilter to specific site IDs.
ipstringFilter to the site whose endpoint has this IP address.
typestringFilter by site type.
ucrmbooleanOnly return sites linked to a UCRM client/service record.
ucrmDetailsbooleanInclude the linked UCRM client/service detail.

uisp_get_site

Get a single site's detail, including its status and (if linked) UCRM client/service reference.

ParameterTypeDescription
id *stringSite ID (from uisp_list_sites).
ucrmDetailsbooleanInclude the linked UCRM client/service detail.

uisp_search_sites

Search sites, endpoints, and clients by name, address, MAC address, or IP address.

ParameterTypeDescription
count *numberNumber of results per page.
page *numberPage number (1-indexed).
latitudenumberLatitude to bias/scope the search geographically.
longitudenumberLongitude to bias/scope the search geographically.
querystringSearch text.
typestringRestrict results to this site type.
ucrmbooleanOnly return results linked to a UCRM client/service record.

uisp_list_site_clients

List all client sites belonging to a given (parent) site.

ParameterTypeDescription
id *stringParent site ID (from uisp_list_sites).

uisp_get_site_statistics

Get upload/download traffic between a site and its parent site, bucketed by interval.

ParameterTypeDescription
interval *stringTime bucket for the traffic figures.
siteId *stringSite ID (from uisp_list_sites).

uisp_get_site_traffic_summary

Get a site's total upload/download for the given interval up to now.

ParameterTypeDescription
interval *stringTime bucket for the traffic figures.
siteId *stringSite ID (from uisp_list_sites).

uisp_list_devices

List devices (hostname/IP/MAC, status, parent site), optionally filtered by site/type/role/authorization. Each device's `id` chains into uisp_get_device, uisp_get_device_detail, uisp_get_device_statistics, and uisp_list_device_interfaces.

ParameterTypeDescription
authorizedbooleanFilter to authorized (true) or pending-authorization (false) devices.
rolearrayFilter by device role.
siteIdstringFilter to devices at this site (from uisp_list_sites).
typearrayFilter by device type.
withInterfacesbooleanInclude each device's interfaces in the response.

uisp_get_device

Get a single device's status overview by ID.

ParameterTypeDescription
id *stringDevice ID (from uisp_list_devices).

uisp_get_device_detail

Get a single device's detail, optionally including its interfaces and/or connected stations.

ParameterTypeDescription
id *stringDevice ID (from uisp_list_devices).
withStationsbooleanInclude the device's connected wireless stations.

uisp_get_device_statistics

Get device telemetry (CPU/RAM/signal/temperature/throughput) bucketed by interval.

ParameterTypeDescription
id *stringDevice ID (from uisp_list_devices).
interval *stringTime bucket for the statistics.

uisp_list_device_interfaces

List a device's network interfaces, including their configured IP addresses and status.

ParameterTypeDescription
deviceId *stringDevice ID (from uisp_list_devices).

uisp_get_device_by_mac

Look up a device by its MAC address.

ParameterTypeDescription
mac *stringDevice MAC address, e.g. 78:8a:20:5f:2a:ff.

uisp_list_discovered_devices

List devices UISP has discovered on the network but which have not yet been added.

uisp_list_outages

List network outages - UISP's alerting surface - each tied to a site and device. Filter by device, type (outage/unreachable), a text query, or in-progress state.

ParameterTypeDescription
count *numberNumber of results per page.
page *numberPage number (1-indexed).
deviceIdstringFilter to outages for this device ID.
inProgressbooleanFilter to outages that are still ongoing.
periodnumberRestrict to outages within the last N days.
querystringText search across outage records.
typestringFilter by outage type.

uisp_list_logs

List the UISP event/audit log (e.g. logins, device state changes, backups, upgrades). Log messages can embed device MAC/IP addresses. Filter by site, device, severity level, event tag, or a text query.

ParameterTypeDescription
count *numberNumber of results per page.
page *numberPage number (1-indexed).
deviceIdarrayFilter to log items for these device IDs.
levelstringFilter by severity level.
periodnumberRestrict to log items within the last N days.
querystringText search across log messages.
siteIdstringFilter to log items for this site.
tagstringFilter by event tag/category.

uisp_list_gateways

List gateways - routers configured as network gateways - and their NetFlow/QoS/suspend configuration.

uisp_get_gateway

Get a single gateway's detail by ID.

ParameterTypeDescription
id *stringGateway ID (from uisp_list_gateways).

uisp_list_tasks

List background tasks (e.g. firmware upgrades, backups, mass operations) and their status.

ParameterTypeDescription
count *numberNumber of results per page.
page *numberPage number (1-indexed).
periodnumberRestrict to tasks within the last N days.
statusstringFilter by task status.

uisp_get_tasks_in_progress

Get the number of tasks currently in progress.

uisp_list_firmwares

Get the firmware versions available to UISP for its supported device models.

uisp_get_speed_tests

Get detail about running and recent speed tests.

uisp_get_version

Get the UISP version, deployment type and build info. Useful as a credential/connectivity sanity check.

uisp_get_network_statistics

Get network-wide statistics: client/site counts, network health, signal/link/ISP scores, data-link and uplink/downlink utilization, and outage counts.

ParameterTypeDescription
interval *stringTime bucket for the statistics.
siribooleanInclude the SIRI (Signal Interference Ratio Index) score. Defaults to false.

uisp_get_summary

Get badge-count-like values across the instance: unread logs/outages/firmwares, active/all client and site counts, devices needing authorization, firmware up-to-dateness. Each *Timestamp param scopes that count to items newer than the given epoch-ms timestamp — pass 0 for the instance's current totals.

ParameterTypeDescription
logsLevel *arrayWhich log severities to count toward logsUnreadCount.
firmwaresTimestampnumberEpoch-ms timestamp; only firmwares newer than this count toward firmwaresUnreadCount.
logsTimestampnumberEpoch-ms timestamp; only logs newer than this count toward logsUnreadCount.
outagesTimestampnumberEpoch-ms timestamp; only outages newer than this count toward outagesUnreadCount.