sirkirby/unifi-mcp
MCP servers & Graph API for the UniFi suite of applications, Network, Protect, and Access
784d3112ce7dunifi-mcp0.0.0 in pyproject.tomlio.github.sirkirby/unifi-access-mcp io.github.sirkirby/unifi-network-mcpPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 2,422 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 41 of 399 tools, prompts and resources could not be followed through the code
- 7 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 64 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 328 tools, 7 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
unifi_get_client_statsinnerspace_get_project, innerspace_list_access_points, innerspace_list_floor_plans, innerspace_list_inventory, innerspace_list_placed_devices, innerspace_list_switches and 17 moreaccess_create_visitor, access_delete_visitor, unifi_create_traffic_route, unifi_get_client_stats, unifi_get_device_stats, unifi_list_blocked_clients and 13 moreaccess_create_visitor, access_delete_visitor, unifi_create_traffic_route, unifi_get_client_stats, unifi_get_device_stats, unifi_list_blocked_clients and 13 moreaccess_create_visitor, access_delete_visitor, unifi_create_traffic_route, unifi_get_client_stats, unifi_get_device_stats, unifi_list_blocked_clients and 13 moreNo tool was seen to: connect to the internet or other hosts.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files1 tool · unifi_get_client_stats
Tool annotations
321 of 335 tools declare annotations. readOnlyHint 174, destructiveHint 39, idempotentHint 275.
Tools, prompts and resources (335: 328 tools, 7 resources)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
Access Event Streamresource Real-time UniFi Access events from the event buffer. Returns a JSON array of recent events (newest first). Poll this resource to monitor for door opens, denials
Real-time UniFi Access events from the event buffer. Returns a JSON array of recent events (newest first). Poll this resource to monitor for door opens, denials, and other events.
Access Event Stream Summaryresource Summary statistics for the event buffer: total count and breakdown by event type. Lightweight alternative to reading the full event stream.
Summary statistics for the event buffer: total count and breakdown by event type. Lightweight alternative to reading the full event stream.
Camera Snapshotresource Live JPEG snapshot from a UniFi Protect camera. Replace {camera_id} with the camera's ID (discover IDs via the protect://cameras/snapshots index resource or the
Live JPEG snapshot from a UniFi Protect camera. Replace {camera_id} with the camera's ID (discover IDs via the protect://cameras/snapshots index resource or the protect_list_cameras tool).Camera Snapshot Indexresource JSON index of all cameras available for snapshot capture. Each entry includes the camera ID, name, connection state, and the resource URI to fetch its snapshot.
JSON index of all cameras available for snapshot capture. Each entry includes the camera ID, name, connection state, and the resource URI to fetch its snapshot.
Protect Event Streamresource Real-time UniFi Protect events from the websocket buffer. Returns a JSON array of recent events (newest first). Poll this resource to monitor for motion, smart
Real-time UniFi Protect events from the websocket buffer. Returns a JSON array of recent events (newest first). Poll this resource to monitor for motion, smart detections, rings, and other events.
Protect Event Stream Summaryresource Summary statistics for the event buffer: total count, breakdown by event type, and breakdown by camera. Lightweight alternative to reading the full event stream
Summary statistics for the event buffer: total count, breakdown by event type, and breakdown by camera. Lightweight alternative to reading the full event stream.
uri_templateresource
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
access_create_credentialtool Create a new access credential (NFC card, PIN, or mobile credential) and assign it to a user. Requires confirm=true to execute. Only available via local proxy s
Create a new access credential (NFC card, PIN, or mobile credential) and assign it to a user. Requires confirm=true to execute. Only available via local proxy session.
access_create_visitortool Create a visitor pass in the UniFi Access Developer API. The returned UUID is scoped to the Access Developer API visitor tool family — use it only with access_gCredentialsEnv varsSensitive paths
Create a visitor pass in the UniFi Access Developer API. The returned UUID is scoped to the Access Developer API visitor tool family — use it only with access_get_visitor and access_delete_visitor. Requires a UniFi Access API token and confirm=true to execute.
access_delete_visitortool Delete a visitor pass through the UniFi Access Developer API, revoking its access; the controller retains a cancelled historical record. The UUID must come fromCredentialsEnv varsSensitive pathsdestructive (declared)
Delete a visitor pass through the UniFi Access Developer API, revoking its access; the controller retains a cancelled historical record. The UUID must come from access_list_visitors and is scoped to this visitor tool family — do not pass IDs from other Access user or credential tools. Requires an Access API token and confirm=true.
access_get_activity_summarytool Get an aggregated activity summary for Access events over a time period. Shows event counts, breakdowns by type, and trends. Optionally scope to a single door. read-only (declared)
Get an aggregated activity summary for Access events over a time period. Shows event counts, breakdowns by type, and trends. Optionally scope to a single door. Only available via local proxy session.
access_get_credentialtool Returns detailed information for a single access credential including type, status, assigned user, and creation date.read-only (declared)
Returns detailed information for a single access credential including type, status, assigned user, and creation date.
access_get_devicetool Returns detailed information for a single Access device including name, type, connection state, firmware version, MAC, and IP address.read-only (declared)
Returns detailed information for a single Access device including name, type, connection state, firmware version, MAC, and IP address.
access_get_device_configstool Returns a device's settings (its configs[] array) — the per-device settings the Access web UI edits, such as the reader voice greeting. Each entry is a {key, varead-only (declared)
Returns a device's settings (its configs[] array) — the per-device settings the Access web UI edits, such as the reader voice greeting. Each entry is a {key, value, tag} record; tags group entries by category (device_setting, device_extra, hub_action, hub_power, wiring_state, credential). Credential-tagged and secret-named values are redacted. Use this to discover the exact keys before calling access_update_device_config. Only available via local proxy session.access_get_doortool Returns detailed information for a single door including lock state, configuration, and connected devices.read-only (declared)
Returns detailed information for a single door including lock state, configuration, and connected devices.
access_get_door_statustool Returns the current lock and position status for a single door. Lightweight alternative to access_get_door when you only need state info.read-only (declared)
Returns the current lock and position status for a single door. Lightweight alternative to access_get_door when you only need state info.
access_get_eventtool Returns detailed information for a single access event including event type, door, user, timestamp, and result.read-only (declared)
Returns detailed information for a single access event including event type, door, user, timestamp, and result.
access_get_healthtool Returns Access system health summary including API client and proxy session status. Use to verify connectivity and diagnose auth path issues.read-only (declared)
Returns Access system health summary including API client and proxy session status. Use to verify connectivity and diagnose auth path issues.
access_get_policytool Returns detailed information for a single access policy including assigned doors, schedule, user groups, and configuration.read-only (declared)
Returns detailed information for a single access policy including assigned doors, schedule, user groups, and configuration.
access_get_system_infotool Returns Access controller model, firmware version, uptime, and connected device counts. Use for basic health checks and capacity overview.read-only (declared)
Returns Access controller model, firmware version, uptime, and connected device counts. Use for basic health checks and capacity overview.
access_get_visitortool Return one visitor pass from the UniFi Access Developer API. The visitor UUID must come from access_list_visitors and is scoped to this visitor tool family — doread-only (declared)
Return one visitor pass from the UniFi Access Developer API. The visitor UUID must come from access_list_visitors and is scoped to this visitor tool family — do not pass IDs from other Access user or credential tools.
access_list_credentialstool Lists all access credentials (NFC cards, PINs, mobile credentials) with their type, status, and assigned user.read-only (declared)
Lists all access credentials (NFC cards, PINs, mobile credentials) with their type, status, and assigned user.
access_list_devicestool Lists all Access hardware devices (hubs, readers, relays, intercoms) with their name, type, connection state, and firmware version.read-only (declared)
Lists all Access hardware devices (hubs, readers, relays, intercoms) with their name, type, connection state, and firmware version.
access_list_door_groupstool Lists all door groups configured on the Access controller. Door groups organize doors for policy assignment. Only available via local proxy session.read-only (declared)
Lists all door groups configured on the Access controller. Door groups organize doors for policy assignment. Only available via local proxy session.
access_list_doorstool Lists all doors managed by the Access controller with their name, lock state, and connection status. Use to get an overview of all doors.read-only (declared)
Lists all doors managed by the Access controller with their name, lock state, and connection status. Use to get an overview of all doors.
access_list_eventstool Query access events from the controller with optional filters. Returns events such as door unlocks, access denials, and system events. Supports filtering by timread-only (declared)
Query access events from the controller with optional filters. Returns events such as door unlocks, access denials, and system events. Supports filtering by time range, door, user, and result limit. For real-time buffer events use access_recent_events.
access_list_policiestool Lists all access policies configured on the Access controller. Shows policy name, assigned doors, schedules, and user groups.read-only (declared)
Lists all access policies configured on the Access controller. Shows policy name, assigned doors, schedules, and user groups.
access_list_schedulestool Lists all access schedules configured on the Access controller.read-only (declared)
Lists all access schedules configured on the Access controller.
access_list_userstool Lists all users registered in the Access controller with their access credentials and groups. Use to audit who has physical access or to look up a specific userread-only (declared)
Lists all users registered in the Access controller with their access credentials and groups. Use to audit who has physical access or to look up a specific user.
access_list_visitorstool List visitor passes from the UniFi Access Developer API. Returned UUIDs are scoped to the Access Developer API visitor tool family — pass them only to access_geread-only (declared)
List visitor passes from the UniFi Access Developer API. Returned UUIDs are scoped to the Access Developer API visitor tool family — pass them only to access_get_visitor and access_delete_visitor; do not pass them to other Access user or credential tools.
access_lock_doortool Lock a door immediately. This is a physical real-world action. Requires confirm=true to execute. Uses the Access API client when available, with local proxy faldestructive (declared)
Lock a door immediately. This is a physical real-world action. Requires confirm=true to execute. Uses the Access API client when available, with local proxy fallback.
access_reboot_devicetool Reboot an Access hardware device (hub, reader, relay, intercom). The device will be temporarily offline during reboot. Requires confirm=true to execute. Only avdestructive (declared)
Reboot an Access hardware device (hub, reader, relay, intercom). The device will be temporarily offline during reboot. Requires confirm=true to execute. Only available via local proxy session.
access_recent_eventstool Get recent events from the in-memory websocket buffer. Fast (no API call). Supports filtering by event type and door. Use for real-time monitoring; use access_lread-only (declared)
Get recent events from the in-memory websocket buffer. Fast (no API call). Supports filtering by event type and door. Use for real-time monitoring; use access_list_events for historical queries.
access_revoke_credentialtool Revoke (delete) an access credential. This permanently removes the credential from the system. Requires confirm=true to execute. Only available via local proxy destructive (declared)
Revoke (delete) an access credential. This permanently removes the credential from the system. Requires confirm=true to execute. Only available via local proxy session.
access_subscribe_eventstool Returns instructions for subscribing to real-time Access events. Provides the MCP resource URI for the event stream and guidance on polling intervals. Use this read-only (declared)
Returns instructions for subscribing to real-time Access events. Provides the MCP resource URI for the event stream and guidance on polling intervals. Use this to set up continuous event monitoring.
access_unlock_doortool Unlock a door for a specified duration. This is a physical real-world action. Requires confirm=true to execute. Default duration is 2 seconds.destructive (declared)
Unlock a door for a specified duration. This is a physical real-world action. Requires confirm=true to execute. Default duration is 2 seconds.
access_update_device_configtool Update a device's settings (its configs[] entries), e.g. the reader voice greeting. Pass 'updates' as a {key: value} map; only keys the device already exposes m
Update a device's settings (its configs[] entries), e.g. the reader voice greeting. Pass 'updates' as a {key: value} map; only keys the device already exposes may be set (call access_get_device_configs first to discover them), and credential/secret keys are refused. Requires confirm=true to execute; confirm=false returns a preview of the current→proposed change. Only available via local proxy session.access_update_policytool Update an access policy's configuration. Supported fields include name, door_ids, schedule_id, user_group_ids, and enabled. Requires confirm=true to apply. Only
Update an access policy's configuration. Supported fields include name, door_ids, schedule_id, user_group_ids, and enabled. Requires confirm=true to apply. Only available via local proxy session.
innerspace_get_plan_assettool Returns one floor plan's image metadata and the resource URI to read the image from. Read-only. These IDs are scoped to the InnerSpace tool family — do not passread-only (declared)
Returns one floor plan's image metadata and the resource URI to read the image from. Read-only. These IDs are scoped to the InnerSpace tool family — do not pass them to other products' tools.
innerspace_get_projecttool Returns the InnerSpace project: its title, floor plans, wall types and attenuation-object (RF obstacle) types. Lengths are in the project's unit unless unit is Filesread-only (declared)
Returns the InnerSpace project: its title, floor plans, wall types and attenuation-object (RF obstacle) types. Lengths are in the project's unit unless unit is given; include_shapes adds every shape (large). Read-only. These IDs are scoped to the InnerSpace tool family — do not pass them to other products' tools.
innerspace_get_statustool Reports whether the InnerSpace application is installed and running on the UniFi OS console, with its installed version and any update available. Read-only. Runread-only (declared)
Reports whether the InnerSpace application is installed and running on the UniFi OS console, with its installed version and any update available. Read-only. Run this first when other InnerSpace tools report that the application is not installed or not running.
innerspace_list_access_pointstool Filesread-only (declared)
No description.
innerspace_list_floor_planstool Lists the floor plans of the InnerSpace project with their scale and image placement. Optionally filtered by site. Read-only. These IDs are scoped to the InnerSFilesread-only (declared)
Lists the floor plans of the InnerSpace project with their scale and image placement. Optionally filtered by site. Read-only. These IDs are scoped to the InnerSpace tool family — do not pass them to other products' tools.
innerspace_list_inventorytool Filesread-only (declared)
No description.
innerspace_list_placed_devicestool Filesread-only (declared)
No description.
innerspace_list_switchestool Filesread-only (declared)
No description.
innerspace_list_wallstool Lists the walls of one floor plan in the plan's own coordinate frame, in the project's unit unless unit is given. Cut at limit. Read-only. These IDs are scoped Filesread-only (declared)
Lists the walls of one floor plan in the plan's own coordinate frame, in the project's unit unless unit is given. Cut at limit. Read-only. These IDs are scoped to the InnerSpace tool family — do not pass them to other products' tools.
protect_acknowledge_eventtool Acknowledge an event by marking it as a favorite on the NVR. This is the closest equivalent to 'marking as read' in the Protect system. Requires confirm=True to
Acknowledge an event by marking it as a favorite on the NVR. This is the closest equivalent to 'marking as read' in the Protect system. Requires confirm=True to apply.
protect_alarm_armtool Arms a UniFi Protect Alarm Manager profile. On consoles running the UniFi OS Alarm Manager (Global mode) the profile is armed through its v2 action endpoint and
Arms a UniFi Protect Alarm Manager profile. On consoles running the UniFi OS Alarm Manager (Global mode) the profile is armed through its v2 action endpoint and the result is verified against the controller state (arming/armed); legacy consoles use PATCH arm + POST arm/enable. profile_id is a profile id from protect_alarm_list_profiles; Global-mode consoles also accept the profile name, legacy consoles need the id. Omit it when there is a single profile (legacy: the selected profile); a blank value is rejected. Requires confirm=True to apply — otherwise returns a preview.
protect_alarm_create_ruletool Creates a new alarm rule via POST. Body uses the canonical alarm rule shape returned by protect_alarm_list_rules/protect_alarm_get_rule: title, enabled, trigger
Creates a new alarm rule via POST. Body uses the canonical alarm rule shape returned by protect_alarm_list_rules/protect_alarm_get_rule: title, enabled, triggers, actions, and scope. Take trigger_id and action_id values from protect_alarm_get_catalog. On Global-mode consoles scope must be {mode, data} (e.g. {"mode": "include", "data": {...}}); an empty scope is rejected. The server assigns the rule id and returns the created rule. ``actions`` must be a non-empty list — the controller will accept an empty actions list but the resulting rule cannot be opened in the Protect UI. Requires confirm=True to apply — otherwise returns a preview.protect_alarm_delete_ruletool Deletes an alarm rule (automation) by id. Requires confirm=True to apply — otherwise returns a preview showing the rule that would be deleted. Destructive — thedestructive (declared)
Deletes an alarm rule (automation) by id. Requires confirm=True to apply — otherwise returns a preview showing the rule that would be deleted. Destructive — the rule and its configured webhook actions cannot be recovered through the API.
protect_alarm_disarmtool Disarms the UniFi Protect Alarm Manager. On consoles running the UniFi OS Alarm Manager (Global mode) every active profile is disarmed through its v2 action end
Disarms the UniFi Protect Alarm Manager. On consoles running the UniFi OS Alarm Manager (Global mode) every active profile is disarmed through its v2 action endpoint, or only profile_id when given (an id or, in Global mode, a name; a blank value is rejected), and the result is verified against the controller state; legacy consoles use POST arm/disable system-wide. Requires confirm=True to apply — otherwise returns a preview.
protect_alarm_fire_webhooktool Fires every alarm rule whose Webhook trigger has the given trigger_id (the rule's own webhook id, not a catalog trigger_id), as if the webhook had been called;
Fires every alarm rule whose Webhook trigger has the given trigger_id (the rule's own webhook id, not a catalog trigger_id), as if the webhook had been called; the rules' actions run for real. Needs a Protect API key: UNIFI_PROTECT_API_KEY, or UNIFI_API_KEY on the UNIFI_HOST console. Requires confirm=True to apply — otherwise returns a preview.
protect_alarm_get_catalogtool Returns the triggers and actions a UniFi OS Alarm Manager (Global-mode) console accepts in alarm rules, read from the Alarm Manager manifest. Each trigger has tread-only (declared)
Returns the triggers and actions a UniFi OS Alarm Manager (Global-mode) console accepts in alarm rules, read from the Alarm Manager manifest. Each trigger has trigger_id, title, category_id, category_title and options_schema (the JSON schema of the data the trigger takes); each action has action_id, title, category_id, category_title, options_schema and target_ids. scope is the schema for a rule's scope. Use these ids with protect_alarm_create_rule and protect_alarm_update_rule. options_schema and scope are left out unless include_schemas is true; the full catalog is large, so filter with search and ask for schemas only for the entries you will write.
protect_alarm_get_ruletool Fetches a single UniFi Protect alarm rule by id (normalized: id, title, enabled, triggers, actions, scope, stats), including AI-powered alarms.read-only (declared)
Fetches a single UniFi Protect alarm rule by id (normalized: id, title, enabled, triggers, actions, scope, stats), including AI-powered alarms.
protect_alarm_get_statustool Returns the current armed/disarmed state of the UniFi Protect Alarm Manager, including the active profile, raw status string, armed-at timestamp, and any breachread-only (declared)
Returns the current armed/disarmed state of the UniFi Protect Alarm Manager, including the active profile, raw status string, armed-at timestamp, and any breach info. Use this to check whether the security system is currently active.
protect_alarm_list_profilestool Lists all configured UniFi Protect Alarm Manager profiles with their id, name, state, state_set_at timestamp, activation delay, schedule count, automation countread-only (declared)
Lists all configured UniFi Protect Alarm Manager profiles with their id, name, state, state_set_at timestamp, activation delay, schedule count, automation count, id_family, and arm_compatible flag. On Global-mode consoles (id_family alarm_manager_v2) protect_alarm_arm and protect_alarm_disarm take these profile ids or names; on legacy (Local-mode) consoles they take the legacy profile id. Requires Protect 6.1+ with Alarm Manager configured in the web UI. Legacy fallback responses include _meta with complete=false because v2-only fields are unavailable.
protect_alarm_list_rulestool Lists every UniFi Protect alarm rule, including AI-powered alarms (e.g. AI Natural Language). Each rule is normalized to id, title, enabled, triggers, actions, read-only (declared)
Lists every UniFi Protect alarm rule, including AI-powered alarms (e.g. AI Natural Language). Each rule is normalized to id, title, enabled, triggers, actions, scope, and stats. Use protect_alarm_get_rule for a single rule.
protect_alarm_update_ruletool Updates an alarm rule. Pass only the fields you want to change — current values are automatically preserved. Field keys use the canonical alarm rule shape retur
Updates an alarm rule. Pass only the fields you want to change — current values are automatically preserved. Field keys use the canonical alarm rule shape returned by protect_alarm_list_rules/protect_alarm_get_rule: title, enabled, triggers, actions, and scope. Requires confirm=True to apply — otherwise returns a preview of the proposed changes.
protect_create_liveviewtool Validates input for creating a new liveview with the given name and camera IDs. Note: liveview creation is not directly supported by the uiprotect Python API; t
Validates input for creating a new liveview with the given name and camera IDs. Note: liveview creation is not directly supported by the uiprotect Python API; this tool validates camera IDs and returns a preview. Use the Protect web UI to create liveviews.
protect_delete_known_facetool Delete or remove a UniFi Protect face recognition group. This is destructive. Requires confirm=True to apply; otherwise returns a preview of the exact group.destructive (declared)
Delete or remove a UniFi Protect face recognition group. This is destructive. Requires confirm=True to apply; otherwise returns a preview of the exact group.
protect_delete_known_license_platetool Delete or remove a UniFi Protect license-plate recognition group. This is destructive. Requires confirm=True to apply; otherwise returns a preview of the exact destructive (declared)
Delete or remove a UniFi Protect license-plate recognition group. This is destructive. Requires confirm=True to apply; otherwise returns a preview of the exact group.
protect_delete_liveviewtool Validates a liveview for deletion by ID. Note: liveview deletion is not directly supported by the uiprotect Python API; this tool returns information about the destructive (declared)
Validates a liveview for deletion by ID. Note: liveview deletion is not directly supported by the uiprotect Python API; this tool returns information about the liveview. Use the Protect web UI to delete liveviews.
protect_delete_recordingtool Attempts to delete recordings for a camera in a time range. Note: Individual recording deletion is NOT supported by the uiprotect API. Recording retention is madestructive (declared)
Attempts to delete recordings for a camera in a time range. Note: Individual recording deletion is NOT supported by the uiprotect API. Recording retention is managed automatically by the NVR. This tool returns information about the limitation and alternative approaches.
protect_detection_search_labelstool List the detection-search filter vocabulary supported by this controller. Returns the legal label values (colors, vehicle types, smart detection types, event tyread-only (declared)
List the detection-search filter vocabulary supported by this controller. Returns the legal label values (colors, vehicle types, smart detection types, event types, etc.) that the 'Find Anything' panel offers. Use the returned values as labels for protect_search_detections.
protect_export_cliptool Exports a video clip from a camera for a specified time range. Returns metadata about the export (size, duration) but not the video data itself (too large for Mread-only (declared)
Exports a video clip from a camera for a specified time range. Returns metadata about the export (size, duration) but not the video data itself (too large for MCP responses). Maximum duration is 2 hours. For timelapse exports, pass fps (4=60x, 8=120x, 20=300x, 40=600x). Times must be ISO-8601 format (e.g., '2026-03-16T12:00:00Z').
protect_get_cameratool Returns detailed information for a single camera including firmware, IP address, MAC, mic/speaker settings, IR/HDR mode, stream channels, smart detection types,read-only (declared)
Returns detailed information for a single camera including firmware, IP address, MAC, mic/speaker settings, IR/HDR mode, stream channels, smart detection types, and PTZ capability. Use to inspect one camera.
protect_get_camera_analyticstool Returns motion and smart detection analytics for a camera including current detection state, last-detected timestamps for each type (person, vehicle, animal, etread-only (declared)
Returns motion and smart detection analytics for a camera including current detection state, last-detected timestamps for each type (person, vehicle, animal, etc.), and zone counts. For historical events, use the events API tools.
protect_get_camera_streamstool Returns RTSP/RTSPS stream URLs for a camera organized by channel (High, Medium, Low). Includes resolution, FPS, and bitrate for each stream. Use to connect a viread-only (declared)
Returns RTSP/RTSPS stream URLs for a camera organized by channel (High, Medium, Low). Includes resolution, FPS, and bitrate for each stream. Use to connect a video player or integration to camera feeds.
protect_get_eventtool Get detailed information for a single event by ID. Returns event type, camera, timestamps, score, smart detection types, thumbnail info, and recognized Known Faread-only (declared)
Get detailed information for a single event by ID. Returns event type, camera, timestamps, score, smart detection types, thumbnail info, and recognized Known Face and license-plate (LPR) identity fields when Protect provides them.
protect_get_event_thumbnailtool Get the thumbnail image for an event. Returns a base64-encoded JPEG. Thumbnails are generated after an event ends; in-progress events may not have thumbnails yeread-only (declared)
Get the thumbnail image for an event. Returns a base64-encoded JPEG. Thumbnails are generated after an event ends; in-progress events may not have thumbnails yet. Optionally specify width/height to resize.
protect_get_firmware_statustool Returns firmware update availability for the NVR and all adopted devices (cameras, lights, sensors, viewers, chimes, bridges, doorlocks). Use to check whether aread-only (declared)
Returns firmware update availability for the NVR and all adopted devices (cameras, lights, sensors, viewers, chimes, bridges, doorlocks). Use to check whether any device needs a firmware update.
protect_get_healthtool Returns NVR health summary including CPU load and temperature, memory usage, and storage utilization. Use to diagnose performance issues or storage pressure.read-only (declared)
Returns NVR health summary including CPU load and temperature, memory usage, and storage utilization. Use to diagnose performance issues or storage pressure.
protect_get_incident_evidencetool Collects bounded, read-only Protect event evidence for one incident window. Returns a unifi-incident-evidence-view by default: every source's coverage, failuresread-only (declared)
Collects bounded, read-only Protect event evidence for one incident window. Returns a unifi-incident-evidence-view by default: every source's coverage, failures and budget usage plus a bounded list of record citations, with omitted records counted; detail='full' returns the whole unifi-incident-evidence document. Each camera ID is its own source. Stops at the first spent budget and says so; check coverage_complete before treating an empty result as an all-clear.
protect_get_recording_statustool Returns the current recording state for one or all cameras. Shows recording mode (always, never, detections), whether actively recording, and available recordinread-only (declared)
Returns the current recording state for one or all cameras. Shows recording mode (always, never, detections), whether actively recording, and available recording time range from NVR stats. Pass a camera_id to check a single camera, or omit for all cameras.
protect_get_snapshottool Fetches a JPEG snapshot from a camera. When include_image is True, returns the image as a base64-encoded string. When False (default), returns a reference URL. read-only (declared)
Fetches a JPEG snapshot from a camera. When include_image is True, returns the image as a base64-encoded string. When False (default), returns a reference URL. Optionally specify width and height to resize.
protect_get_system_infotool Returns NVR model, firmware version, uptime, storage usage, and connected device counts. Use for basic 'is the NVR healthy?' checks and capacity overview.read-only (declared)
Returns NVR model, firmware version, uptime, storage usage, and connected device counts. Use for basic 'is the NVR healthy?' checks and capacity overview.
protect_list_camera_detection_areastool Lists a camera's crossing lines, smart-detect zones and loiter zones, read fresh from the NVR. Each area has its id, name, kind (line, zone or loiter_zone), objread-only (declared)
Lists a camera's crossing lines, smart-detect zones and loiter zones, read fresh from the NVR. Each area has its id, name, kind (line, zone or loiter_zone), object_types and, for a line, its direction. Motion zones are not included. Use the ids with protect_rename_camera_detection_area.
protect_list_camerastool Lists all cameras adopted by the Protect NVR with their name, model, connection state, recording mode, and whether they are currently recording. Use to get an oread-only (declared)
Lists all cameras adopted by the Protect NVR with their name, model, connection state, recording mode, and whether they are currently recording. Use to get an overview of all cameras in the system.
protect_list_chimestool Lists all UniFi Protect chime devices with their name, connection state, volume, ring settings per camera, and available ringtones/tracks. Use to see chime confread-only (declared)
Lists all UniFi Protect chime devices with their name, connection state, volume, ring settings per camera, and available ringtones/tracks. Use to see chime configuration and which cameras trigger which chimes.
protect_list_eventstool Query events from the NVR with optional filters. Returns events from the Protect controller's database via REST API. Supports filtering by time range, event typread-only (declared)
Query events from the NVR with optional filters. Returns events from the Protect controller's database via REST API. Supports filtering by time range, event type (motion, smartDetectZone, ring, etc.), camera ID, and result limit. Face events include recognized Known Face identity fields, and license-plate (LPR) events include recognized plate identity fields, when Protect provides them. For real-time buffer events use protect_recent_events.
protect_list_known_facestool List UniFi Protect face recognition groups, including assigned Known Faces by default and unlabeled groups when group_types includes unknown. Returns metadata aread-only (declared)
List UniFi Protect face recognition groups, including assigned Known Faces by default and unlabeled groups when group_types includes unknown. Returns metadata and controller image references only; image bytes are not fetched.
protect_list_known_license_platestool List UniFi Protect license-plate identities (vehicle recognition groups), including named/known license plates by default and unlabeled plate groups when group_read-only (declared)
List UniFi Protect license-plate identities (vehicle recognition groups), including named/known license plates by default and unlabeled plate groups when group_types includes unknown. Each entry's `id` is the value to use in a `license_plate_known` alarm-rule condition. Returns metadata (incl. color/vehicleType when Protect provides them) and controller image references only; image bytes are not fetched.
protect_list_lightstool Lists all UniFi Protect floodlight devices with their name, connection state, brightness level, PIR motion sensitivity, and paired camera. Use to get an overvieread-only (declared)
Lists all UniFi Protect floodlight devices with their name, connection state, brightness level, PIR motion sensitivity, and paired camera. Use to get an overview of all lights in the system.
protect_list_liveviewstool Lists all liveview configurations from the Protect NVR. Each liveview defines a multi-camera layout with slots, camera assignments, and cycle settings. Shows naread-only (declared)
Lists all liveview configurations from the Protect NVR. Each liveview defines a multi-camera layout with slots, camera assignments, and cycle settings. Shows name, layout grid size, slot count, camera count, and whether it is the default or global view.
protect_list_recordingstool Returns recording availability information for a camera within a time range. Shows the recording window and whether footage exists. UniFi Protect stores recordiread-only (declared)
Returns recording availability information for a camera within a time range. Shows the recording window and whether footage exists. UniFi Protect stores recordings as continuous streams, not discrete segments. Defaults to the last 24 hours if no time range is specified. Times should be ISO-8601 format (e.g., '2026-03-16T00:00:00Z').
protect_list_sensorstool Lists all UniFi Protect sensor devices (motion, door/window, temperature, humidity, light level, leak detection). Shows connection state, battery status, currenread-only (declared)
Lists all UniFi Protect sensor devices (motion, door/window, temperature, humidity, light level, leak detection). Shows connection state, battery status, current readings, and recent detection timestamps. Use to monitor environmental conditions and sensor health.
protect_list_smart_detectionstool List smart detection events (person, vehicle, animal, package, etc.) with optional filters. Filters by detection type, camera, confidence score, and time range.read-only (declared)
List smart detection events (person, vehicle, animal, package, etc.) with optional filters. Filters by detection type, camera, confidence score, and time range. Only returns events above the minimum confidence threshold (default 50, configurable via PROTECT_SMART_DETECTION_MIN_CONFIDENCE). Face detections include recognized Known Face identity fields, and license-plate (LPR) detections include recognized plate identity fields, when Protect provides them.
protect_list_viewerstool Lists all connected Protect viewers (e.g., UP-Viewer, Viewport) with their connection state, firmware version, and assigned liveview.read-only (declared)
Lists all connected Protect viewers (e.g., UP-Viewer, Viewport) with their connection state, firmware version, and assigned liveview.
protect_merge_known_facestool Merge one UniFi Protect face group into another. The target group survives and the source group is folded into it. Requires confirm=True to apply; otherwise ret
Merge one UniFi Protect face group into another. The target group survives and the source group is folded into it. Requires confirm=True to apply; otherwise returns a preview.
protect_ptz_movetool Moves a PTZ camera using normalized pan/tilt speeds. Requires confirm=True to execute. Use protect_ptz_zoom for zoom movement. Only works on PTZ-capable cameras
Moves a PTZ camera using normalized pan/tilt speeds. Requires confirm=True to execute. Use protect_ptz_zoom for zoom movement. Only works on PTZ-capable cameras.
protect_ptz_presettool Moves a PTZ camera to a saved preset position by slot number. Returns available presets for the camera. Requires confirm=True to execute. Only works on PTZ-capa
Moves a PTZ camera to a saved preset position by slot number. Returns available presets for the camera. Requires confirm=True to execute. Only works on PTZ-capable cameras.
protect_ptz_zoomtool Zooms a PTZ camera using normalized zoom speed. Requires confirm=True to execute. This is separate from optical zoom settings.
Zooms a PTZ camera using normalized zoom speed. Requires confirm=True to execute. This is separate from optical zoom settings.
protect_reboot_cameratool Reboots a camera. The camera will be temporarily unavailable during reboot. Requires confirm=True to execute. Use with caution — active recordings will be interdestructive (declared)
Reboots a camera. The camera will be temporarily unavailable during reboot. Requires confirm=True to execute. Use with caution — active recordings will be interrupted.
protect_recent_eventstool Get recent events from the in-memory websocket buffer. This is fast (no API call) and returns events received via the real-time websocket stream. Supports filteread-only (declared)
Get recent events from the in-memory websocket buffer. This is fast (no API call) and returns events received via the real-time websocket stream. Supports filtering by event_type, camera_id, min_confidence, and limit. Face events include recognized Known Face identity fields, and license-plate (LPR) events include recognized plate identity fields, when Protect provides them. Use this for real-time monitoring; use protect_list_events for historical queries.
protect_rename_camera_detection_areatool Renames one crossing line, smart-detect zone or loiter zone on a camera, chosen by kind and id (from protect_list_camera_detection_areas). Only the name changes
Renames one crossing line, smart-detect zone or loiter zone on a camera, chosen by kind and id (from protect_list_camera_detection_areas). Only the name changes. Protect replaces the whole list on write, so the list is read fresh, sent back with just that name changed, then read again and checked against what was read before; any difference is reported as an error. If someone edits another area of the same list in the Protect app between the read and the write, that edit is lost and not reported: the write sends the list as read, so the read-back matches it. The read-back only catches changes the controller makes on save. Requires confirm=True to apply.
protect_search_detectionstool Search detections across all cameras using Protect's 'Find Anything' filter vocabulary. Pass one or more labels of the form 'prefix:value' (e.g. 'vehicleType:trread-only (declared)
Search detections across all cameras using Protect's 'Find Anything' filter vocabulary. Pass one or more labels of the form 'prefix:value' (e.g. 'vehicleType:truck', 'color:black', 'smartDetectType:vehicle'); labels are applied conjunctively. Call protect_detection_search_labels first to discover the legal labels for this controller. Returns matching smart detection events. excludeMotion defaults to true so plain motion events are filtered out.
protect_subscribe_eventstool Returns instructions for subscribing to real-time Protect events. Provides the MCP resource URI for the event stream and guidance on polling intervals. Use thisread-only (declared)
Returns instructions for subscribing to real-time Protect events. Provides the MCP resource URI for the event stream and guidance on polling intervals. Use this to set up continuous event monitoring.
protect_toggle_recordingtool Enables or disables recording on a camera. When enabled, sets recording mode to 'always'. When disabled, sets to 'never'. Requires confirm=True to apply.destructive (declared)
Enables or disables recording on a camera. When enabled, sets recording mode to 'always'. When disabled, sets to 'never'. Requires confirm=True to apply.
protect_toggle_rtsptool Enables or disables the RTSP/RTSPS stream on a camera channel. When enabled, the controller publishes the channel and assigns a stream alias; the RTSP/RTSPS URL
Enables or disables the RTSP/RTSPS stream on a camera channel. When enabled, the controller publishes the channel and assigns a stream alias; the RTSP/RTSPS URLs are returned. Choose the channel with quality (high, medium, low; default high). Requires confirm=True to apply.
protect_trigger_chimetool Plays the chime tone on a specific chime device. Optionally override volume (0-100) and repeat times (1-6) for this playback only. The chime's default settings
Plays the chime tone on a specific chime device. Optionally override volume (0-100) and repeat times (1-6) for this playback only. The chime's default settings are used if not specified. Requires confirm=True to play the chime; otherwise returns a preview.
protect_update_camera_settingstool Updates camera settings such as IR LED mode, HDR mode, mic/speaker volume, status light, and motion detection. Requires confirm=True to apply. HDR and microphon
Updates camera settings such as IR LED mode, HDR mode, mic/speaker volume, status light, and motion detection. Requires confirm=True to apply. HDR and microphone volume require UNIFI_PROTECT_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console). Supported keys: ir_led_mode, hdr_mode, mic_enabled, mic_volume, status_light_on, speaker_volume, name, motion_detection.
protect_update_chimetool Updates chime settings. Without camera_id, updates global speaker volume (0-100), repeat times (1-6), or device name. With camera_id, updates that camera's ring
Updates chime settings. Without camera_id, updates global speaker volume (0-100), repeat times (1-6), or device name. With camera_id, updates that camera's ring volume or repeat_times while preserving other camera ring settings. Per-camera ring settings require a Protect API key: UNIFI_PROTECT_API_KEY, or UNIFI_API_KEY on the UNIFI_HOST console. Requires confirm=True to apply. Supported global keys: volume, repeat_times, name. Supported per-camera keys: camera_id, volume, repeat_times.
protect_update_known_facetool Update UniFi Protect Known Face metadata. Pass only the fields you want to change; current values are automatically preserved. Supported fields: name, descripti
Update UniFi Protect Known Face metadata. Pass only the fields you want to change; current values are automatically preserved. Supported fields: name, description, is_notification_enabled. Requires confirm=True to apply; otherwise returns a preview.
protect_update_known_license_platetool Update UniFi Protect Known License Plate (license-plate identity) metadata. Pass only the fields you want to change; current values are automatically preserved.
Update UniFi Protect Known License Plate (license-plate identity) metadata. Pass only the fields you want to change; current values are automatically preserved. Supported fields: name, description, is_notification_enabled. Requires confirm=True to apply; otherwise returns a preview.
protect_update_lighttool Updates light settings such as on/off state, LED brightness level (1-6), PIR motion sensitivity (0-100), motion-triggered duration (15-900 seconds), status indi
Updates light settings such as on/off state, LED brightness level (1-6), PIR motion sensitivity (0-100), motion-triggered duration (15-900 seconds), status indicator light, and device name. Requires confirm=True to apply. Power, brightness, sensitivity and duration require UNIFI_PROTECT_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console). Supported keys: light_on (alias is_light_on), led_level, sensitivity, duration_seconds, status_light, name.
protect_update_sensor_settingstool Updates UniFi Protect sensor settings. Get sensor_id values from protect_list_sensors. Requires a Protect public API key: UNIFI_PROTECT_API_KEY (or UNIFI_API_KE
Updates UniFi Protect sensor settings. Get sensor_id values from protect_list_sensors. Requires a Protect public API key: UNIFI_PROTECT_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console). Requires confirm=True to apply. Supported keys: name, light_settings, humidity_settings, temperature_settings, motion_settings, glass_break_settings, alarm_settings, schedule_mode, arm_profile_ids, has_custom_sensitivity_when_armed. Use snake_case inside nested settings, for example motion_settings.sensitivity_when_armed or light_settings.low_threshold.
protect_update_viewertool Updates a UniFi Protect viewer name or liveview assignment. Get viewer_id values from protect_list_viewers and liveview_id values from protect_list_liveviews. T
Updates a UniFi Protect viewer name or liveview assignment. Get viewer_id values from protect_list_viewers and liveview_id values from protect_list_liveviews. These IDs are scoped to the Protect viewer/liveview tool family - do not pass them to camera, sensor, or chime tools. Requires a Protect public API key: UNIFI_PROTECT_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console). Requires confirm=True to apply. Pass only the fields you want to change - current values are automatically preserved. Supported keys: name, liveview_id, clear_liveview. Set clear_liveview=True to remove the current liveview assignment.
setup_statustool read-only (declared)
No description.
sitemanager_get_hosttool Returns one host by its Site Manager host id. Set include_reported_state for the full state the host reports (large). These IDs are scoped to the Site Manager tread-only (declared)
Returns one host by its Site Manager host id. Set include_reported_state for the full state the host reports (large). These IDs are scoped to the Site Manager tool family — do not pass them to Network, Protect, or Access tools.
sitemanager_get_isp_metricstool Returns WAN performance for every site the account can see: latency, download and upload speed, uptime, downtime and packet loss. Each site gets a summary over read-only (declared)
Returns WAN performance for every site the account can see: latency, download and upload speed, uptime, downtime and packet loss. Each site gets a summary over the window plus its most recent periods. Give duration, or begin_timestamp with end_timestamp, not both.
sitemanager_get_sdwan_configtool Returns one SD-WAN configuration with its settings, hubs and spokes.read-only (declared)
Returns one SD-WAN configuration with its settings, hubs and spokes.
sitemanager_get_sdwan_config_statustool Returns the deployment status of one SD-WAN configuration: generation status, errors and warnings, and per-hub and per-spoke state.read-only (declared)
Returns the deployment status of one SD-WAN configuration: generation status, errors and warnings, and per-hub and per-spoke state.
sitemanager_list_devicestool Lists UniFi devices grouped by the host that manages them, with model, status, firmware version and whether an update is available. Returns one page of hosts; pread-only (declared)
Lists UniFi devices grouped by the host that manages them, with model, status, firmware version and whether an update is available. Returns one page of hosts; pass next_cursor back as cursor for more. These IDs are scoped to the Site Manager tool family — do not pass them to Network, Protect, or Access tools.
sitemanager_list_hoststool Lists the UniFi consoles and self-hosted servers linked to the account behind the Site Manager API key, with connection state, OS version, hardware model and inread-only (declared)
Lists the UniFi consoles and self-hosted servers linked to the account behind the Site Manager API key, with connection state, OS version, hardware model and installed applications. Returns one page; pass next_cursor back as cursor for more. These IDs are scoped to the Site Manager tool family — do not pass them to Network, Protect, or Access tools.
sitemanager_list_sdwan_configstool Lists the SD-WAN configurations on the account behind the Site Manager API key. An account with none returns an empty list.read-only (declared)
Lists the SD-WAN configurations on the account behind the Site Manager API key. An account with none returns an empty list.
sitemanager_list_sitestool Lists the sites on every host the account behind the Site Manager API key can see, with device and client counts, ISP details and WAN health. Returns one page; read-only (declared)
Lists the sites on every host the account behind the Site Manager API key can see, with device and client counts, ISP details and WAN health. Returns one page; pass next_cursor back as cursor for more. These IDs are scoped to the Site Manager tool family — do not pass them to Network, Protect, or Access tools.
sitemanager_query_isp_metricstool Returns WAN performance for named sites, each optionally with its own time range. Read-only: it changes nothing. Take host_id and site_id from sitemanager_list_read-only (declared)
Returns WAN performance for named sites, each optionally with its own time range. Read-only: it changes nothing. Take host_id and site_id from sitemanager_list_sites. partial is true when some requested sites were left out.
unifi_adopt_devicetool Adopt a pending device into the Unifi Network by MAC address
Adopt a pending device into the Unifi Network by MAC address
unifi_archive_alarmtool Archive (resolve/dismiss) a specific alarm by its ID
Archive (resolve/dismiss) a specific alarm by its ID
unifi_archive_all_alarmstool Archive (resolve/dismiss) all active alarms
Archive (resolve/dismiss) all active alarms
unifi_authorize_guesttool Authorize a guest client to access the guest network by MAC address
Authorize a guest client to access the guest network by MAC address
unifi_block_clienttool Block a client/device from the network by MAC addressdestructive (declared)
Block a client/device from the network by MAC address
unifi_configure_port_aggregationtool
No description.
unifi_configure_port_mirrortool
No description.
unifi_create_acl_ruletool Create a new MAC ACL rule for Layer 2 access control within a VLAN. Uses the same field names as unifi_list_acl_rules output — source_macs, destination_macs, ne
Create a new MAC ACL rule for Layer 2 access control within a VLAN. Uses the same field names as unifi_list_acl_rules output — source_macs, destination_macs, network_id, action, etc. Empty MAC list = match any device. Optionally apply a netmask (source_netmask/destination_netmask) to match a leading-bit prefix instead of exact MACs. Requires confirmation.
unifi_create_ap_grouptool Create a new AP group to control which APs broadcast which SSIDs. Requires confirmation.
Create a new AP group to control which APs broadcast which SSIDs. Requires confirmation.
unifi_create_backuptool Create a new backup of the controller configuration. Returns the backup metadata on success. Requires confirmation.
Create a new backup of the controller configuration. Returns the backup metadata on success. Requires confirmation.
unifi_create_client_grouptool Create a new client group (network member group). Groups organize devices by MAC address for use in OON policies and firewall rules. Requires confirmation.
Create a new client group (network member group). Groups organize devices by MAC address for use in OON policies and firewall rules. Requires confirmation.
unifi_create_content_filtertool Create a content filtering profile with a non-empty blocked_categories list and exactly one non-empty client_macs or network_ids scope. Profiles start disabled
Create a content filtering profile with a non-empty blocked_categories list and exactly one non-empty client_macs or network_ids scope. Profiles start disabled with an ALWAYS all-day schedule unless those fields are explicitly set. Requires confirmation.
unifi_create_dns_recordtool Create a new static DNS record. Required: key (hostname, e.g. 'myhost.example.com'), value (IP or target hostname), record_type ('A'/'AAAA'/'CNAME'/'MX'/'TXT'/'
Create a new static DNS record. Required: key (hostname, e.g. 'myhost.example.com'), value (IP or target hostname), record_type ('A'/'AAAA'/'CNAME'/'MX'/'TXT'/'SRV'). Optional: enabled (bool, default true), ttl (int, 0=default 300s), port (int, for SRV), priority (int, for MX/SRV), weight (int, for SRV). Requires confirmation.unifi_create_dynamic_dnstool Create a new Dynamic DNS provider entry. Required: host_name (hostname to keep updated, e.g. 'home.example.com'), service (provider: 'dyndns'/'noip'/'namecheap'
Create a new Dynamic DNS provider entry. Required: host_name (hostname to keep updated, e.g. 'home.example.com'), service (provider: 'dyndns'/'noip'/'namecheap'/'cloudflare'/'custom'/...). Optional: interface ('wan' [default] or 'wan2'), login (username), x_password (password/token), server + custom_service (for the 'custom' service), options (list of strings). Requires confirmation.unifi_create_firewall_grouptool Create a new firewall group (address or port group). group_type must be 'address-group' (for IPs/CIDRs), 'ipv6-address-group', or 'port-group' (for port numbers
Create a new firewall group (address or port group). group_type must be 'address-group' (for IPs/CIDRs), 'ipv6-address-group', or 'port-group' (for port numbers/ranges). IMPORTANT: group_type cannot be changed after creation. members format: addresses use ['10.0.0.1', '10.0.0.0/24'], ports use ['80', '443', '8080-8090']. Requires confirmation.
unifi_create_firewall_policytool Create a V2 zone-based firewall policy with schema validation. Required: name, action (ALLOW/BLOCK/REJECT), source (zone_id + matching_target), destination (sam
Create a V2 zone-based firewall policy with schema validation. Required: name, action (ALLOW/BLOCK/REJECT), source (zone_id + matching_target), destination (same structure). For specific IP targeting: matching_target='IP', matching_target_type='SPECIFIC', ips=[...]. For network targeting: matching_target='NETWORK', matching_target_type='OBJECT', network_ids=[...]. For any in zone: matching_target='ANY'. For client targeting: matching_target='CLIENT', client_macs=[...]. For port targeting (same source/destination dict): port_matching_type='SPECIFIC', port='53,853' (a single string, not a 'ports' array) or port_matching_type='OBJECT', port_group_id=<port group>; set protocol to tcp, udp or tcp_udp. Use unifi_list_firewall_zones to discover zone_ids; unifi_list_networks for network_ids; unifi_list_firewall_groups for ip_group_id/port_group_id.
unifi_create_firewall_zonetool Create a new firewall zone. Zones group networks for zone-based firewall policy targeting. Network assignment happens separately via firewall_zone_id on unifi_u
Create a new firewall zone. Zones group networks for zone-based firewall policy targeting. Network assignment happens separately via firewall_zone_id on unifi_update_network. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session authentication. Returns a V2 controller ObjectID, not an Integration API UUID. Requires confirmation.
unifi_create_nat_ruletool Create an IPv4 V2 NAT rule (DNAT, SNAT or MASQUERADE) with verified readback; disabled by default. Requires Network session credentials. The assigned rule_index
Create an IPv4 V2 NAT rule (DNAT, SNAT or MASQUERADE) with verified readback; disabled by default. Requires Network session credentials. The assigned rule_index is chosen again at confirmation. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_create_networktool Create a new network (LAN/VLAN) with schema validation. Guest creation requires an explicit, verified built-in Hotspot firewall_zone_id and network isolation di
Create a new network (LAN/VLAN) with schema validation. Guest creation requires an explicit, verified built-in Hotspot firewall_zone_id and network isolation disabled. Guest previews validate the live zone; confirmed creates verify both guest purpose and zone. Updating purpose to guest remains unsupported. VPN entries may only specify the system-defined Vpn firewall zone; custom zones are persisted without enforcement and therefore rejected. Confirmed creates are read back and report exact persisted, dropped, and coerced fields; a failed result may still identify a created resource for cleanup. Requires confirmation.
unifi_create_oon_policytool Create a new OON (Object-Oriented Network) policy for internet access scheduling, app blocking, bandwidth limiting, or VPN routing. IMPORTANT: qos and route mus
Create a new OON (Object-Oriented Network) policy for internet access scheduling, app blocking, bandwidth limiting, or VPN routing. IMPORTANT: qos and route must be full nested dicts (not the flattened qos_enabled/route_enabled booleans from list output). Use unifi_get_oon_policy_details on an existing policy as a template for the nested structure. Requires confirmation.
unifi_create_port_forwardtool Create a new port forwarding rule on your Unifi Network controller using schema validation. Requires confirmation.
Create a new port forwarding rule on your Unifi Network controller using schema validation. Requires confirmation.
unifi_create_port_profiletool Create a new port profile. forward values: 'native' (access port), 'all' (trunk), or 'customize' (selective trunk). Port State (Active/Disabled) is a separate c
Create a new port profile. forward values: 'native' (access port), 'all' (trunk), or 'customize' (selective trunk). Port State (Active/Disabled) is a separate controller setting that these port-profile tools do not currently expose. tagged_vlan_mgmt is the access-vs-trunk control ('auto'/'block_all'/'custom'): the controller rewrites forward to agree with it, so an access port needs forward='native' with tagged_vlan_mgmt='block_all'. Port Mode in the UI maps to stp_edge_state + stp_bpdu_guard_enabled + stp_uplink (Edge = 'enabled'/true/false). Requires confirmation.unifi_create_qos_ruletool Create a new QoS rule on the Unifi Network controller. Requires confirmation.
Create a new QoS rule on the Unifi Network controller. Requires confirmation.
unifi_create_routetool Create a new static route for advanced routing configuration.
Create a new static route for advanced routing configuration. Specify destination network in CIDR format (e.g., "10.0.0.0/24") and next-hop IP address (e.g., "192.168.1.1").
unifi_create_simple_port_forwardtool Create a port forward using a simplified schema. Returns a preview unless confirm=true.
Create a port forward using a simplified schema. Returns a preview unless confirm=true.
unifi_create_simple_qos_ruletool Create a QoS rule using a simplified high-level schema. Returns a preview unless confirm=true.
Create a QoS rule using a simplified high-level schema. Returns a preview unless confirm=true.
unifi_create_traffic_routetool Create a narrowly scoped Traffic Route (policy-based route). Requires confirmation.FilesCredentialsEnv varsSensitive paths
Create a narrowly scoped Traffic Route (policy-based route). Requires confirmation. An explicit matching_target and target network/VPN are required. DOMAIN routes require at least one domain. INTERNET routes must target one or more explicit CLIENTs with valid unicast MAC addresses, through a verified WAN or VPN client network.
unifi_create_usergrouptool Create a new user group (bandwidth profile) with optional speed limits.
Create a new user group (bandwidth profile) with optional speed limits. Bandwidth limits are specified in Kbps. Use -1 for unlimited. User groups can be assigned to clients to enforce bandwidth policies.
unifi_create_vouchertool Create hotspot voucher(s) for guest network access.
Create hotspot voucher(s) for guest network access. Vouchers can have: - Time limits: How long the voucher is valid after activation - Usage quota: Single-use (1), multi-use (0), or n-times usable - Bandwidth limits: Upload/download speed caps in Kbps - Data caps: Total data transfer limit in MB
unifi_create_wlantool Create a new Wireless LAN (WLAN/SSID) with schema validation. Confirmed creates are read back and report exact persisted, dropped, and controller-coerced fields
Create a new Wireless LAN (WLAN/SSID) with schema validation. Confirmed creates are read back and report exact persisted, dropped, and controller-coerced fields; a failed result may still identify a created WLAN for cleanup. Requires confirmation.
unifi_delete_acl_ruletool Delete a MAC ACL rule. Requires confirmation. WARNING: Removing an ALLOW rule may block device communication. Removing a BLOCK rule may open access.destructive (declared)
Delete a MAC ACL rule. Requires confirmation. WARNING: Removing an ALLOW rule may block device communication. Removing a BLOCK rule may open access.
unifi_delete_ap_grouptool Delete an AP group by ID. Requires confirmation. WARNING: APs in this group may lose their SSID assignments.destructive (declared)
Delete an AP group by ID. Requires confirmation. WARNING: APs in this group may lose their SSID assignments.
unifi_delete_backuptool Delete a backup file from the controller. Use unifi_list_backups to find filenames. Requires confirmation.destructive (declared)
Delete a backup file from the controller. Use unifi_list_backups to find filenames. Requires confirmation.
unifi_delete_client_grouptool Delete a client group. Requires confirmation. WARNING: Deleting a group may affect OON policies and firewall rules that reference it.destructive (declared)
Delete a client group. Requires confirmation. WARNING: Deleting a group may affect OON policies and firewall rules that reference it.
unifi_delete_content_filtertool Delete a content filtering profile. Requires confirmation. WARNING: Deleting a profile removes DNS-based blocking for all targeted clients/networks.destructive (declared)
Delete a content filtering profile. Requires confirmation. WARNING: Deleting a profile removes DNS-based blocking for all targeted clients/networks.
unifi_delete_dns_recordtool Delete a static DNS record. Use unifi_list_dns_records to find record IDs. Requires confirmation.destructive (declared)
Delete a static DNS record. Use unifi_list_dns_records to find record IDs. Requires confirmation.
unifi_delete_dynamic_dnstool Delete a Dynamic DNS entry. Use unifi_list_dynamic_dns to find entry IDs. Requires confirmation.destructive (declared)
Delete a Dynamic DNS entry. Use unifi_list_dynamic_dns to find entry IDs. Requires confirmation.
unifi_delete_firewall_grouptool Delete a firewall group. Requires confirmation. WARNING: Firewall policies referencing this group via ip_group_id or port_group_id may break.destructive (declared)
Delete a firewall group. Requires confirmation. WARNING: Firewall policies referencing this group via ip_group_id or port_group_id may break.
unifi_delete_firewall_policytool Delete a firewall policy by ID. Requires confirmation. WARNING: Removing an ALLOW rule may block traffic. Removing a BLOCK rule may open access.destructive (declared)
Delete a firewall policy by ID. Requires confirmation. WARNING: Removing an ALLOW rule may block traffic. Removing a BLOCK rule may open access.
unifi_delete_firewall_zonetool Delete a firewall zone by ID. System-defined zones cannot be deleted. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session audestructive (declared)
Delete a firewall zone by ID. System-defined zones cannot be deleted. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session authentication. The ID must come from unifi_list_firewall_zones; it is a V2 controller ObjectID, not an Integration API UUID. Requires confirmation.
unifi_delete_nat_ruletool Delete a manual V2 NAT rule and verify its absence. Requires Network session credentials. These IDs are scoped to the V2 NAT tool family — do not pass them to pdestructive (declared)
Delete a manual V2 NAT rule and verify its absence. Requires Network session credentials. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_delete_networktool Delete a LAN/VLAN network by ID. Requires confirmation. Only LAN-class networks (purpose corporate/guest/vlan-only) are deletable; WAN uplinks and VPN networkcodestructive (declared)
Delete a LAN/VLAN network by ID. Requires confirmation. Only LAN-class networks (purpose corporate/guest/vlan-only) are deletable; WAN uplinks and VPN networkconf entries are refused. WARNING: dependent WLANs, clients, routes, and firewall policies may lose connectivity or become invalid.
unifi_delete_oon_policytool Delete an OON policy. Requires confirmation. WARNING: This will remove the policy and all associated firewall rules that were auto-generated from it.destructive (declared)
Delete an OON policy. Requires confirmation. WARNING: This will remove the policy and all associated firewall rules that were auto-generated from it.
unifi_delete_port_forwardtool Delete a port forwarding rule by ID. Requires confirmation. WARNING: This permanently removes the rule; external access to the forwarded service will stop. It cdestructive (declared)
Delete a port forwarding rule by ID. Requires confirmation. WARNING: This permanently removes the rule; external access to the forwarded service will stop. It cannot be undone - you must recreate the rule to restore it.
unifi_delete_port_profiletool Delete a port profile. System profiles with attr_no_delete=true cannot be deleted. WARNING: Switch ports using this profile will revert to defaults. Requires codestructive (declared)
Delete a port profile. System profiles with attr_no_delete=true cannot be deleted. WARNING: Switch ports using this profile will revert to defaults. Requires confirmation.
unifi_delete_vpn_clienttool Delete a VPN client configuration by ID. Requires confirmation.destructive (declared)
Delete a VPN client configuration by ID. Requires confirmation.
unifi_delete_wlantool Delete a WLAN/SSID by ID. Requires confirmation. WARNING: All devices using this SSID will be disconnected.destructive (declared)
Delete a WLAN/SSID by ID. Requires confirmation. WARNING: All devices using this SSID will be disconnected.
unifi_force_provision_devicetool Force re-provision a device, pushing the current configuration from the controller to the device. Works on any UniFi device (switches, APs, gateways). Useful af
Force re-provision a device, pushing the current configuration from the controller to the device. Works on any UniFi device (switches, APs, gateways). Useful after manual changes or to resolve config drift. Requires confirmation.
unifi_force_reconnect_clienttool Force a client to reconnect to the network (kick) by MAC addressdestructive (declared)
Force a client to reconnect to the network (kick) by MAC address
unifi_forget_clienttool Remove/forget a client from the controller's known client history by MAC address. This permanently deletes the client record including its name, notes, fixed IPdestructive (declared)
Remove/forget a client from the controller's known client history by MAC address. This permanently deletes the client record including its name, notes, fixed IP settings, and historical stats. The client will reappear as a new unknown device if it reconnects. Only known clients (with a user-table record) can be forgotten; a client that appears only in historical statistics returns an error and nothing is removed.
unifi_get_acl_rule_detailstool Get detailed configuration for a specific MAC ACL rule by ID. Returns the same field names as unifi_list_acl_rules.read-only (declared)
Get detailed configuration for a specific MAC ACL rule by ID. Returns the same field names as unifi_list_acl_rules.
unifi_get_alertstool Get recent alerts from the Unifi Network controllerread-only (declared)
Get recent alerts from the Unifi Network controller
unifi_get_anomaliestool Get network anomaly detection events.read-only (declared)
Get network anomaly detection events.
unifi_get_ap_group_detailstool Get details of a specific AP group by ID, including member APs and WLANs.read-only (declared)
Get details of a specific AP group by ID, including member APs and WLANs.
unifi_get_autobackup_settingstool Get auto-backup settings (enabled state, schedule, retention count, cloud backup).read-only (declared)
Get auto-backup settings (enabled state, schedule, retention count, cloud backup).
unifi_get_client_detailstool Returns client data for one client by MAC address. By default (summary=false) returns the full raw client object — all controller-reported fields, with the typeread-only (declared)
Returns client data for one client by MAC address. By default (summary=false) returns the full raw client object — all controller-reported fields, with the typed/normalized shape (ISO timestamps, derived status, null-safe name/hostname) layered on top of the merged live /stat/sta + /rest/user data. Set summary=true to trim to selected sections via include (basic, network, wireless, traffic, fingerprint, all). For a summary of all clients, use unifi_list_clients.
unifi_get_client_dpi_traffictool Get per-client DPI traffic data by application or category. On Network 9.x+ this reads the v2 traffic aggregate for the window (default: last 24h); older controread-only (declared)
Get per-client DPI traffic data by application or category. On Network 9.x+ this reads the v2 traffic aggregate for the window (default: last 24h); older controllers fall back to the legacy per-site/per-client DPI endpoint, which has no window. upload_bytes is what the client sent. application/category are numeric DPI IDs — resolve names with unifi_list_dpi_applications / unifi_list_dpi_categories; 65535/255 means unidentified (typically encrypted QUIC/TLS). The controller aggregates DPI in coarse buckets, so totals for windows that cut through a bucket are approximate: use DPI for what kind of traffic, and unifi_get_top_clients / unifi_get_client_stats for how much. Note: requires Traffic Identification to be enabled on the controller, which is separate from Device Identification.
unifi_get_client_group_detailstool Get detailed configuration for a specific client group by ID.read-only (declared)
Get detailed configuration for a specific client group by ID.
unifi_get_client_sessionstool Get client association sessions (connect time, disconnect time, duration, AP), newest first, for one client or all clients. For individual connect, disconnect aread-only (declared)
Get client association sessions (connect time, disconnect time, duration, AP), newest first, for one client or all clients. For individual connect, disconnect and roaming events, use the event log instead.
unifi_get_client_statstool Get a client's traffic time-series from the controller's per-client report. summary.upload_bytes is what the client sent and summary.download_bytes what it receProcessesFilesCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Get a client's traffic time-series from the controller's per-client report. summary.upload_bytes is what the client sent and summary.download_bytes what it received (the report's rx_bytes/tx_bytes, counted from the network side). Pass start/end to inspect a past incident window. Whether wired clients are metered in this report depends on the gateway and Network version (e.g. a UDR7 on Network 11 reports them; some gateways do not), so an empty series for a wired client means 'not reported', not 'no traffic'.
unifi_get_client_wifi_detailstool Get detailed WiFi statistics for a single wireless client including signal, noise, satisfaction, tx/rx rates, retries, roam count, channel, radio, ESSID, and moread-only (declared)
Get detailed WiFi statistics for a single wireless client including signal, noise, satisfaction, tx/rx rates, retries, roam count, channel, radio, ESSID, and more.
unifi_get_content_filter_detailstool Get detailed configuration for a specific content filtering profile by ID. Returns the full profile including categories, client MACs, network IDs, safe search read-only (declared)
Get detailed configuration for a specific content filtering profile by ID. Returns the full profile including categories, client MACs, network IDs, safe search settings, and allow/block lists.
unifi_get_dashboardtool Get the pre-aggregated site dashboard. Defaults to a compact summary that omits high-volume activity/history series; pass summary=false to preserve raw dashboarread-only (declared)
Get the pre-aggregated site dashboard. Defaults to a compact summary that omits high-volume activity/history series; pass summary=false to preserve raw dashboard entries.
unifi_get_device_detailstool Returns device data for one device by MAC address. By default (summary=false) returns the full raw device object — all controller-reported fields including radiread-only (declared)
Returns device data for one device by MAC address. By default (summary=false) returns the full raw device object — all controller-reported fields including radio tables, port tables, system stats, WAN info, firmware details. Set summary=true to trim to selected sections via include (basic, ports, radios, stats, uplink, lldp, all). Port fields (summary mode): - last_seen_mac: last MAC that sent traffic on port (may be wireless client traffic, not reliable) - lldp_neighbor: actual connected infrastructure device (from LLDP, reliable for switches/APs) Examples: <no args> (full raw); summary=true,include='basic' (minimal); summary=true,include='basic,ports' (switches); summary=true,include='basic,radios' (APs).
unifi_get_device_radiotool Get radio configuration and live statistics for a device with radios (AP, or UDM/gateway with built-in WiFi). Returns per-band config (channel, tx_power, channeread-only (declared)
Get radio configuration and live statistics for a device with radios (AP, or UDM/gateway with built-in WiFi). Returns per-band config (channel, tx_power, channel width, min_rssi) and live stats (actual tx_power, channel utilization, client count, retries).
unifi_get_device_statstool Returns historical traffic time-series (rx/tx bytes, client counts) for one device by MAC or _id. Duration: hourly/daily/weekly/monthly. For APs, includes avg/mFilesCredentialsEnv varsSensitive pathsread-only (declared)
Returns historical traffic time-series (rx/tx bytes, client counts) for one device by MAC or _id. Duration: hourly/daily/weekly/monthly. For APs, includes avg/max client counts and WiFi quality metrics. For current device status instead of stats, use unifi_get_device_details.
unifi_get_dns_record_detailstool Get details for a specific DNS record by ID.read-only (declared)
Get details for a specific DNS record by ID.
unifi_get_dpi_statstool List the DPI restriction rules (per-application and per-category block or rate-limit rules) and the restriction groups that bundle them. Despite the name, this read-only (declared)
List the DPI restriction rules (per-application and per-category block or rate-limit rules) and the restriction groups that bundle them. Despite the name, this is configuration, not traffic: for DPI statistics use unifi_get_site_dpi_traffic or unifi_get_client_dpi_traffic; for application and category IDs use unifi_list_dpi_applications / unifi_list_dpi_categories.
unifi_get_dynamic_dns_entry_detailstool Get details for a specific Dynamic DNS entry by ID. The provider password/token is redacted.read-only (declared)
Get details for a specific Dynamic DNS entry by ID. The provider password/token is redacted.
unifi_get_event_typestool Get recently observed exact event keys for filtering events.read-only (declared)
Get recently observed exact event keys for filtering events. Use a returned key with the unifi_list_events event_type parameter. Keys are sampled from the 1,000 most recent events within the last 7 days, so event types absent from that sample are not included.
unifi_get_firewall_group_detailstool Get detailed configuration for a specific firewall group by ID.read-only (declared)
Get detailed configuration for a specific firewall group by ID.
unifi_get_firewall_policy_detailstool Get detailed configuration for a specific firewall policy by ID.read-only (declared)
Get detailed configuration for a specific firewall policy by ID.
unifi_get_firewall_policy_ordertool read-only (declared)
No description.
unifi_get_firewall_policy_orderingtool Get user-defined firewall policy ordering for a source/destination firewall zone pair. Returns policy IDs from the UniFi public integration API (UUIDs); these Iread-only (declared)
Get user-defined firewall policy ordering for a source/destination firewall zone pair. Returns policy IDs from the UniFi public integration API (UUIDs); these IDs are scoped to the ordering tool family — pass them ONLY to unifi_reorder_firewall_policies. They do NOT correspond to the policy IDs returned by unifi_list_firewall_policies or any other controller-API firewall tool. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session credentials. The current ordering path requires a legacy connection even when Integration zone UUIDs are supplied.
unifi_get_gateway_settingstool Get the gateway (USG) settings: security (GeoIP filtering, SYN cookies, ICMP redirects, DNS verification), NAT/UPnP (UPnP, NAT-PMP, MSS clamp), connection-trackread-only (declared)
Get the gateway (USG) settings: security (GeoIP filtering, SYN cookies, ICMP redirects, DNS verification), NAT/UPnP (UPnP, NAT-PMP, MSS clamp), connection-tracking ALG modules (FTP/GRE/H.323/PPTP/SIP/TFTP), hardware offloading, and conntrack timeouts. Read-only; use unifi_update_gateway_settings to change values.
unifi_get_gateway_statstool Get gateway WAN/LAN performance history including bandwidth, CPU, and memory utilization.read-only (declared)
Get gateway WAN/LAN performance history including bandwidth, CPU, and memory utilization.
unifi_get_incident_evidencetool Collects bounded, read-only Network event evidence for one incident window. Returns a unifi-incident-evidence-view by default: every source's coverage, failuresread-only (declared)
Collects bounded, read-only Network event evidence for one incident window. Returns a unifi-incident-evidence-view by default: every source's coverage, failures and budget usage plus a bounded list of record citations, with omitted records counted; detail='full' returns the whole unifi-incident-evidence document. Stops at the first spent budget and says so; check coverage_complete before treating an empty result as an all-clear.
unifi_get_ips_eventstool Get IPS/IDS security events (intrusion detection/prevention alerts). Reads the legacy IPS endpoint and, when it is empty or gone (Network 10.x), the SECURITY caread-only (declared)
Get IPS/IDS security events (intrusion detection/prevention alerts). Reads the legacy IPS endpoint and, when it is empty or gone (Network 10.x), the SECURITY category of the v2 system log, where threat blocks are recorded. For other security event types use unifi_list_events with categories=['SECURITY'].
unifi_get_lldp_neighborstool Get LLDP neighbor discovery table for a switch. Shows what devices are connected to each port by their LLDP-advertised chassis ID and descriptions. Use unifi_liread-only (declared)
Get LLDP neighbor discovery table for a switch. Shows what devices are connected to each port by their LLDP-advertised chassis ID and descriptions. Use unifi_list_devices to find switch MAC addresses.
unifi_get_mdns_settingstool Get site-wide mDNS service settings and read-only network scope.read-only (declared)
Get site-wide mDNS service settings and read-only network scope.
unifi_get_mgmt_settingstool Get the site's device management (mgmt) settings, read-only: device SSH state and user name, password-auth flag, authorised-key count, whether an SSH password, read-only (declared)
Get the site's device management (mgmt) settings, read-only: device SSH state and user name, password-auth flag, authorised-key count, whether an SSH password, password hash, management key and API token are stored (presence only; values never returned), debug tools, auto-upgrade and its hour.
unifi_get_nat_ruletool Get a NAT rule from the V2 controller API. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.read-only (declared)
Get a NAT rule from the V2 controller API. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_get_network_detailstool read-only (declared)
No description.
unifi_get_network_healthtool Returns per-subsystem health for WAN, WWW, LAN, WLAN, and VPN: status, device counts (gateways/switches/APs, adopted, disconnected, pending), active user countsread-only (declared)
Returns per-subsystem health for WAN, WWW, LAN, WLAN, and VPN: status, device counts (gateways/switches/APs, adopted, disconnected, pending), active user counts, and WAN/WWW details (WAN IP, ISP, latency, drops, last speed test). Use to check WAN connectivity or find which segment is degraded. Fields the controller does not report are omitted; a limited admin role may get no VPN details. For controller-level info (version, uptime), use unifi_get_system_info.
unifi_get_network_statstool Get network statistics from the Unifi Network controllerread-only (declared)
Get network statistics from the Unifi Network controller
unifi_get_oon_policy_detailstool Get detailed configuration for a specific OON policy by ID. Returns the full policy object including secure, qos, route sections and targets.read-only (declared)
Get detailed configuration for a specific OON policy by ID. Returns the full policy object including secure, qos, route sections and targets.
unifi_get_pdu_outletstool Return per-outlet state for a UniFi Smart Power PDU (UP6 / USP-Strip). Combines the device's sensed outlet_table (live relay_state, cycle_enabled, has_relay, haread-only (declared)
Return per-outlet state for a UniFi Smart Power PDU (UP6 / USP-Strip). Combines the device's sensed outlet_table (live relay_state, cycle_enabled, has_relay, has_metering) with the controller's desired outlet_overrides so callers see both reported and intended state per outlet. Returns an error if the device is not a PDU.
unifi_get_port_forwardtool Get a specific port forwarding rule by ID from your Unifi Network controller.read-only (declared)
Get a specific port forwarding rule by ID from your Unifi Network controller.
unifi_get_port_profile_detailstool Get detailed configuration for a specific port profile by ID. Returns full profile including VLAN, isolation, PoE, STP, 802.1X, storm control, and QoS settings.read-only (declared)
Get detailed configuration for a specific port profile by ID. Returns full profile including VLAN, isolation, PoE, STP, 802.1X, storm control, and QoS settings.
unifi_get_port_statstool Get live port statistics for a switch. Returns per-port data including link speed, duplex, PoE draw (voltage/current/power), error counters, MAC table count, byread-only (declared)
Get live port statistics for a switch. Returns per-port data including link speed, duplex, PoE draw (voltage/current/power), error counters, MAC table count, bytes per second, and enabled state. Use unifi_list_devices to find switch MAC addresses.
unifi_get_qos_rule_detailstool Get details for a specific QoS rule by ID.read-only (declared)
Get details for a specific QoS rule by ID.
unifi_get_rf_scan_resultstool Get RF spectrum scan results for an access point. Returns per-channel interference levels (dBm), utilization (%), and BSS counts for each radio band. Trigger a read-only (declared)
Get RF spectrum scan results for an access point. Returns per-channel interference levels (dBm), utilization (%), and BSS counts for each radio band. Trigger a scan first with unifi_trigger_rf_scan if no results are available. Scans take 5-10 minutes — if spectrum_scanning is true, the scan is still in progress.
unifi_get_route_detailstool Get detailed information about a specific static route by its IDread-only (declared)
Get detailed information about a specific static route by its ID
unifi_get_site_dpi_traffictool Get actual DPI traffic data by application or category for the entire site. Shows real bandwidth usage per app/category, NOT restriction configuration. Use unifread-only (declared)
Get actual DPI traffic data by application or category for the entire site. Shows real bandwidth usage per app/category, NOT restriction configuration. Use unifi_get_dpi_stats for restriction config instead. On Network 9.x+ this reads the v2 traffic aggregate for the window (default: last 24h); older controllers fall back to the legacy per-site/per-client DPI endpoint, which has no window. upload_bytes is what the client sent. application/category are numeric DPI IDs — resolve names with unifi_list_dpi_applications / unifi_list_dpi_categories; 65535/255 means unidentified (typically encrypted QUIC/TLS). The controller aggregates DPI in coarse buckets, so totals for windows that cut through a bucket are approximate: use DPI for what kind of traffic, and unifi_get_top_clients / unifi_get_client_stats for how much. Note: requires Traffic Identification to be enabled on the controller, which is separate from Device Identification.
unifi_get_site_settingstool Get current site settings: site identity, regulatory country code, timezone, connectivity monitor (enabled, uplink type) and NTP servers.read-only (declared)
Get current site settings: site identity, regulatory country code, timezone, connectivity monitor (enabled, uplink type) and NTP servers.
unifi_get_snmp_settingstool Get current SNMP settings for the site: v1/v2c enabled state and community string, SNMPv3 enabled state and user name. The two services are independent flags onread-only (declared)
Get current SNMP settings for the site: v1/v2c enabled state and community string, SNMPv3 enabled state and user name. The two services are independent flags on one record. The community string and the v3 password are returned by the controller and always shown redacted by this tool.
unifi_get_speedtest_resultstool Get historical speedtest results including download, upload (Mbps), and latency (ms). On a multi-WAN site each result names its uplink in wan_networkgroup (e.g.read-only (declared)
Get historical speedtest results including download, upload (Mbps), and latency (ms). On a multi-WAN site each result names its uplink in wan_networkgroup (e.g. WAN, WAN2) and interface_name; group by it rather than averaging across uplinks.
unifi_get_speedtest_statustool Check the status of a running speedtest on the gateway.read-only (declared)
Check the status of a running speedtest on the gateway.
unifi_get_switch_capabilitiestool Get switch hardware capabilities including max ACL rules, max VLANs, max aggregation sessions, max mirror sessions, STP config, and jumbo frame status. Use unifread-only (declared)
Get switch hardware capabilities including max ACL rules, max VLANs, max aggregation sessions, max mirror sessions, STP config, and jumbo frame status. Use unifi_list_devices to find switch MAC addresses.
unifi_get_switch_portstool Get port assignments for a specific switch. Shows which port profile is assigned to each port, port names, and PoE mode. Use unifi_list_devices to find switch Mread-only (declared)
Get port assignments for a specific switch. Shows which port profile is assigned to each port, port names, and PoE mode. Use unifi_list_devices to find switch MAC addresses.
unifi_get_system_infotool Returns controller version, uptime, hostname, device and client counts, update availability, and console CPU and memory usage. Use for basic 'is the controller read-only (declared)
Returns controller version, uptime, hostname, device and client counts, update availability, and console CPU and memory usage. Use for basic 'is the controller healthy?' checks. For network subsystem status (WAN/LAN/WLAN), use unifi_get_network_health instead. For network subsystem details, use unifi_get_network_health.
unifi_get_teleport_settingstool Get the site's Teleport VPN settings: whether Teleport is enabled and its client address range (subnet_cidr, gateway-address form such as '192.168.2.1/24'). Theread-only (declared)
Get the site's Teleport VPN settings: whether Teleport is enabled and its client address range (subnet_cidr, gateway-address form such as '192.168.2.1/24'). The UniFi UI does not show the range; the gateway picks it when Teleport is first enabled.
unifi_get_threat_management_settingstool Get site-wide threat management (IDS/IPS) and traffic identification settings.read-only (declared)
Get site-wide threat management (IDS/IPS) and traffic identification settings.
unifi_get_threat_posturetool Get CyberSecure threat posture for HOUR, DAY, WEEK, or MONTH, including allowlisted gateway signature status. Requires Network session credentials. Counts and tread-only (declared)
Get CyberSecure threat posture for HOUR, DAY, WEEK, or MONTH, including allowlisted gateway signature status. Requires Network session credentials. Counts and timestamps may be unknown (null); timestamps are milliseconds. Gateway device IDs are scoped to the legacy Network device family, not public Integration API device UUIDs.
unifi_get_top_clientstool Rank clients by traffic inside a time window — the first call when working an upload or egress spike ('who sent data between 02:00 and 05:00?'). Sums the controread-only (declared)
Rank clients by traffic inside a time window — the first call when working an upload or egress spike ('who sent data between 02:00 and 05:00?'). Sums the controller's per-client report over the window; upload_bytes is what each client sent, download_bytes what it received. Use sort_by='upload' for exfiltration questions. Network 11 covers every client; older controllers cover only clients they meter individually (wireless on current gateways), so wired clients, cluster nodes included, are absent there. Entries with source='live_counters' are a fallback for controllers without the report and are cumulative since association, not scoped to the window.unifi_get_traffic_flow_statisticstool Aggregated UniFi Traffic Flows summary (Insights > Flows 'Flow Summary'). Returns risk and region count breakdowns plus Top-Talker rankings for a preset period:read-only (declared)
Aggregated UniFi Traffic Flows summary (Insights > Flows 'Flow Summary'). Returns risk and region count breakdowns plus Top-Talker rankings for a preset period: top clients, top destinations, top applications (by bytes), top blocked clients, and top blocking policies. Risk bands are low/medium/high (the UI labels these Low/Suspicious/Concerning). Application entries include best-effort DPI application/category names resolved from the controller catalogue; names remain null when the catalogue is unavailable or has no matching entry, and dpi_name_resolution says which (status resolved/partial/unresolved/unavailable, with a fixed reason such as network_api_key_required and a remediation). The returned application_id is the low V2 traffic-flow application ID, not the Integration API compound ID. These IDs are scoped to the V2 traffic-flow tool family — do not pass them to Integration API DPI tools. Read-only.
unifi_get_traffic_flowstool Query historical UniFi Traffic Flows (Insights > Flows). Returns completed flow records — source/destination (incl. ports and resolved destination domains), serread-only (declared)
Query historical UniFi Traffic Flows (Insights > Flows). Returns completed flow records — source/destination (incl. ports and resolved destination domains), service, risk, action, bytes, and timestamps — for a time window, with server-side filtering and pagination. Supply both time_from and time_to (epoch ms) for an explicit window, or use within_hours. Read-only; one page per call (use page/total_page_count to paginate).
unifi_get_traffic_route_detailstool Get detailed information for a specific traffic route by ID.read-only (declared)
Get detailed information for a specific traffic route by ID.
unifi_get_usergroup_detailstool Get detailed information about a specific user group by its IDread-only (declared)
Get detailed information about a specific user group by its ID
unifi_get_voucher_detailstool Get detailed information about a specific voucher by its IDread-only (declared)
Get detailed information about a specific voucher by its ID
unifi_get_vpn_client_detailstool Get details for a specific VPN client by ID.read-only (declared)
Get details for a specific VPN client by ID.
unifi_get_vpn_server_detailstool Get details for a specific VPN server by ID.read-only (declared)
Get details for a specific VPN server by ID.
unifi_get_wlan_detailstool Get details for a specific WLAN by ID.read-only (declared)
Get details for a specific WLAN by ID.
unifi_list_acl_rulestool List MAC ACL rules (Policy Engine) for Layer 2 access control. These rules control which devices can communicate at Layer 2 within a VLAN.read-only (declared)
List MAC ACL rules (Policy Engine) for Layer 2 access control. These rules control which devices can communicate at Layer 2 within a VLAN.
unifi_list_active_routestool List all active routes from the device routing table.read-only (declared)
List all active routes from the device routing table. Includes both user-defined and system routes currently in effect. This shows the actual routing table state on the gateway device. Each route has target_subnet, gateway, interface and distance. Controllers that serve the table from the V2 API also report origin (Kernel, Static, DHCP, PBR) and route_type (unicast, blackhole), and name the interface by network ID (resolve it with unifi_list_networks) instead of by interface name. Note: Returns an empty list if the controller exposes no routing table.
unifi_list_alarmstool Returns active alarms (security alerts, connectivity issues, firmware warnings). Each alarm includes type, message, timestamp, and related device/client MAC. Byread-only (declared)
Returns active alarms (security alerts, connectivity issues, firmware warnings). Each alarm includes type, message, timestamp, and related device/client MAC. By default shows only unresolved alarms; set include_archived=true for history. For general event logs (non-critical), use unifi_list_events.
unifi_list_ap_groupstool List all AP groups configured on the controller. AP groups control which access points broadcast which SSIDs. Returns group names, IDs, and associated AP/WLAN mread-only (declared)
List all AP groups configured on the controller. AP groups control which access points broadcast which SSIDs. Returns group names, IDs, and associated AP/WLAN memberships.
unifi_list_available_channelstool List allowed RF channels for the site's regulatory domain. Returns per-band channel lists with DFS status and max power. Useful for planning channel assignmentsread-only (declared)
List allowed RF channels for the site's regulatory domain. Returns per-band channel lists with DFS status and max power. Useful for planning channel assignments.
unifi_list_backupstool List available backups on the controller. Returns filename, datetime, size, and version for each backup.read-only (declared)
List available backups on the controller. Returns filename, datetime, size, and version for each backup.
unifi_list_blocked_clientstool Lists clients/devices currently blocked from the network. Each entry includes mac, hostname, name, last_seen, blocked. Pass an entry's mac to unifi_unblock_clieFilesCredentialsEnv varsSensitive pathsread-only (declared)
Lists clients/devices currently blocked from the network. Each entry includes mac, hostname, name, last_seen, blocked. Pass an entry's mac to unifi_unblock_client as mac_address.
unifi_list_client_groupstool List client groups (network member groups). Groups organize devices by MAC address for use in OON policies and firewall rules.read-only (declared)
List client groups (network member groups). Groups organize devices by MAC address for use in OON policies and firewall rules.
unifi_list_clientstool Returns connected clients with mac, name, hostname, ip, status (online/offline), connection type (wired/wireless), and for wireless clients: ssid, signal_dbm, cFilesCredentialsEnv varsSensitive pathsread-only (declared)
Returns connected clients with mac, name, hostname, ip, status (online/offline), connection type (wired/wireless), and for wireless clients: ssid, signal_dbm, channel, radio. Clients with a DHCP reservation also carry fixed_ip. Filter by filter_type (all/wired/wireless/thread), set include_offline=true to add offline/historical clients to the connected ones (connected clients keep their live status and wireless fields). Use search to filter by name/hostname/IP/MAC (case-insensitive). For a single client's full raw object, use unifi_get_client_details. For IP-to-client lookup, use unifi_lookup_by_ip. Pass an entry's mac to the client tools as mac_address (unifi_get_client_details, unifi_block_client, unifi_rename_client, unifi_get_client_sessions, unifi_get_client_dpi_traffic, unifi_get_client_wifi_details, unifi_recent_events). filter_type='thread' lists connected Matter-over-Thread end devices (session credentials; Network 11+). They have no MAC and carry thread_client_id, Thread network, channel, signal, parent and border router instead, so they cannot be passed to the MAC-based client tools. filter_type='all' returns wired and Wi-Fi clients and adds thread_client_count when the controller has Thread clients. API-key inventory uses legacy reads when supported, otherwise limited public inventory. Public results include source_api=integration and integration_id; missing legacy fields are unknown. These IDs are scoped to the Integration inventory tool family — do not pass them to other resource tools. include_offline=true requires session credentials for historical inventory. Full details and mutations can require session credentials.
unifi_list_content_filterstool List content filtering profiles. Profiles control DNS-based category blocking, safe search enforcement (GOOGLE, YOUTUBE, BING), and domain allow/block lists. Prread-only (declared)
List content filtering profiles. Profiles control DNS-based category blocking, safe search enforcement (GOOGLE, YOUTUBE, BING), and domain allow/block lists. Profiles can target specific clients by MAC or entire networks by ID. Common categories: FAMILY, ADVERTISEMENT, MALWARE, PHISHING, BOTNETS, SPAM, SPYWARE, HACKING, ANONYMIZERS, DNS_TUNNELING, ADULT, ALCOHOL, DRUGS, GAMBLING, VIOLENCE, PORNOGRAPHY, NUDITY, WEAPONS, DATING, HATE_SPEECH_AND_EXTREMISM, CHILD_ABUSE, CIPA, EMPTY_DOMAINS, NEWLY_DISCOVERED_DOMAINS, PARKED_DOMAINS, UNREACHABLE_DOMAINS.
unifi_list_devicestool Returns adopted device inventory with MAC, name, model, IP, firmware version, uptime, status (online/offline/upgrading/etc), device_category (ap/switch/gateway/FilesCredentialsEnv varsSensitive pathsread-only (declared)
Returns adopted device inventory with MAC, name, model, IP, firmware version, uptime, status (online/offline/upgrading/etc), device_category (ap/switch/gateway/pdu, or wan for a cable or cellular modem), upgradable flag, connection_network, uplink topology, load_avg, mem_pct, and model_eol. Filter by device_type (ap/switch/gateway/pdu) and status (online/offline/pending/upgrading). Note: device_type=ap correctly excludes USP Smart Power strips. A gateway's ip is the address the controller reports (its active WAN) and lan_ip its LAN address; include_details adds wan1_ip, wan2_ip and any further wanN_ip. Use search to filter by name, IP, or MAC (case-insensitive). Set include_details=true for additional per-device fields: by default (summary=true) compressed radio/port summaries (per radio: tx_power_mode, the stored custom-mode tx_power that applies only when the mode is 'custom', and current_tx_power, the power actually in use); set summary=false to return the full raw tables (radio_table, port_table, network_table, system_stats, wan1/wan2). Pass an entry's MAC to the device tools as mac_address (unifi_get_device_details, unifi_reboot_device, unifi_rename_device, unifi_upgrade_device, unifi_get_switch_ports, unifi_get_port_stats, unifi_set_switch_port_profile, unifi_locate_device, ...). RF scan tools (unifi_trigger_rf_scan, unifi_get_rf_scan_results) use ap_mac for the access point to scan from. API-key inventory uses legacy reads when supported, otherwise limited public inventory. Public results include source_api=integration and integration_id; missing legacy fields are unknown. These IDs are scoped to the Integration inventory tool family — do not pass them to other resource tools. Full details and mutations can require session credentials.
unifi_list_dns_recordstool List all static DNS records configured on the controller. Returns hostname, value, record type, enabled state, and TTL for each record.read-only (declared)
List all static DNS records configured on the controller. Returns hostname, value, record type, enabled state, and TTL for each record.
unifi_list_dpi_applicationstool List DPI applications available for use in firewall rules and OON policies. Returns application names and their compound IDs. Supports name-based search. NOTE: read-only (declared)
List DPI applications available for use in firewall rules and OON policies. Returns application names and their compound IDs. Supports name-based search. NOTE: The official API currently only returns categories 0-1 (IM, P2P). Streaming, social media, and other categories are not yet populated by Ubiquiti. For apps not found here, add via the UniFi UI and read back the IDs from the policy. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console).
unifi_list_dpi_categoriestool List DPI application categories (e.g., 'Instant messengers', 'Peer-to-peer networks', 'Media streaming services'). Categories group applications for DPI classifread-only (declared)
List DPI application categories (e.g., 'Instant messengers', 'Peer-to-peer networks', 'Media streaming services'). Categories group applications for DPI classification. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console).
unifi_list_dynamic_dnstool List all Dynamic DNS provider entries configured on the controller. Returns hostname, service/provider, WAN interface, login, and options for each entry. The prread-only (declared)
List all Dynamic DNS provider entries configured on the controller. Returns hostname, service/provider, WAN interface, login, and options for each entry. The provider password/token is redacted.
unifi_list_eventstool Returns timestamped event log entries (client connects/disconnects, device state changes, firmware updates, config changes) sorted newest-first. Filter by withiread-only (declared)
Returns timestamped event log entries (client connects/disconnects, device state changes, firmware updates, config changes) sorted newest-first. Filter by within_hours (default 24), an exact event_type key (use unifi_get_event_types for recently observed keys), categories (for example ['SECURITY']) and severities (for example ['HIGH', 'VERY_HIGH']) on v2 controllers, and paginate with start/limit. For critical alerts specifically, use unifi_list_alarms instead.
unifi_list_firewall_groupstool List firewall groups (address and port groups) used as reusable objects in firewall policies. Address groups contain IP addresses/CIDRs, port groups contain porread-only (declared)
List firewall groups (address and port groups) used as reusable objects in firewall policies. Address groups contain IP addresses/CIDRs, port groups contain port numbers/ranges. These are referenced by firewall policies via ip_group_id and port_group_id fields.
unifi_list_firewall_policiestool List firewall policies configured on the Unifi Network controller. Returns V2 zone-based targeting (zone_id, matching_target, matching_target_type, IPs, networkread-only (declared)
List firewall policies configured on the Unifi Network controller. Returns V2 zone-based targeting (zone_id, matching_target, matching_target_type, IPs, network IDs, client MACs, IP/port groups, port matching). Filters: search (name substring), action (ALLOW/BLOCK/REJECT), enabled_only, limit (default 50), include_predefined. By default (summary=true) returns a curated entry per policy (id, name, enabled, action, rule_index, description, protocol + source/destination targeting incl. port_matching_type/port/port_group_id when set). Set summary=false for the full fw_from_controller().model_dump() shape including schedule, logging, ip_version, connection_state_type, index, etc.
unifi_list_firewall_zonestool List controller firewall zones (V2 API) with the network IDs assigned to each (networks; resolve them with unifi_list_networks). Returned IDs are V2 controller read-only (declared)
List controller firewall zones (V2 API) with the network IDs assigned to each (networks; resolve them with unifi_list_networks). Returned IDs are V2 controller ObjectIDs, not Integration API UUIDs; use them with the firewall-zone CRUD tools and network firewall_zone_id.
unifi_list_legacy_firewall_rulestool List legacy pre-zone-based firewall rules from the UniFi controller. Use this on sites that still use the legacy firewall engine and return no V2 zone-based firread-only (declared)
List legacy pre-zone-based firewall rules from the UniFi controller. Use this on sites that still use the legacy firewall engine and return no V2 zone-based firewall policies. Returns ruleset, rule_index, action (lowercase accept/drop/reject), source and destination addresses, ports, networks and firewall groups, protocol, connection-state matching, logging, and enabled state.
unifi_list_nat_rulestool List NAT rules from the V2 controller API. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.read-only (declared)
List NAT rules from the V2 controller API. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_list_networkstool Returns configured networks (LAN, WAN, VLAN-only) with name, purpose, IP subnet, VLAN ID, DHCP settings, and enabled state. ip_subnet is the controller's gatewaread-only (declared)
Returns configured networks (LAN, WAN, VLAN-only) with name, purpose, IP subnet, VLAN ID, DHCP settings, and enabled state. ip_subnet is the controller's gateway-address form (gateway IP plus prefix, e.g. '192.168.1.1/24' for the 192.168.1.0/24 network), not the network address. Use to understand network topology and VLAN layout. Filters: search (name/VLAN substring), purpose (corporate/guest/wan/vlan-only), limit (default 25), fields (comma-separated subset). For a single network's full config, use unifi_get_network_details. For wireless SSIDs, use unifi_list_wlans. API-key inventory uses legacy reads when supported, otherwise limited public inventory. Public results include source_api=integration and integration_id; missing legacy fields are unknown. These IDs are scoped to the Integration inventory tool family — do not pass them to other resource tools. Full details and mutations can require session credentials.
unifi_list_oon_policiestool List OON (Object-Oriented Network) policies. These policies control internet access schedules (bedtime blackouts), application blocking (social media, streamingread-only (declared)
List OON (Object-Oriented Network) policies. These policies control internet access schedules (bedtime blackouts), application blocking (social media, streaming), QoS, and policy-based routing.
unifi_list_port_forwardstool List all port forwarding rules on your Unifi Network controller.read-only (declared)
List all port forwarding rules on your Unifi Network controller.
unifi_list_port_profilestool List all port profiles (port configurations) on the controller. Port profiles define VLAN assignment, port isolation, PoE mode, STP, 802.1X, and storm control sread-only (declared)
List all port profiles (port configurations) on the controller. Port profiles define VLAN assignment, port isolation, PoE mode, STP, 802.1X, and storm control settings. Profiles are assigned to switch ports via port overrides.
unifi_list_qos_rulestool List all QoS rules on the Unifi Network controller for the current site.read-only (declared)
List all QoS rules on the Unifi Network controller for the current site.
unifi_list_rogue_apstool List neighboring/rogue APs detected by your access points. Defaults to a compact 100-record page; pass summary=false for raw records in the selected page. Filteread-only (declared)
List neighboring/rogue APs detected by your access points. Defaults to a compact 100-record page; pass summary=false for raw records in the selected page. Filters apply before pagination, limit is at most 500, and pagination metadata includes total_count, returned_count/count, limit, offset, next_offset, and has_more.
unifi_list_routestool List all user-defined static routes for the current site.read-only (declared)
List all user-defined static routes for the current site. Returns route names, destination networks, next-hop addresses, and status. These are manually configured routes, not dynamic or system routes.
unifi_list_traffic_routestool List all traffic routes (policy-based routing rules) for the current site.read-only (declared)
List all traffic routes (policy-based routing rules) for the current site. Traffic routes define how specific traffic is routed based on domains, IP addresses, regions, or target devices. Often used for VPN routing.
unifi_list_usergroupstool List all user groups (bandwidth profiles) for the current site.read-only (declared)
List all user groups (bandwidth profiles) for the current site. User groups define bandwidth limits that can be applied to clients. Each group specifies upload/download speed caps in Kbps.
unifi_list_voucherstool List hotspot vouchers for the current site.read-only (declared)
List hotspot vouchers for the current site. Returns voucher codes, expiration times, usage quotas, and bandwidth limits. Vouchers are used for guest network access in captive portal setups. Supports optional limit, offset, case-insensitive search by code or note (including UI hyphenated codes), and strict fields projection. Deterministic pagination sorts by created_at descending with id descending tie-break for shaped calls; unshaped calls preserve controller return order for backward compatibility.
unifi_list_vpn_clientstool List all configured VPN clients (Wireguard, OpenVPN, etc).read-only (declared)
List all configured VPN clients (Wireguard, OpenVPN, etc).
unifi_list_vpn_serverstool List all configured VPN servers (Wireguard, OpenVPN, L2TP, etc). Teleport is not a VPN server record and never appears here, even when the UI's Settings overvieread-only (declared)
List all configured VPN servers (Wireguard, OpenVPN, L2TP, etc). Teleport is not a VPN server record and never appears here, even when the UI's Settings overview lists it under VPN Server; read it with unifi_get_teleport_settings.
unifi_list_wlanstool List configured Wireless LANs (WLANs) on the Unifi Network controller.read-only (declared)
List configured Wireless LANs (WLANs) on the Unifi Network controller. Filters: search (SSID name substring), enabled_only, limit (default 25). security is 'wpapsk' for every personal mode: read wpa3_support and wpa3_transition to tell WPA2 (no WPA3 support), WPA2/WPA3 (support with transition) and WPA3-only apart. wlan_bands lists the bands the SSID is broadcast on. API-key inventory uses legacy reads when supported, otherwise limited public inventory. Public results include source_api=integration and integration_id; missing legacy fields are unknown. These IDs are scoped to the Integration inventory tool family — do not pass them to other resource tools. Full details and mutations can require session credentials.
unifi_locate_devicetool Toggle device locate mode (LED blinking) to physically identify a device. Works on any UniFi device (switches, APs, gateways). Requires confirmation.
Toggle device locate mode (LED blinking) to physically identify a device. Works on any UniFi device (switches, APs, gateways). Requires confirmation.
unifi_lookup_by_iptool Quick IP-to-client lookup. Returns essential fields (hostname, name, mac, is_online, last_seen) to minimize token usage.FilesCredentialsEnv varsSensitive pathsread-only (declared)
Quick IP-to-client lookup. Returns essential fields (hostname, name, mac, is_online, last_seen) to minimize token usage.
unifi_power_cycle_porttool Power cycle PoE on a specific switch port. This briefly cuts power to the connected PoE device, causing it to reboot. Requires confirmation.destructive (declared)
Power cycle PoE on a specific switch port. This briefly cuts power to the connected PoE device, causing it to reboot. Requires confirmation.
unifi_reboot_devicetool Reboot a specific device by MAC addressdestructive (declared)
Reboot a specific device by MAC address
unifi_recent_eventstool Get recent events from the in-memory websocket buffer. This is fast (no API call) and returns events received via the real-time websocket stream. Supports filteread-only (declared)
Get recent events from the in-memory websocket buffer. This is fast (no API call) and returns events received via the real-time websocket stream. Supports filtering by exact event_type key, client/device mac, and limit. Use this for real-time monitoring; use unifi_list_events for historical queries. The response reports whether the listener is running (listening) and attached to the controller (attached, with last_error when not), the buffer occupancy (buffer_size) and its capacity (buffer_capacity); an empty buffer with attached=false is not 'no events'.
unifi_rename_clienttool Rename a client/device in the Unifi Network controller by MAC address
Rename a client/device in the Unifi Network controller by MAC address
unifi_rename_devicetool Rename a device in the Unifi Network controller by MAC address
Rename a device in the Unifi Network controller by MAC address
unifi_reorder_firewall_policiestool Reorder user-defined firewall policies for a source/destination firewall zone pair. Pass the complete orderedFirewallPolicyIds object obtained from unifi_get_fi
Reorder user-defined firewall policies for a source/destination firewall zone pair. Pass the complete orderedFirewallPolicyIds object obtained from unifi_get_firewall_policy_ordering (beforeSystemDefined + afterSystemDefined arrays). These IDs are integration-API UUIDs scoped to the ordering tool family — they are NOT the policy IDs returned by unifi_list_firewall_policies. Requires confirmation, UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session credentials. The current ordering path requires a legacy connection even when Integration zone UUIDs are supplied.
unifi_revoke_vouchertool Revoke/delete a hotspot voucher by its ID, preventing further usedestructive (declared)
Revoke/delete a hotspot voucher by its ID, preventing further use
unifi_set_client_fixed_aptool Enable or disable a wireless client's fixed access-point association. Enabling requires the MAC address of an adopted access point. Disabling preserves the cont
Enable or disable a wireless client's fixed access-point association. Enabling requires the MAC address of an adopted access point. Disabling preserves the controller's inactive AP MAC. This legacy write requires Network session authentication.
unifi_set_client_ip_settingstool Set fixed IP address and/or local DNS record for a client device.
Set fixed IP address and/or local DNS record for a client device. Allows configuring: - Fixed IP: Assign a static IP address to a client (DHCP reservation). The reservation is saved on the network whose subnet holds the address, or on network_id when given; an address in no configured network, or in several, is refused. The preview shows that network and warns when it differs from the network the client last connected to, where the reservation would not apply. - Local DNS: Create a local DNS hostname for the client (UniFi Network 7.2+) Either setting can be enabled/disabled independently. Releasing a fixed IP while the client's local DNS record stays on is refused by the controller; turn the record off in the same call (local_dns_record_enabled=false).
unifi_set_device_ip_settingstool Set an adopted device's IP settings: DHCP, or a static address with netmask, gateway and DNS. Static mode keeps current values for fields not given. Gateways arFilesCredentialsEnv varsSensitive paths
Set an adopted device's IP settings: DHCP, or a static address with netmask, gateway and DNS. Static mode keeps current values for fields not given. Gateways are refused; their addresses come from the network settings. Requires confirmation; the preview shows the current settings.
unifi_set_device_ledtool Set the LED override state on a specific device. Use 'on' to force LEDs on, 'off' to force them off, or 'default' to use site-wide setting. Requires confirmatioFilesCredentialsEnv varsSensitive paths
Set the LED override state on a specific device. Use 'on' to force LEDs on, 'off' to force them off, or 'default' to use site-wide setting. Requires confirmation.
unifi_set_device_outdoor_modetool Set an access point's outdoor mode override, which decides the channels it may use (in ETSI countries outdoor APs may not use 5 GHz channels 36-64). 'default' fFilesCredentialsEnv varsSensitive paths
Set an access point's outdoor mode override, which decides the channels it may use (in ETSI countries outdoor APs may not use 5 GHz channels 36-64). 'default' follows the model's own setting; 'on' or 'off' forces it. Refused for devices that do not report the setting. Requires confirmation; the preview shows the current value.
unifi_set_firewall_policy_ordertool
No description.
unifi_set_jumbo_framestool Enable or disable jumbo frames on a switch. Note: the UniFi controller requires jumbo frames to be enabled via the UI at least once before the API can toggle it
Enable or disable jumbo frames on a switch. Note: the UniFi controller requires jumbo frames to be enabled via the UI at least once before the API can toggle it. If you get JumboFrameChangeNotAllowed, enable it in the UI first. Requires confirmation.
unifi_set_outlet_statetool Set per-outlet relay state (on/off) and optionally cycle_enabled on a UniFi Smart Power PDU (UP6 / USP-Strip). The controller stores per-outlet desired state indestructive (declared)
Set per-outlet relay state (on/off) and optionally cycle_enabled on a UniFi Smart Power PDU (UP6 / USP-Strip). The controller stores per-outlet desired state in the outlet_overrides array on the device document; this tool reads the existing array, replaces only the entry whose index matches outlet_index, and PUTs the full array back -- preserving all sibling outlets' overrides (name, relay_state, cycle_enabled) verbatim. If no override exists for the target outlet yet, one is created from the outlet's current sensed state. Use unifi_get_pdu_outlets first to inspect current state.
unifi_set_site_ledstool Toggle all device LEDs site-wide on or off. This sets the global LED policy for the site — individual device overrides take precedence. Requires confirmation.
Toggle all device LEDs site-wide on or off. This sets the global LED policy for the site — individual device overrides take precedence. Requires confirmation.
unifi_set_switch_port_profiletool
No description.
unifi_subscribe_eventstool Returns a handle describing how to subscribe to live network events. Provides the MCP resource URI for the event stream and pointers to the buffered-event tool,read-only (declared)
Returns a handle describing how to subscribe to live network events. Provides the MCP resource URI for the event stream and pointers to the buffered-event tool, plus whether the websocket listener is running (listening) and attached (attached, last_error) and the buffer occupancy and capacity. Use this to set up continuous event monitoring.
unifi_toggle_devicetool Enable or disable a device without unadopting it. A disabled device remains adopted but stops passing traffic. Requires confirmation.FilesCredentialsEnv varsSensitive pathsdestructive (declared)
Enable or disable a device without unadopting it. A disabled device remains adopted but stops passing traffic. Requires confirmation.
unifi_toggle_firewall_policytool Enable or disable a specific firewall policy by ID.
Enable or disable a specific firewall policy by ID.
unifi_toggle_nat_ruletool Set a manual V2 NAT rule's enabled state explicitly; setting its current state is a no-op. Pass only the fields you want to change — current values are automati
Set a manual V2 NAT rule's enabled state explicitly; setting its current state is a no-op. Pass only the fields you want to change — current values are automatically preserved. A full fetch-merge-put can overwrite a concurrent edit between fetch and PUT. Requires Network session credentials. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_toggle_oon_policytool Toggle an OON policy on or off. Fetches the current state, flips the enabled flag, and sends the update. Requires confirmation.
Toggle an OON policy on or off. Fetches the current state, flips the enabled flag, and sends the update. Requires confirmation.
unifi_toggle_port_forwardtool Toggle a port forwarding rule on or off on your Unifi Network controller.
Toggle a port forwarding rule on or off on your Unifi Network controller.
unifi_toggle_qos_rule_enabledtool Enable or disable a specific QoS rule by ID. Requires confirmation.
Enable or disable a specific QoS rule by ID. Requires confirmation.
unifi_toggle_traffic_routetool Toggle a traffic route on/off by ID.FilesCredentialsEnv varsSensitive paths
Toggle a traffic route on/off by ID. Enabling an INTERNET route requires explicit CLIENT targets with valid unicast MAC addresses and a verified WAN or VPN client network.
unifi_toggle_wlantool Toggle a WLAN/SSID on or off. Requires confirmation.
Toggle a WLAN/SSID on or off. Requires confirmation.
unifi_trigger_rf_scantool Trigger an RF spectrum scan on an access point. Requires confirmation. The scan takes 5-10 minutes to complete. Some APs have a dedicated scanning radio and sca
Trigger an RF spectrum scan on an access point. Requires confirmation. The scan takes 5-10 minutes to complete. Some APs have a dedicated scanning radio and scan without going offline; others briefly go off-channel which may cause momentary client disconnections. Poll unifi_get_rf_scan_results periodically — results appear only after the scan finishes. Returns per-channel interference levels and utilization across all bands.
unifi_trigger_speedtesttool Trigger a speedtest on the gateway device. Returns immediately; use unifi_get_speedtest_status to poll for results.
Trigger a speedtest on the gateway device. Returns immediately; use unifi_get_speedtest_status to poll for results.
unifi_unauthorize_guesttool Revoke authorization for a guest client by MAC addressdestructive (declared)
Revoke authorization for a guest client by MAC address
unifi_unblock_clienttool Unblock a previously blocked client/device by MAC address
Unblock a previously blocked client/device by MAC address
unifi_update_acl_ruletool Update an existing MAC ACL rule. Pass only the fields you want to change — current values are automatically preserved. Uses the same field names as unifi_list_a
Update an existing MAC ACL rule. Pass only the fields you want to change — current values are automatically preserved. Uses the same field names as unifi_list_acl_rules output: name, acl_index, action, enabled, network_id, source_macs, destination_macs, source_netmask, destination_netmask. To remove a netmask (widen a prefix rule back to an exact match), set clear_source_netmask / clear_destination_netmask = true (passing source_netmask=null is a no-op, not a clear). Requires confirmation.
unifi_update_ap_grouptool Update an existing AP group's configuration. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
Update an existing AP group's configuration. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
unifi_update_autobackup_settingstool Update auto-backup settings. Pass only the fields you want to change — current values are automatically preserved. Fields: autobackup_enabled (bool), autobackup
Update auto-backup settings. Pass only the fields you want to change — current values are automatically preserved. Fields: autobackup_enabled (bool), autobackup_cron_expr (str, cron format), autobackup_days (int, retention days), autobackup_max_files (int, max backup files to keep), autobackup_timezone (str), autobackup_cloud_enabled (bool). Requires confirmation.
unifi_update_client_grouptool Update an existing client group. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
Update an existing client group. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
unifi_update_content_filtertool Update an existing content filtering profile. Pass only the fields you want to change — current values are automatically preserved. client_macs and network_ids
Update an existing content filtering profile. Pass only the fields you want to change — current values are automatically preserved. client_macs and network_ids are additive — both can be set and the filter applies to all. Safe search valid values: GOOGLE, YOUTUBE, BING (only these three are supported). Requires confirmation.
unifi_update_device_radiotool Update radio settings for a specific band on a device with radios (AP, or UDM/gateway with built-in WiFi). Supports tx_power_mode, tx_power (custom dBm), channeFilesCredentialsEnv varsSensitive paths
Update radio settings for a specific band on a device with radios (AP, or UDM/gateway with built-in WiFi). Supports tx_power_mode, tx_power (custom dBm), channel, ht (channel width), min_rssi_enabled, min_rssi, assisted_roaming_enabled (802.11k/v), antenna_gain (dBi), antenna_id (device-wide antenna selection on APs with external-antenna options), vwire_enabled, sens_level_enabled, sens_level. Use unifi_get_device_radio first to see current settings and the device's antennas.
unifi_update_dns_recordtool Update an existing DNS record. Pass only the fields you want to change — current values are automatically preserved. Fields: key (str), value (str), record_type
Update an existing DNS record. Pass only the fields you want to change — current values are automatically preserved. Fields: key (str), value (str), record_type ('A'/'AAAA'/'CNAME'/'MX'/'TXT'/'SRV'), enabled (bool), ttl (int), port (int), priority (int), weight (int). Requires confirmation.unifi_update_dynamic_dnstool Update an existing Dynamic DNS entry. Pass only the fields you want to change — current values are automatically preserved. Fields: host_name (str), service (st
Update an existing Dynamic DNS entry. Pass only the fields you want to change — current values are automatically preserved. Fields: host_name (str), service (str), server (str), login (str), x_password (str), interface ('wan'/'wan2'), custom_service (str), options (list of strings). Requires confirmation.unifi_update_firewall_grouptool Update an existing firewall group. Pass only the fields you want to change — current values are automatically preserved. Accepted fields are name and members; g
Update an existing firewall group. Pass only the fields you want to change — current values are automatically preserved. Accepted fields are name and members; group_type cannot be changed. Requires confirmation.
unifi_update_firewall_policytool Update specific fields of an existing V2 zone-based firewall policy by ID. Accepts: name, description, action (ALLOW/BLOCK/REJECT), enabled, source, destination
Update specific fields of an existing V2 zone-based firewall policy by ID. Accepts: name, description, action (ALLOW/BLOCK/REJECT), enabled, source, destination, protocol, ip_version, logging, connection_state_type, connection_states, schedule. source/destination are deep-merged with the current policy and accept the same targeting and port fields as create (matching_target, port_matching_type, port, port_group_id, client_macs); the merged result is checked for port shape and selector activation, while the zone/IP/NETWORK completeness rules are checked on create only. To change policy order use unifi_reorder_firewall_policies; index is rejected here.
unifi_update_firewall_zonetool Rename an existing firewall zone by ID. Only the name is mutable; network membership is managed via firewall_zone_id on the network. Requires UNIFI_NETWORK_API_
Rename an existing firewall zone by ID. Only the name is mutable; network membership is managed via firewall_zone_id on the network. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session authentication. The ID must come from unifi_list_firewall_zones; it is a V2 controller ObjectID, not an Integration API UUID. Requires confirmation.
unifi_update_gateway_settingstool Update gateway (USG) settings. Pass only the fields you want to change; current values (including nested sub-objects) are automatically preserved via deep-merge
Update gateway (USG) settings. Pass only the fields you want to change; current values (including nested sub-objects) are automatically preserved via deep-merge. Security: geo_ip_filtering_enabled (bool), geo_ip_filtering_block ('block'/'allow'), geo_ip_filtering_countries (CSV ISO codes), geo_ip_filtering_traffic_direction ('both'/'ingress'/'egress'), syn_cookies (bool), broadcast_ping (bool), receive_redirects (bool), send_redirects (bool), dns_verification (object). NAT/UPnP: upnp_enabled (bool), upnp_nat_pmp_enabled (bool), upnp_secure_mode (bool), upnp_wan_interface (str), mss_clamp ('auto'/'custom'/'disabled'). ALG modules: ftp_module, gre_module, h323_module, pptp_module, sip_module, tftp_module (bool). Offloading: offload_accounting (bool), offload_l2_blocking (bool), offload_sch (bool). Conntrack timeouts (int seconds): icmp_timeout, other_timeout, udp_stream_timeout, udp_other_timeout, tcp_established_timeout, tcp_close_timeout, tcp_close_wait_timeout, tcp_fin_wait_timeout, tcp_last_ack_timeout, tcp_syn_recv_timeout, tcp_syn_sent_timeout, tcp_time_wait_timeout, timeout_setting_preference ('auto'/'manual'). Misc: unbind_wan_monitors (bool), echo_server (str, connectivity-monitor echo server for WAN failover). WARNING: changing security/NAT settings (UPnP/NAT-PMP, GeoIP filtering, DNS verification, SYN cookies, broadcast-ping, ICMP redirects, MSS clamp, offloading, or conntrack timeouts) affects gateway-wide security/NAT/reachability. Requires confirmation.unifi_update_mdns_settingstool Update site-wide mDNS service mode, predefined services, or custom services. Pass only the fields you want to change — current values are automatically preserve
Update site-wide mDNS service mode, predefined services, or custom services. Pass only the fields you want to change — current values are automatically preserved. Each provided service list replaces the entire list. Mode 'all' requires both service lists empty; mode 'custom' requires at least one service. Network scope (enabled_for and enabled_for_network_ids) is read-only and preserved. Changes may affect service discovery. Requires confirmation.
unifi_update_nat_ruletool Update a manual V2 NAT rule with verified fresh readback. Pass only the fields you want to change — current values are automatically preserved. A full fetch-mer
Update a manual V2 NAT rule with verified fresh readback. Pass only the fields you want to change — current values are automatically preserved. A full fetch-merge-put can overwrite a concurrent edit between fetch and PUT. Requires Network session credentials. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_update_networktool Update specific fields of an existing network (LAN/VLAN). Pass only the fields you want to change — current values are automatically preserved. Every network fi
Update specific fields of an existing network (LAN/VLAN). Pass only the fields you want to change — current values are automatically preserved. Every network field below is a key inside the update_data dict, not a top-level argument, e.g. update_data={'dhcpd_enabled': false}. Unknown keys are rejected. Basic: name, purpose ('corporate'/'vlan-only'), vlan_enabled (bool), vlan (str), ip_subnet (gateway address/prefix CIDR, e.g. '10.10.20.1/24'), enabled (bool), network_isolation_enabled (bool, corporate only), internet_access_enabled (bool), upnp_lan_enabled (bool), firewall_zone_id (str, V2 firewall-zone ID — assigns the network to a zone; these IDs are scoped to the V2 firewall/network tool family, so do not pass Integration API firewall-zone UUIDs). VPN network entries—site-vpn, remote-user-vpn, vpn-client, and vpn-server—may only use the system-defined Vpn zone; custom-zone assignments are rejected because UniFi persists them without enforcing their policies. DHCP: dhcpd_enabled (bool), dhcpd_start (IP), dhcpd_stop (IP), dhcpd_leasetime (int seconds), auto_scale_enabled (bool), dhcpd_gateway (IP), dhcpd_gateway_enabled (bool), dhcp_relay_enabled (bool), dhcpd_conflict_checking (bool), dhcpguard_enabled (bool, requires dhcpd_ip_1), dhcpd_ip_1 (IP, trusted DHCP server for guard), dhcpd_boot_enabled (bool), dhcpd_boot_server (IP), dhcpd_boot_filename (str), dhcpd_tftp_server (str, DHCP opt 150). DHCP options: dhcpd_dns_1..dhcpd_dns_4 (IPv4), dhcpd_dns_enabled (bool), dhcpd_ntp_1 (IPv4), dhcpd_ntp_2 (IPv4), dhcpd_ntp_enabled (bool), dhcpd_wins_1 (IP), dhcpd_wins_2 (IP), dhcpd_wins_enabled (bool), dhcpd_unifi_controller (IP). DNS: domain_name (str). Multicast: igmp_snooping (bool), igmp_querier_switches (list of {switch_mac, querier_address}), igmp_flood_unknown_multicast (bool). WAN (gateway uplink, purpose='wan' networks): wan_type ('dhcp'/'static'/'pppoe'/'disabled'), wan_networkgroup ('WAN'/'WAN2'), wan_dns_preference ('auto'/'manual'), wan_dns1 (IPv4, required for manual DNS), wan_dns2 (IPv4), wan_load_balance_type ('failover-only'/'weighted'), wan_load_balance_weight (int 0-100), wan_failover_priority (int), wan_sla (str, controller WAN-SLA configuration ID), report_wan_event (bool), wan_smartq_enabled (bool), wan_vlan_enabled (bool), igmp_proxy_upstream (bool), igmp_proxy_for (JSON: 'none' or list of network refs), mac_override_enabled (bool), wan_ip_aliases (list). WAN IPv6 (dual-stack; does not affect IPv4 internet): ipv6_enabled (bool), wan_type_v6 (str), ipv6_setting_preference ('auto'/'manual'), ipv6_wan_delegation_type ('none'/'pd'/'single_network'/'static'), wan_dhcpv6_pd_size (int), wan_dhcpv6_pd_size_auto (bool), wan_ipv6_dns_preference ('auto'/'manual'), wan_ipv6_dns1 (str), wan_ipv6_dns2 (str). LAN IPv6 (per-network): ipv6_interface_type ('none'/'static'/'pd'), ipv6_subnet (str, static only: gateway address/prefix CIDR, e.g. 'fd00:0:0:50::1/64'), ipv6_aliases (list of CIDR strings, 'Additional IPs' — replaces the whole list), ipv6_ra_enabled (bool), ipv6_ra_priority ('high'/'medium'/'low'), ipv6_ra_preferred_lifetime (int seconds), ipv6_client_address_assignment ('slaac'/'dhcpv6'), ipv6_pd_interface (str), ipv6_pd_prefixid (hex str), ipv6_pd_auto_prefixid_enabled (bool), ipv6_pd_start (str), ipv6_pd_stop (str), dhcpdv6_enabled (bool), dhcpdv6_allow_slaac (bool), dhcpdv6_dns_auto (bool), dhcpdv6_dns_1..dhcpdv6_dns_4 (IPv6, manual servers; at least one required when dhcpdv6_dns_auto is false), dhcpdv6_leasetime (int seconds), dhcpdv6_start (str), dhcpdv6_stop (str). WARNING: changing wan_type/wan_networkgroup/DNS/VLAN/failover/load-balance/mac-override on a WAN can interrupt internet connectivity. WARNING: setting ipv6_interface_type='static' on a delegated ('pd') network releases its delegated prefix. Confirmed writes are read back exactly; responses list persisted, unchanged, dropped, and controller-coerced fields. A failed result may represent a partial write and is not a rollback. Requires confirmation.unifi_update_oon_policytool Update an existing OON policy. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
Update an existing OON policy. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
unifi_update_port_forwardtool Update specific fields of an existing port forwarding rule using schema validation. Pass only the fields you want to change — current values are automatically p
Update specific fields of an existing port forwarding rule using schema validation. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
unifi_update_port_profiletool Update an existing port profile. Pass only the fields you want to change — current values are automatically preserved. Note: system profiles with attr_no_edit=t
Update an existing port profile. Pass only the fields you want to change — current values are automatically preserved. Note: system profiles with attr_no_edit=true cannot be modified. Requires confirmation.
unifi_update_qos_ruletool Update specific fields of an existing QoS rule. Requires confirmation.
Update specific fields of an existing QoS rule. Requires confirmation.
unifi_update_routetool Update an existing static route's properties.
Update an existing static route's properties. Can modify name, destination network, next-hop, distance, or enabled status.
unifi_update_snmp_settingstool Update SNMP settings for the site: v1/v2c (enabled, community) and SNMPv3 (enabled_v3, username, x_password). The two services are independent; disabling one leCredentialsEnv varsSensitive paths
Update SNMP settings for the site: v1/v2c (enabled, community) and SNMPv3 (enabled_v3, username, x_password). The two services are independent; disabling one leaves the other listening. Pass only the fields you want to change — current values are automatically preserved. Requires confirm=true to apply changes.
unifi_update_switch_stptool Update STP (Spanning Tree Protocol) configuration for a switch. stp_priority valid values: 4096, 8192, 12288, ..., 61440 (default: 32768). stp_version: 'stp' or
Update STP (Spanning Tree Protocol) configuration for a switch. stp_priority valid values: 4096, 8192, 12288, ..., 61440 (default: 32768). stp_version: 'stp' or 'rstp' (default). Requires confirmation.
unifi_update_teleport_settingstool Change the Teleport VPN client address range (subnet_cidr), for example to move it off a range that collides with networks remote clients visit. Pass only the f
Change the Teleport VPN client address range (subnet_cidr), for example to move it off a range that collides with networks remote clients visit. Pass only the fields you want to change — current values are automatically preserved; subnet_cidr is the only writable field. The value is a private IPv4 gateway address with prefix length (e.g. '10.201.0.1/24', /16 to /29); a range that overlaps any configured network is refused. Teleport stays enabled or disabled as it was. Already-registered clients keep their recorded addresses and may need re-inviting. Requires Network session authentication and confirmation; verifies persistence after applying.
unifi_update_threat_management_settingstool Update site-wide IPS mode/category selection or traffic identification settings and verify persistence. Pass only the fields you want to change — current valuesFilesCredentialsEnv varsSensitive paths
Update site-wide IPS mode/category selection or traffic identification settings and verify persistence. Pass only the fields you want to change — current values are automatically preserved. Use separate calls for IPS and traffic identification fields. Category lists replace the full list and select manual filtering; codes are validated against the gateway catalog. Disabling IPS also disables filtering and clears categories; enabling requires protected networks and nonempty manual categories. Network scope is read-only. ipsInline can only be preserved if already in use. Changes may reduce inspection or disrupt traffic identification and require confirmation. MCP previews show live before/after state; API action previews show submitted arguments only.
unifi_update_traffic_routetool Update a traffic route's settings.FilesCredentialsEnv varsSensitive paths
Update a traffic route's settings.
Pass only the fields you want to change — current values are automatically preserved.
Toggle fields:
- enabled: Enable or disable the traffic route
- kill_switch_enabled: Enable/disable the kill switch (blocks traffic if VPN is down)
Routing-match fields (each REPLACES the whole existing list/value — read the route
first with unifi_get_traffic_route_details, then send the full desired value):
- target_devices: Which clients/networks the route applies to. For INTERNET routes, this must stay a list of explicit CLIENT targets.
[{"type": "CLIENT", "client_mac": "aa:bb:cc:dd:ee:ff"}],
[{"type": "NETWORK", "network_id": "<id>"}], or [{"type": "ALL_CLIENTS"}].
- domains: List of domain objects, e.g. [{"domain": "example.com", "ports": [], "port_ranges": []}].
- ip_addresses: List of IP/subnet objects (for matching_target=IP routes).
- ip_ranges: List of IP-range objects.
- regions: List of ISO country/region codes, e.g. ["US", "CA"].
- network_id: Replace the target network/VPN. INTERNET routes require a verified WAN or VPN client network.
- next_hop: Next-hop IP address (string) for static next-hop routes.
For INTERNET routes, the resulting route must still target only explicit CLIENTs with
valid unicast MAC addresses, through a freshly verified WAN or VPN client network.
ALL_CLIENTS, NETWORK targets and other network types are rejected.
At least one field must be provided.unifi_update_usergrouptool Update an existing user group's name or bandwidth limits.
Update an existing user group's name or bandwidth limits. Use -1 for unlimited bandwidth. Changes affect all clients assigned to this group.
unifi_update_vpn_client_statetool Enable or disable a specific VPN client by ID. Requires confirmation.
Enable or disable a specific VPN client by ID. Requires confirmation.
unifi_update_vpn_server_alternate_addresstool Update the advertised alternate hostname or IPv4 address for a WireGuard VPN server. Pass only the fields you want to change — current values are automatically FilesCredentialsEnv varsSensitive paths
Update the advertised alternate hostname or IPv4 address for a WireGuard VPN server. Pass only the fields you want to change — current values are automatically preserved. Requires Network session authentication and confirmation; verifies persistence after applying. MCP previews read live state; API action previews show submitted arguments only.
unifi_update_vpn_server_statetool Enable or disable a specific VPN server by ID. Requires confirmation.
Enable or disable a specific VPN server by ID. Requires confirmation.
unifi_update_wlantool Update specific fields of an existing WLAN (SSID). Pass only the fields you want to change — current values are automatically preserved. Every WLAN field below
Update specific fields of an existing WLAN (SSID). Pass only the fields you want to change — current values are automatically preserved. Every WLAN field below is a key inside the update_data dict, not a top-level argument, e.g. update_data={'enabled': false, 'hide_ssid': true}. Unknown keys are rejected. Basic: name (str), security ('open'/'wpapsk'/'wpa2-psk'), x_passphrase (str), enabled (bool), hide_ssid (bool), guest_policy (controller-dependent bool; may be reported as dropped), usergroup_id (str), networkconf_id (str). Security: wpa3_support (bool), wpa3_transition (bool), pmf_mode ('disabled'/'optional'/'required'), fast_roaming_enabled (bool), group_rekey (int seconds, 0=disabled). Roaming: rrm_enabled (bool, 802.11k neighbour reports), roaming_assistant_na_enabled (bool), roaming_assistant_na_rssi (int dBm, 5GHz kick threshold e.g. -77), roaming_assistant_6e_enabled (bool), roaming_assistant_6e_rssi (int dBm, 6GHz kick threshold e.g. -88). Access control: mac_filter_enabled (bool), mac_filter_policy ('allow'/'deny'), mac_filter_list (list of MAC strings), l2_isolation (bool). Radio: wlan_band ('both'/'2g'/'5g'), multicast_enhance_enabled (bool), dtim_mode ('default'/'custom'), dtim_na (int 1-255), dtim_ng (int 1-255), minrate_setting_preference ('auto'/'manual'), minrate_ng_enabled (bool), minrate_ng_data_rate_kbps (int), minrate_na_enabled (bool), minrate_na_data_rate_kbps (int). Scheduling: schedule_enabled (bool), schedule_reversed (bool), schedule (list[str], e.g. 'mon-fri|0100-0700'), schedule_with_duration (list of objects with duration_minutes, optional name, start_days_of_week, start_hour, start_minute). Other: uapsd_enabled (bool), proxy_arp (bool), iapp_enabled (bool). Confirmed writes are read back exactly; responses list persisted, unchanged, dropped, and controller-coerced fields. A failed result may represent a partial write and is not a rollback. Requires confirmation.unifi_upgrade_devicetool Initiate a firmware upgrade for a device by MAC address (uses cached firmware by default)destructive (declared)
Initiate a firmware upgrade for a device by MAC address (uses cached firmware by default)
Text the model reads (339)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
access_list_credentials tool
Lists all access credentials (NFC cards, PINs, mobile credentials) with their type, status, and assigned user.
access_get_credential tool
Returns detailed information for a single access credential including type, status, assigned user, and creation date.
access_create_credential tool
Create a new access credential (NFC card, PIN, or mobile credential) and assign it to a user. Requires confirm=true to execute. Only available via local proxy session.
access_revoke_credential tool
Revoke (delete) an access credential. This permanently removes the credential from the system. Requires confirm=true to execute. Only available via local proxy session.
access_list_devices tool
Lists all Access hardware devices (hubs, readers, relays, intercoms) with their name, type, connection state, and firmware version.
access_get_device tool
Returns detailed information for a single Access device including name, type, connection state, firmware version, MAC, and IP address.
access_reboot_device tool
Reboot an Access hardware device (hub, reader, relay, intercom). The device will be temporarily offline during reboot. Requires confirm=true to execute. Only available via local proxy session.
access_get_device_configs tool
Returns a device's settings (its configs[] array) — the per-device settings the Access web UI edits, such as the reader voice greeting. Each entry is a {key, value, tag} record; tags group entries by category (device_setting, device_extra, hub_action, hub_power, wiring_state, credential). Credential-tagged and secret-named values are redacted. Use this to discover the exact keys before calling access_update_device_config. Only available via local proxy session.access_update_device_config tool
Update a device's settings (its configs[] entries), e.g. the reader voice greeting. Pass 'updates' as a {key: value} map; only keys the device already exposes may be set (call access_get_device_configs first to discover them), and credential/secret keys are refused. Requires confirm=true to execute; confirm=false returns a preview of the current→proposed change. Only available via local proxy session.access_list_doors tool
Lists all doors managed by the Access controller with their name, lock state, and connection status. Use to get an overview of all doors.
access_get_door tool
Returns detailed information for a single door including lock state, configuration, and connected devices.
access_unlock_door tool
Unlock a door for a specified duration. This is a physical real-world action. Requires confirm=true to execute. Default duration is 2 seconds.
access_lock_door tool
Lock a door immediately. This is a physical real-world action. Requires confirm=true to execute. Uses the Access API client when available, with local proxy fallback.
access_get_door_status tool
Returns the current lock and position status for a single door. Lightweight alternative to access_get_door when you only need state info.
access_list_door_groups tool
Lists all door groups configured on the Access controller. Door groups organize doors for policy assignment. Only available via local proxy session.
access_list_events tool
Query access events from the controller with optional filters. Returns events such as door unlocks, access denials, and system events. Supports filtering by time range, door, user, and result limit. For real-time buffer events use access_recent_events.
access_get_event tool
Returns detailed information for a single access event including event type, door, user, timestamp, and result.
access_recent_events tool
Get recent events from the in-memory websocket buffer. Fast (no API call). Supports filtering by event type and door. Use for real-time monitoring; use access_list_events for historical queries.
access_subscribe_events tool
Returns instructions for subscribing to real-time Access events. Provides the MCP resource URI for the event stream and guidance on polling intervals. Use this to set up continuous event monitoring.
access_get_activity_summary tool
Get an aggregated activity summary for Access events over a time period. Shows event counts, breakdowns by type, and trends. Optionally scope to a single door. Only available via local proxy session.
access_list_policies tool
Lists all access policies configured on the Access controller. Shows policy name, assigned doors, schedules, and user groups.
access_get_policy tool
Returns detailed information for a single access policy including assigned doors, schedule, user groups, and configuration.
access_list_schedules tool
Lists all access schedules configured on the Access controller.
access_update_policy tool
Update an access policy's configuration. Supported fields include name, door_ids, schedule_id, user_group_ids, and enabled. Requires confirm=true to apply. Only available via local proxy session.
access_get_system_info tool
Returns Access controller model, firmware version, uptime, and connected device counts. Use for basic health checks and capacity overview.
access_get_health tool
Returns Access system health summary including API client and proxy session status. Use to verify connectivity and diagnose auth path issues.
access_list_users tool
Lists all users registered in the Access controller with their access credentials and groups. Use to audit who has physical access or to look up a specific user.
access_list_visitors tool
List visitor passes from the UniFi Access Developer API. Returned UUIDs are scoped to the Access Developer API visitor tool family — pass them only to access_get_visitor and access_delete_visitor; do not pass them to other Access user or credential tools.
access_get_visitor tool
Return one visitor pass from the UniFi Access Developer API. The visitor UUID must come from access_list_visitors and is scoped to this visitor tool family — do not pass IDs from other Access user or credential tools.
access_create_visitor tool
Create a visitor pass in the UniFi Access Developer API. The returned UUID is scoped to the Access Developer API visitor tool family — use it only with access_get_visitor and access_delete_visitor. Requires a UniFi Access API token and confirm=true to execute.
access_delete_visitor tool
Delete a visitor pass through the UniFi Access Developer API, revoking its access; the controller retains a cancelled historical record. The UUID must come from access_list_visitors and is scoped to this visitor tool family — do not pass IDs from other Access user or credential tools. Requires an Access API token and confirm=true.
innerspace_list_placed_devices tool
innerspace_list_access_points tool
innerspace_list_switches tool
innerspace_list_inventory tool
innerspace_list_floor_plans tool
Lists the floor plans of the InnerSpace project with their scale and image placement. Optionally filtered by site. Read-only. These IDs are scoped to the InnerSpace tool family — do not pass them to other products' tools.
innerspace_get_plan_asset tool
Returns one floor plan's image metadata and the resource URI to read the image from. Read-only. These IDs are scoped to the InnerSpace tool family — do not pass them to other products' tools.
innerspace_get_project tool
Returns the InnerSpace project: its title, floor plans, wall types and attenuation-object (RF obstacle) types. Lengths are in the project's unit unless unit is given; include_shapes adds every shape (large). Read-only. These IDs are scoped to the InnerSpace tool family — do not pass them to other products' tools.
innerspace_list_walls tool
Lists the walls of one floor plan in the plan's own coordinate frame, in the project's unit unless unit is given. Cut at limit. Read-only. These IDs are scoped to the InnerSpace tool family — do not pass them to other products' tools.
innerspace_get_status tool
Reports whether the InnerSpace application is installed and running on the UniFi OS console, with its installed version and any update available. Read-only. Run this first when other InnerSpace tools report that the application is not installed or not running.
unifi_list_acl_rules tool
List MAC ACL rules (Policy Engine) for Layer 2 access control. These rules control which devices can communicate at Layer 2 within a VLAN.
unifi_get_acl_rule_details tool
Get detailed configuration for a specific MAC ACL rule by ID. Returns the same field names as unifi_list_acl_rules.
unifi_create_acl_rule tool
Create a new MAC ACL rule for Layer 2 access control within a VLAN. Uses the same field names as unifi_list_acl_rules output — source_macs, destination_macs, network_id, action, etc. Empty MAC list = match any device. Optionally apply a netmask (source_netmask/destination_netmask) to match a leading-bit prefix instead of exact MACs. Requires confirmation.
unifi_update_acl_rule tool
Update an existing MAC ACL rule. Pass only the fields you want to change — current values are automatically preserved. Uses the same field names as unifi_list_acl_rules output: name, acl_index, action, enabled, network_id, source_macs, destination_macs, source_netmask, destination_netmask. To remove a netmask (widen a prefix rule back to an exact match), set clear_source_netmask / clear_destination_netmask = true (passing source_netmask=null is a no-op, not a clear). Requires confirmation.
unifi_delete_acl_rule tool
Delete a MAC ACL rule. Requires confirmation. WARNING: Removing an ALLOW rule may block device communication. Removing a BLOCK rule may open access.
unifi_list_client_groups tool
List client groups (network member groups). Groups organize devices by MAC address for use in OON policies and firewall rules.
unifi_get_client_group_details tool
Get detailed configuration for a specific client group by ID.
unifi_create_client_group tool
Create a new client group (network member group). Groups organize devices by MAC address for use in OON policies and firewall rules. Requires confirmation.
unifi_update_client_group tool
Update an existing client group. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
unifi_delete_client_group tool
Delete a client group. Requires confirmation. WARNING: Deleting a group may affect OON policies and firewall rules that reference it.
unifi_lookup_by_ip tool
Quick IP-to-client lookup. Returns essential fields (hostname, name, mac, is_online, last_seen) to minimize token usage.
unifi_list_clients tool
Returns connected clients with mac, name, hostname, ip, status (online/offline), connection type (wired/wireless), and for wireless clients: ssid, signal_dbm, channel, radio. Clients with a DHCP reservation also carry fixed_ip. Filter by filter_type (all/wired/wireless/thread), set include_offline=true to add offline/historical clients to the connected ones (connected clients keep their live status and wireless fields). Use search to filter by name/hostname/IP/MAC (case-insensitive). For a single client's full raw object, use unifi_get_client_details. For IP-to-client lookup, use unifi_lookup_by_ip. Pass an entry's mac to the client tools as mac_address (unifi_get_client_details, unifi_block_client, unifi_rename_client, unifi_get_client_sessions, unifi_get_client_dpi_traffic, unifi_get_client_wifi_details, unifi_recent_events). filter_type='thread' lists connected Matter-over-Thread end devices (session credentials; Network 11+). They have no MAC and carry thread_client_id, Thread network, channel, signal, parent and border router instead, so they cannot be passed to the MAC-based client tools. filter_type='all' returns wired and Wi-Fi clients and adds thread_client_count when the controller has Thread clients. API-key inventory uses legacy reads when supported, otherwise limited public inventory. Public results include source_api=integration and integration_id; missing legacy fields are unknown. These IDs are scoped to the Integration inventory tool family — do not pass them to other resource tools. include_offline=true requires session credentials for historical inventory. Full details and mutations can require session credentials.
unifi_get_client_details tool
Returns client data for one client by MAC address. By default (summary=false) returns the full raw client object — all controller-reported fields, with the typed/normalized shape (ISO timestamps, derived status, null-safe name/hostname) layered on top of the merged live /stat/sta + /rest/user data. Set summary=true to trim to selected sections via include (basic, network, wireless, traffic, fingerprint, all). For a summary of all clients, use unifi_list_clients.
unifi_list_blocked_clients tool
Lists clients/devices currently blocked from the network. Each entry includes mac, hostname, name, last_seen, blocked. Pass an entry's mac to unifi_unblock_client as mac_address.
unifi_block_client tool
Block a client/device from the network by MAC address
unifi_unblock_client tool
Unblock a previously blocked client/device by MAC address
unifi_rename_client tool
Rename a client/device in the Unifi Network controller by MAC address
unifi_force_reconnect_client tool
Force a client to reconnect to the network (kick) by MAC address
unifi_forget_client tool
Remove/forget a client from the controller's known client history by MAC address. This permanently deletes the client record including its name, notes, fixed IP settings, and historical stats. The client will reappear as a new unknown device if it reconnects. Only known clients (with a user-table record) can be forgotten; a client that appears only in historical statistics returns an error and nothing is removed.
unifi_authorize_guest tool
Authorize a guest client to access the guest network by MAC address
unifi_unauthorize_guest tool
Revoke authorization for a guest client by MAC address
unifi_set_client_ip_settings tool
Set fixed IP address and/or local DNS record for a client device. Allows configuring: - Fixed IP: Assign a static IP address to a client (DHCP reservation). The reservation is saved on the network whose subnet holds the address, or on network_id when given; an address in no configured network, or in several, is refused. The preview shows that network and warns when it differs from the network the client last connected to, where the reservation would not apply. - Local DNS: Create a local DNS hostname for the client (UniFi Network 7.2+) Either setting can be enabled/disabled independently. Releasing a fixed IP while the client's local DNS record stays on is refused by the controller; turn the record off in the same call (local_dns_record_enabled=false).
unifi_set_client_fixed_ap tool
Enable or disable a wireless client's fixed access-point association. Enabling requires the MAC address of an adopted access point. Disabling preserves the controller's inactive AP MAC. This legacy write requires Network session authentication.
unifi_list_content_filters tool
List content filtering profiles. Profiles control DNS-based category blocking, safe search enforcement (GOOGLE, YOUTUBE, BING), and domain allow/block lists. Profiles can target specific clients by MAC or entire networks by ID. Common categories: FAMILY, ADVERTISEMENT, MALWARE, PHISHING, BOTNETS, SPAM, SPYWARE, HACKING, ANONYMIZERS, DNS_TUNNELING, ADULT, ALCOHOL, DRUGS, GAMBLING, VIOLENCE, PORNOGRAPHY, NUDITY, WEAPONS, DATING, HATE_SPEECH_AND_EXTREMISM, CHILD_ABUSE, CIPA, EMPTY_DOMAINS, NEWLY_DISCOVERED_DOMAINS, PARKED_DOMAINS, UNREACHABLE_DOMAINS.
unifi_get_content_filter_details tool
Get detailed configuration for a specific content filtering profile by ID. Returns the full profile including categories, client MACs, network IDs, safe search settings, and allow/block lists.
unifi_create_content_filter tool
Create a content filtering profile with a non-empty blocked_categories list and exactly one non-empty client_macs or network_ids scope. Profiles start disabled with an ALWAYS all-day schedule unless those fields are explicitly set. Requires confirmation.
unifi_update_content_filter tool
Update an existing content filtering profile. Pass only the fields you want to change — current values are automatically preserved. client_macs and network_ids are additive — both can be set and the filter applies to all. Safe search valid values: GOOGLE, YOUTUBE, BING (only these three are supported). Requires confirmation.
unifi_delete_content_filter tool
Delete a content filtering profile. Requires confirmation. WARNING: Deleting a profile removes DNS-based blocking for all targeted clients/networks.
unifi_list_devices tool
Returns adopted device inventory with MAC, name, model, IP, firmware version, uptime, status (online/offline/upgrading/etc), device_category (ap/switch/gateway/pdu, or wan for a cable or cellular modem), upgradable flag, connection_network, uplink topology, load_avg, mem_pct, and model_eol. Filter by device_type (ap/switch/gateway/pdu) and status (online/offline/pending/upgrading). Note: device_type=ap correctly excludes USP Smart Power strips. A gateway's ip is the address the controller reports (its active WAN) and lan_ip its LAN address; include_details adds wan1_ip, wan2_ip and any further wanN_ip. Use search to filter by name, IP, or MAC (case-insensitive). Set include_details=true for additional per-device fields: by default (summary=true) compressed radio/port summaries (per radio: tx_power_mode, the stored custom-mode tx_power that applies only when the mode is 'custom', and current_tx_power, the power actually in use); set summary=false to return the full raw tables (radio_table, port_table, network_table, system_stats, wan1/wan2). Pass an entry's MAC to the device tools as mac_address (unifi_get_device_details, unifi_reboot_device, unifi_rename_device, unifi_upgrade_device, unifi_get_switch_ports, unifi_get_port_stats, unifi_set_switch_port_profile, unifi_locate_device, ...). RF scan tools (unifi_trigger_rf_scan, unifi_get_rf_scan_results) use ap_mac for the access point to scan from. API-key inventory uses legacy reads when supported, otherwise limited public inventory. Public results include source_api=integration and integration_id; missing legacy fields are unknown. These IDs are scoped to the Integration inventory tool family — do not pass them to other resource tools. Full details and mutations can require session credentials.
unifi_get_device_details tool
Returns device data for one device by MAC address. By default (summary=false) returns the full raw device object — all controller-reported fields including radio tables, port tables, system stats, WAN info, firmware details. Set summary=true to trim to selected sections via include (basic, ports, radios, stats, uplink, lldp, all). Port fields (summary mode): - last_seen_mac: last MAC that sent traffic on port (may be wireless client traffic, not reliable) - lldp_neighbor: actual connected infrastructure device (from LLDP, reliable for switches/APs) Examples: <no args> (full raw); summary=true,include='basic' (minimal); summary=true,include='basic,ports' (switches); summary=true,include='basic,radios' (APs).
unifi_reboot_device tool
Reboot a specific device by MAC address
unifi_rename_device tool
Rename a device in the Unifi Network controller by MAC address
unifi_adopt_device tool
Adopt a pending device into the Unifi Network by MAC address
unifi_upgrade_device tool
Initiate a firmware upgrade for a device by MAC address (uses cached firmware by default)
unifi_get_device_radio tool
Get radio configuration and live statistics for a device with radios (AP, or UDM/gateway with built-in WiFi). Returns per-band config (channel, tx_power, channel width, min_rssi) and live stats (actual tx_power, channel utilization, client count, retries).
unifi_update_device_radio tool
Update radio settings for a specific band on a device with radios (AP, or UDM/gateway with built-in WiFi). Supports tx_power_mode, tx_power (custom dBm), channel, ht (channel width), min_rssi_enabled, min_rssi, assisted_roaming_enabled (802.11k/v), antenna_gain (dBi), antenna_id (device-wide antenna selection on APs with external-antenna options), vwire_enabled, sens_level_enabled, sens_level. Use unifi_get_device_radio first to see current settings and the device's antennas.
unifi_locate_device tool
Toggle device locate mode (LED blinking) to physically identify a device. Works on any UniFi device (switches, APs, gateways). Requires confirmation.
unifi_force_provision_device tool
Force re-provision a device, pushing the current configuration from the controller to the device. Works on any UniFi device (switches, APs, gateways). Useful after manual changes or to resolve config drift. Requires confirmation.
unifi_trigger_speedtest tool
Trigger a speedtest on the gateway device. Returns immediately; use unifi_get_speedtest_status to poll for results.
unifi_get_speedtest_status tool
Check the status of a running speedtest on the gateway.
unifi_list_rogue_aps tool
List neighboring/rogue APs detected by your access points. Defaults to a compact 100-record page; pass summary=false for raw records in the selected page. Filters apply before pagination, limit is at most 500, and pagination metadata includes total_count, returned_count/count, limit, offset, next_offset, and has_more.
unifi_trigger_rf_scan tool
Trigger an RF spectrum scan on an access point. Requires confirmation. The scan takes 5-10 minutes to complete. Some APs have a dedicated scanning radio and scan without going offline; others briefly go off-channel which may cause momentary client disconnections. Poll unifi_get_rf_scan_results periodically — results appear only after the scan finishes. Returns per-channel interference levels and utilization across all bands.
unifi_get_rf_scan_results tool
Get RF spectrum scan results for an access point. Returns per-channel interference levels (dBm), utilization (%), and BSS counts for each radio band. Trigger a scan first with unifi_trigger_rf_scan if no results are available. Scans take 5-10 minutes — if spectrum_scanning is true, the scan is still in progress.
unifi_list_available_channels tool
List allowed RF channels for the site's regulatory domain. Returns per-band channel lists with DFS status and max power. Useful for planning channel assignments.
unifi_set_device_led tool
Set the LED override state on a specific device. Use 'on' to force LEDs on, 'off' to force them off, or 'default' to use site-wide setting. Requires confirmation.
unifi_set_device_outdoor_mode tool
Set an access point's outdoor mode override, which decides the channels it may use (in ETSI countries outdoor APs may not use 5 GHz channels 36-64). 'default' follows the model's own setting; 'on' or 'off' forces it. Refused for devices that do not report the setting. Requires confirmation; the preview shows the current value.
unifi_set_device_ip_settings tool
Set an adopted device's IP settings: DHCP, or a static address with netmask, gateway and DNS. Static mode keeps current values for fields not given. Gateways are refused; their addresses come from the network settings. Requires confirmation; the preview shows the current settings.
unifi_toggle_device tool
Enable or disable a device without unadopting it. A disabled device remains adopted but stops passing traffic. Requires confirmation.
unifi_set_site_leds tool
Toggle all device LEDs site-wide on or off. This sets the global LED policy for the site — individual device overrides take precedence. Requires confirmation.
unifi_get_pdu_outlets tool
Return per-outlet state for a UniFi Smart Power PDU (UP6 / USP-Strip). Combines the device's sensed outlet_table (live relay_state, cycle_enabled, has_relay, has_metering) with the controller's desired outlet_overrides so callers see both reported and intended state per outlet. Returns an error if the device is not a PDU.
unifi_set_outlet_state tool
Set per-outlet relay state (on/off) and optionally cycle_enabled on a UniFi Smart Power PDU (UP6 / USP-Strip). The controller stores per-outlet desired state in the outlet_overrides array on the device document; this tool reads the existing array, replaces only the entry whose index matches outlet_index, and PUTs the full array back -- preserving all sibling outlets' overrides (name, relay_state, cycle_enabled) verbatim. If no override exists for the target outlet yet, one is created from the outlet's current sensed state. Use unifi_get_pdu_outlets first to inspect current state.
unifi_list_dns_records tool
List all static DNS records configured on the controller. Returns hostname, value, record type, enabled state, and TTL for each record.
unifi_get_dns_record_details tool
Get details for a specific DNS record by ID.
unifi_create_dns_record tool
Create a new static DNS record. Required: key (hostname, e.g. 'myhost.example.com'), value (IP or target hostname), record_type ('A'/'AAAA'/'CNAME'/'MX'/'TXT'/'SRV'). Optional: enabled (bool, default true), ttl (int, 0=default 300s), port (int, for SRV), priority (int, for MX/SRV), weight (int, for SRV). Requires confirmation.unifi_update_dns_record tool
Update an existing DNS record. Pass only the fields you want to change — current values are automatically preserved. Fields: key (str), value (str), record_type ('A'/'AAAA'/'CNAME'/'MX'/'TXT'/'SRV'), enabled (bool), ttl (int), port (int), priority (int), weight (int). Requires confirmation.unifi_delete_dns_record tool
Delete a static DNS record. Use unifi_list_dns_records to find record IDs. Requires confirmation.
unifi_list_dpi_applications tool
List DPI applications available for use in firewall rules and OON policies. Returns application names and their compound IDs. Supports name-based search. NOTE: The official API currently only returns categories 0-1 (IM, P2P). Streaming, social media, and other categories are not yet populated by Ubiquiti. For apps not found here, add via the UniFi UI and read back the IDs from the policy. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console).
unifi_list_dpi_categories tool
List DPI application categories (e.g., 'Instant messengers', 'Peer-to-peer networks', 'Media streaming services'). Categories group applications for DPI classification. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console).
unifi_list_dynamic_dns tool
List all Dynamic DNS provider entries configured on the controller. Returns hostname, service/provider, WAN interface, login, and options for each entry. The provider password/token is redacted.
unifi_get_dynamic_dns_entry_details tool
Get details for a specific Dynamic DNS entry by ID. The provider password/token is redacted.
unifi_create_dynamic_dns tool
Create a new Dynamic DNS provider entry. Required: host_name (hostname to keep updated, e.g. 'home.example.com'), service (provider: 'dyndns'/'noip'/'namecheap'/'cloudflare'/'custom'/...). Optional: interface ('wan' [default] or 'wan2'), login (username), x_password (password/token), server + custom_service (for the 'custom' service), options (list of strings). Requires confirmation.unifi_update_dynamic_dns tool
Update an existing Dynamic DNS entry. Pass only the fields you want to change — current values are automatically preserved. Fields: host_name (str), service (str), server (str), login (str), x_password (str), interface ('wan'/'wan2'), custom_service (str), options (list of strings). Requires confirmation.unifi_delete_dynamic_dns tool
Delete a Dynamic DNS entry. Use unifi_list_dynamic_dns to find entry IDs. Requires confirmation.
unifi_list_events tool
Returns timestamped event log entries (client connects/disconnects, device state changes, firmware updates, config changes) sorted newest-first. Filter by within_hours (default 24), an exact event_type key (use unifi_get_event_types for recently observed keys), categories (for example ['SECURITY']) and severities (for example ['HIGH', 'VERY_HIGH']) on v2 controllers, and paginate with start/limit. For critical alerts specifically, use unifi_list_alarms instead.
unifi_list_alarms tool
Returns active alarms (security alerts, connectivity issues, firmware warnings). Each alarm includes type, message, timestamp, and related device/client MAC. By default shows only unresolved alarms; set include_archived=true for history. For general event logs (non-critical), use unifi_list_events.
unifi_recent_events tool
Get recent events from the in-memory websocket buffer. This is fast (no API call) and returns events received via the real-time websocket stream. Supports filtering by exact event_type key, client/device mac, and limit. Use this for real-time monitoring; use unifi_list_events for historical queries. The response reports whether the listener is running (listening) and attached to the controller (attached, with last_error when not), the buffer occupancy (buffer_size) and its capacity (buffer_capacity); an empty buffer with attached=false is not 'no events'.
unifi_subscribe_events tool
Returns a handle describing how to subscribe to live network events. Provides the MCP resource URI for the event stream and pointers to the buffered-event tool, plus whether the websocket listener is running (listening) and attached (attached, last_error) and the buffer occupancy and capacity. Use this to set up continuous event monitoring.
unifi_get_event_types tool
Get recently observed exact event keys for filtering events. Use a returned key with the unifi_list_events event_type parameter. Keys are sampled from the 1,000 most recent events within the last 7 days, so event types absent from that sample are not included.
unifi_archive_alarm tool
Archive (resolve/dismiss) a specific alarm by its ID
unifi_archive_all_alarms tool
Archive (resolve/dismiss) all active alarms
unifi_list_firewall_policies tool
List firewall policies configured on the Unifi Network controller. Returns V2 zone-based targeting (zone_id, matching_target, matching_target_type, IPs, network IDs, client MACs, IP/port groups, port matching). Filters: search (name substring), action (ALLOW/BLOCK/REJECT), enabled_only, limit (default 50), include_predefined. By default (summary=true) returns a curated entry per policy (id, name, enabled, action, rule_index, description, protocol + source/destination targeting incl. port_matching_type/port/port_group_id when set). Set summary=false for the full fw_from_controller().model_dump() shape including schedule, logging, ip_version, connection_state_type, index, etc.
unifi_get_firewall_policy_details tool
Get detailed configuration for a specific firewall policy by ID.
unifi_toggle_firewall_policy tool
Enable or disable a specific firewall policy by ID.
unifi_create_firewall_policy tool
Create a V2 zone-based firewall policy with schema validation. Required: name, action (ALLOW/BLOCK/REJECT), source (zone_id + matching_target), destination (same structure). For specific IP targeting: matching_target='IP', matching_target_type='SPECIFIC', ips=[...]. For network targeting: matching_target='NETWORK', matching_target_type='OBJECT', network_ids=[...]. For any in zone: matching_target='ANY'. For client targeting: matching_target='CLIENT', client_macs=[...]. For port targeting (same source/destination dict): port_matching_type='SPECIFIC', port='53,853' (a single string, not a 'ports' array) or port_matching_type='OBJECT', port_group_id=<port group>; set protocol to tcp, udp or tcp_udp. Use unifi_list_firewall_zones to discover zone_ids; unifi_list_networks for network_ids; unifi_list_firewall_groups for ip_group_id/port_group_id.
unifi_update_firewall_policy tool
Update specific fields of an existing V2 zone-based firewall policy by ID. Accepts: name, description, action (ALLOW/BLOCK/REJECT), enabled, source, destination, protocol, ip_version, logging, connection_state_type, connection_states, schedule. source/destination are deep-merged with the current policy and accept the same targeting and port fields as create (matching_target, port_matching_type, port, port_group_id, client_macs); the merged result is checked for port shape and selector activation, while the zone/IP/NETWORK completeness rules are checked on create only. To change policy order use unifi_reorder_firewall_policies; index is rejected here.
unifi_get_firewall_policy_ordering tool
Get user-defined firewall policy ordering for a source/destination firewall zone pair. Returns policy IDs from the UniFi public integration API (UUIDs); these IDs are scoped to the ordering tool family — pass them ONLY to unifi_reorder_firewall_policies. They do NOT correspond to the policy IDs returned by unifi_list_firewall_policies or any other controller-API firewall tool. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session credentials. The current ordering path requires a legacy connection even when Integration zone UUIDs are supplied.
unifi_reorder_firewall_policies tool
Reorder user-defined firewall policies for a source/destination firewall zone pair. Pass the complete orderedFirewallPolicyIds object obtained from unifi_get_firewall_policy_ordering (beforeSystemDefined + afterSystemDefined arrays). These IDs are integration-API UUIDs scoped to the ordering tool family — they are NOT the policy IDs returned by unifi_list_firewall_policies. Requires confirmation, UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session credentials. The current ordering path requires a legacy connection even when Integration zone UUIDs are supplied.
unifi_get_firewall_policy_order tool
unifi_set_firewall_policy_order tool
unifi_list_firewall_zones tool
List controller firewall zones (V2 API) with the network IDs assigned to each (networks; resolve them with unifi_list_networks). Returned IDs are V2 controller ObjectIDs, not Integration API UUIDs; use them with the firewall-zone CRUD tools and network firewall_zone_id.
unifi_create_firewall_zone tool
Create a new firewall zone. Zones group networks for zone-based firewall policy targeting. Network assignment happens separately via firewall_zone_id on unifi_update_network. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session authentication. Returns a V2 controller ObjectID, not an Integration API UUID. Requires confirmation.
unifi_update_firewall_zone tool
Rename an existing firewall zone by ID. Only the name is mutable; network membership is managed via firewall_zone_id on the network. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session authentication. The ID must come from unifi_list_firewall_zones; it is a V2 controller ObjectID, not an Integration API UUID. Requires confirmation.
unifi_delete_firewall_zone tool
Delete a firewall zone by ID. System-defined zones cannot be deleted. Requires UNIFI_NETWORK_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console) and session authentication. The ID must come from unifi_list_firewall_zones; it is a V2 controller ObjectID, not an Integration API UUID. Requires confirmation.
unifi_list_legacy_firewall_rules tool
List legacy pre-zone-based firewall rules from the UniFi controller. Use this on sites that still use the legacy firewall engine and return no V2 zone-based firewall policies. Returns ruleset, rule_index, action (lowercase accept/drop/reject), source and destination addresses, ports, networks and firewall groups, protocol, connection-state matching, logging, and enabled state.
unifi_list_firewall_groups tool
List firewall groups (address and port groups) used as reusable objects in firewall policies. Address groups contain IP addresses/CIDRs, port groups contain port numbers/ranges. These are referenced by firewall policies via ip_group_id and port_group_id fields.
unifi_get_firewall_group_details tool
Get detailed configuration for a specific firewall group by ID.
unifi_create_firewall_group tool
Create a new firewall group (address or port group). group_type must be 'address-group' (for IPs/CIDRs), 'ipv6-address-group', or 'port-group' (for port numbers/ranges). IMPORTANT: group_type cannot be changed after creation. members format: addresses use ['10.0.0.1', '10.0.0.0/24'], ports use ['80', '443', '8080-8090']. Requires confirmation.
unifi_update_firewall_group tool
Update an existing firewall group. Pass only the fields you want to change — current values are automatically preserved. Accepted fields are name and members; group_type cannot be changed. Requires confirmation.
unifi_delete_firewall_group tool
Delete a firewall group. Requires confirmation. WARNING: Firewall policies referencing this group via ip_group_id or port_group_id may break.
unifi_delete_firewall_policy tool
Delete a firewall policy by ID. Requires confirmation. WARNING: Removing an ALLOW rule may block traffic. Removing a BLOCK rule may open access.
unifi_get_gateway_settings tool
Get the gateway (USG) settings: security (GeoIP filtering, SYN cookies, ICMP redirects, DNS verification), NAT/UPnP (UPnP, NAT-PMP, MSS clamp), connection-tracking ALG modules (FTP/GRE/H.323/PPTP/SIP/TFTP), hardware offloading, and conntrack timeouts. Read-only; use unifi_update_gateway_settings to change values.
unifi_update_gateway_settings tool
Update gateway (USG) settings. Pass only the fields you want to change; current values (including nested sub-objects) are automatically preserved via deep-merge. Security: geo_ip_filtering_enabled (bool), geo_ip_filtering_block ('block'/'allow'), geo_ip_filtering_countries (CSV ISO codes), geo_ip_filtering_traffic_direction ('both'/'ingress'/'egress'), syn_cookies (bool), broadcast_ping (bool), receive_redirects (bool), send_redirects (bool), dns_verification (object). NAT/UPnP: upnp_enabled (bool), upnp_nat_pmp_enabled (bool), upnp_secure_mode (bool), upnp_wan_interface (str), mss_clamp ('auto'/'custom'/'disabled'). ALG modules: ftp_module, gre_module, h323_module, pptp_module, sip_module, tftp_module (bool). Offloading: offload_accounting (bool), offload_l2_blocking (bool), offload_sch (bool). Conntrack timeouts (int seconds): icmp_timeout, other_timeout, udp_stream_timeout, udp_other_timeout, tcp_established_timeout, tcp_close_timeout, tcp_close_wait_timeout, tcp_fin_wait_timeout, tcp_last_ack_timeout, tcp_syn_recv_timeout, tcp_syn_sent_timeout, tcp_time_wait_timeout, timeout_setting_preference ('auto'/'manual'). Misc: unbind_wan_monitors (bool), echo_server (str, connectivity-monitor echo server for WAN failover). WARNING: changing security/NAT settings (UPnP/NAT-PMP, GeoIP filtering, DNS verification, SYN cookies, broadcast-ping, ICMP redirects, MSS clamp, offloading, or conntrack timeouts) affects gateway-wide security/NAT/reachability. Requires confirmation.unifi_list_vouchers tool
List hotspot vouchers for the current site. Returns voucher codes, expiration times, usage quotas, and bandwidth limits. Vouchers are used for guest network access in captive portal setups. Supports optional limit, offset, case-insensitive search by code or note (including UI hyphenated codes), and strict fields projection. Deterministic pagination sorts by created_at descending with id descending tie-break for shaped calls; unshaped calls preserve controller return order for backward compatibility.
unifi_get_voucher_details tool
Get detailed information about a specific voucher by its ID
unifi_create_voucher tool
Create hotspot voucher(s) for guest network access. Vouchers can have: - Time limits: How long the voucher is valid after activation - Usage quota: Single-use (1), multi-use (0), or n-times usable - Bandwidth limits: Upload/download speed caps in Kbps - Data caps: Total data transfer limit in MB
unifi_revoke_voucher tool
Revoke/delete a hotspot voucher by its ID, preventing further use
unifi_get_incident_evidence tool
Collects bounded, read-only Network event evidence for one incident window. Returns a unifi-incident-evidence-view by default: every source's coverage, failures and budget usage plus a bounded list of record citations, with omitted records counted; detail='full' returns the whole unifi-incident-evidence document. Stops at the first spent budget and says so; check coverage_complete before treating an empty result as an all-clear.
unifi_list_nat_rules tool
List NAT rules from the V2 controller API. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_get_nat_rule tool
Get a NAT rule from the V2 controller API. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_create_nat_rule tool
Create an IPv4 V2 NAT rule (DNAT, SNAT or MASQUERADE) with verified readback; disabled by default. Requires Network session credentials. The assigned rule_index is chosen again at confirmation. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_update_nat_rule tool
Update a manual V2 NAT rule with verified fresh readback. Pass only the fields you want to change — current values are automatically preserved. A full fetch-merge-put can overwrite a concurrent edit between fetch and PUT. Requires Network session credentials. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_delete_nat_rule tool
Delete a manual V2 NAT rule and verify its absence. Requires Network session credentials. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_toggle_nat_rule tool
Set a manual V2 NAT rule's enabled state explicitly; setting its current state is a no-op. Pass only the fields you want to change — current values are automatically preserved. A full fetch-merge-put can overwrite a concurrent edit between fetch and PUT. Requires Network session credentials. These IDs are scoped to the V2 NAT tool family — do not pass them to port-forward or Integration API tools.
unifi_list_networks tool
Returns configured networks (LAN, WAN, VLAN-only) with name, purpose, IP subnet, VLAN ID, DHCP settings, and enabled state. ip_subnet is the controller's gateway-address form (gateway IP plus prefix, e.g. '192.168.1.1/24' for the 192.168.1.0/24 network), not the network address. Use to understand network topology and VLAN layout. Filters: search (name/VLAN substring), purpose (corporate/guest/wan/vlan-only), limit (default 25), fields (comma-separated subset). For a single network's full config, use unifi_get_network_details. For wireless SSIDs, use unifi_list_wlans. API-key inventory uses legacy reads when supported, otherwise limited public inventory. Public results include source_api=integration and integration_id; missing legacy fields are unknown. These IDs are scoped to the Integration inventory tool family — do not pass them to other resource tools. Full details and mutations can require session credentials.
unifi_get_network_details tool
unifi_update_network tool
Update specific fields of an existing network (LAN/VLAN). Pass only the fields you want to change — current values are automatically preserved. Every network field below is a key inside the update_data dict, not a top-level argument, e.g. update_data={'dhcpd_enabled': false}. Unknown keys are rejected. Basic: name, purpose ('corporate'/'vlan-only'), vlan_enabled (bool), vlan (str), ip_subnet (gateway address/prefix CIDR, e.g. '10.10.20.1/24'), enabled (bool), network_isolation_enabled (bool, corporate only), internet_access_enabled (bool), upnp_lan_enabled (bool), firewall_zone_id (str, V2 firewall-zone ID — assigns the network to a zone; these IDs are scoped to the V2 firewall/network tool family, so do not pass Integration API firewall-zone UUIDs). VPN network entries—site-vpn, remote-user-vpn, vpn-client, and vpn-server—may only use the system-defined Vpn zone; custom-zone assignments are rejected because UniFi persists them without enforcing their policies. DHCP: dhcpd_enabled (bool), dhcpd_start (IP), dhcpd_stop (IP), dhcpd_leasetime (int seconds), auto_scale_enabled (bool), dhcpd_gateway (IP), dhcpd_gateway_enabled (bool), dhcp_relay_enabled (bool), dhcpd_conflict_checking (bool), dhcpguard_enabled (bool, requires dhcpd_ip_1), dhcpd_ip_1 (IP, trusted DHCP server for guard), dhcpd_boot_enabled (bool), dhcpd_boot_server (IP), dhcpd_boot_filename (str), dhcpd_tftp_server (str, DHCP opt 150). DHCP options: dhcpd_dns_1..dhcpd_dns_4 (IPv4), dhcpd_dns_enabled (bool), dhcpd_ntp_1 (IPv4), dhcpd_ntp_2 (IPv4), dhcpd_ntp_enabled (bool), dhcpd_wins_1 (IP), dhcpd_wins_2 (IP), dhcpd_wins_enabled (bool), dhcpd_unifi_controller (IP). DNS: domain_name (str). Multicast: igmp_snooping (bool), igmp_querier_switches (list of {switch_mac, querier_address}), igmp_flood_unknown_multicast (bool). WAN (gateway uplink, purpose='wan' networks): wan_type ('dhcp'/'static'/'pppoe'/'disabled'), wan_networkgroup ('WAN'/'WAN2'), wan_dns_preference ('auto'/'manual'), wan_dns1 (IPv4, required for manual DNS), wan_dns2 (IPv4), wan_load_balance_type ('failover-only'/'weighted'), wan_load_balance_weight (int 0-100), wan_failover_priority (int), wan_sla (str, controller WAN-SLA configuration ID), report_wan_event (bool), wan_smartq_enabled (bool), wan_vlan_enabled (bool), igmp_proxy_upstream (bool), igmp_proxy_for (JSON: 'none' or list of network refs), mac_override_enabled (bool), wan_ip_aliases (list). WAN IPv6 (dual-stack; does not affect IPv4 internet): ipv6_enabled (bool), wan_type_v6 (str), ipv6_setting_preference ('auto'/'manual'), ipv6_wan_delegation_type ('none'/'pd'/'single_network'/'static'), wan_dhcpv6_pd_size (int), wan_dhcpv6_pd_size_auto (bool), wan_ipv6_dns_preference ('auto'/'manual'), wan_ipv6_dns1 (str), wan_ipv6_dns2 (str). LAN IPv6 (per-network): ipv6_interface_type ('none'/'static'/'pd'), ipv6_subnet (str, static only: gateway address/prefix CIDR, e.g. 'fd00:0:0:50::1/64'), ipv6_aliases (list of CIDR strings, 'Additional IPs' — replaces the whole list), ipv6_ra_enabled (bool), ipv6_ra_priority ('high'/'medium'/'low'), ipv6_ra_preferred_lifetime (int seconds), ipv6_client_address_assignment ('slaac'/'dhcpv6'), ipv6_pd_interface (str), ipv6_pd_prefixid (hex str), ipv6_pd_auto_prefixid_enabled (bool), ipv6_pd_start (str), ipv6_pd_stop (str), dhcpdv6_enabled (bool), dhcpdv6_allow_slaac (bool), dhcpdv6_dns_auto (bool), dhcpdv6_dns_1..dhcpdv6_dns_4 (IPv6, manual servers; at least one required when dhcpdv6_dns_auto is false), dhcpdv6_leasetime (int seconds), dhcpdv6_start (str), dhcpdv6_stop (str). WARNING: changing wan_type/wan_networkgroup/DNS/VLAN/failover/load-balance/mac-override on a WAN can interrupt internet connectivity. WARNING: setting ipv6_interface_type='static' on a delegated ('pd') network releases its delegated prefix. Confirmed writes are read back exactly; responses list persisted, unchanged, dropped, and controller-coerced fields. A failed result may represent a partial write and is not a rollback. Requires confirmation.unifi_delete_network tool
Delete a LAN/VLAN network by ID. Requires confirmation. Only LAN-class networks (purpose corporate/guest/vlan-only) are deletable; WAN uplinks and VPN networkconf entries are refused. WARNING: dependent WLANs, clients, routes, and firewall policies may lose connectivity or become invalid.
unifi_create_network tool
Create a new network (LAN/VLAN) with schema validation. Guest creation requires an explicit, verified built-in Hotspot firewall_zone_id and network isolation disabled. Guest previews validate the live zone; confirmed creates verify both guest purpose and zone. Updating purpose to guest remains unsupported. VPN entries may only specify the system-defined Vpn firewall zone; custom zones are persisted without enforcement and therefore rejected. Confirmed creates are read back and report exact persisted, dropped, and coerced fields; a failed result may still identify a created resource for cleanup. Requires confirmation.
unifi_list_wlans tool
List configured Wireless LANs (WLANs) on the Unifi Network controller. Filters: search (SSID name substring), enabled_only, limit (default 25). security is 'wpapsk' for every personal mode: read wpa3_support and wpa3_transition to tell WPA2 (no WPA3 support), WPA2/WPA3 (support with transition) and WPA3-only apart. wlan_bands lists the bands the SSID is broadcast on. API-key inventory uses legacy reads when supported, otherwise limited public inventory. Public results include source_api=integration and integration_id; missing legacy fields are unknown. These IDs are scoped to the Integration inventory tool family — do not pass them to other resource tools. Full details and mutations can require session credentials.
unifi_get_wlan_details tool
Get details for a specific WLAN by ID.
unifi_update_wlan tool
Update specific fields of an existing WLAN (SSID). Pass only the fields you want to change — current values are automatically preserved. Every WLAN field below is a key inside the update_data dict, not a top-level argument, e.g. update_data={'enabled': false, 'hide_ssid': true}. Unknown keys are rejected. Basic: name (str), security ('open'/'wpapsk'/'wpa2-psk'), x_passphrase (str), enabled (bool), hide_ssid (bool), guest_policy (controller-dependent bool; may be reported as dropped), usergroup_id (str), networkconf_id (str). Security: wpa3_support (bool), wpa3_transition (bool), pmf_mode ('disabled'/'optional'/'required'), fast_roaming_enabled (bool), group_rekey (int seconds, 0=disabled). Roaming: rrm_enabled (bool, 802.11k neighbour reports), roaming_assistant_na_enabled (bool), roaming_assistant_na_rssi (int dBm, 5GHz kick threshold e.g. -77), roaming_assistant_6e_enabled (bool), roaming_assistant_6e_rssi (int dBm, 6GHz kick threshold e.g. -88). Access control: mac_filter_enabled (bool), mac_filter_policy ('allow'/'deny'), mac_filter_list (list of MAC strings), l2_isolation (bool). Radio: wlan_band ('both'/'2g'/'5g'), multicast_enhance_enabled (bool), dtim_mode ('default'/'custom'), dtim_na (int 1-255), dtim_ng (int 1-255), minrate_setting_preference ('auto'/'manual'), minrate_ng_enabled (bool), minrate_ng_data_rate_kbps (int), minrate_na_enabled (bool), minrate_na_data_rate_kbps (int). Scheduling: schedule_enabled (bool), schedule_reversed (bool), schedule (list[str], e.g. 'mon-fri|0100-0700'), schedule_with_duration (list of objects with duration_minutes, optional name, start_days_of_week, start_hour, start_minute). Other: uapsd_enabled (bool), proxy_arp (bool), iapp_enabled (bool). Confirmed writes are read back exactly; responses list persisted, unchanged, dropped, and controller-coerced fields. A failed result may represent a partial write and is not a rollback. Requires confirmation.unifi_create_wlan tool
Create a new Wireless LAN (WLAN/SSID) with schema validation. Confirmed creates are read back and report exact persisted, dropped, and controller-coerced fields; a failed result may still identify a created WLAN for cleanup. Requires confirmation.
unifi_delete_wlan tool
Delete a WLAN/SSID by ID. Requires confirmation. WARNING: All devices using this SSID will be disconnected.
unifi_toggle_wlan tool
Toggle a WLAN/SSID on or off. Requires confirmation.
unifi_list_ap_groups tool
List all AP groups configured on the controller. AP groups control which access points broadcast which SSIDs. Returns group names, IDs, and associated AP/WLAN memberships.
unifi_get_ap_group_details tool
Get details of a specific AP group by ID, including member APs and WLANs.
unifi_create_ap_group tool
Create a new AP group to control which APs broadcast which SSIDs. Requires confirmation.
unifi_update_ap_group tool
Update an existing AP group's configuration. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
unifi_delete_ap_group tool
Delete an AP group by ID. Requires confirmation. WARNING: APs in this group may lose their SSID assignments.
unifi_list_oon_policies tool
List OON (Object-Oriented Network) policies. These policies control internet access schedules (bedtime blackouts), application blocking (social media, streaming), QoS, and policy-based routing.
unifi_get_oon_policy_details tool
Get detailed configuration for a specific OON policy by ID. Returns the full policy object including secure, qos, route sections and targets.
unifi_create_oon_policy tool
Create a new OON (Object-Oriented Network) policy for internet access scheduling, app blocking, bandwidth limiting, or VPN routing. IMPORTANT: qos and route must be full nested dicts (not the flattened qos_enabled/route_enabled booleans from list output). Use unifi_get_oon_policy_details on an existing policy as a template for the nested structure. Requires confirmation.
unifi_update_oon_policy tool
Update an existing OON policy. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
unifi_toggle_oon_policy tool
Toggle an OON policy on or off. Fetches the current state, flips the enabled flag, and sends the update. Requires confirmation.
unifi_delete_oon_policy tool
Delete an OON policy. Requires confirmation. WARNING: This will remove the policy and all associated firewall rules that were auto-generated from it.
unifi_list_port_forwards tool
List all port forwarding rules on your Unifi Network controller.
unifi_get_port_forward tool
Get a specific port forwarding rule by ID from your Unifi Network controller.
unifi_toggle_port_forward tool
Toggle a port forwarding rule on or off on your Unifi Network controller.
unifi_create_port_forward tool
Create a new port forwarding rule on your Unifi Network controller using schema validation. Requires confirmation.
unifi_update_port_forward tool
Update specific fields of an existing port forwarding rule using schema validation. Pass only the fields you want to change — current values are automatically preserved. Requires confirmation.
unifi_create_simple_port_forward tool
Create a port forward using a simplified schema. Returns a preview unless confirm=true.
unifi_delete_port_forward tool
Delete a port forwarding rule by ID. Requires confirmation. WARNING: This permanently removes the rule; external access to the forwarded service will stop. It cannot be undone - you must recreate the rule to restore it.
unifi_list_qos_rules tool
List all QoS rules on the Unifi Network controller for the current site.
unifi_get_qos_rule_details tool
Get details for a specific QoS rule by ID.
unifi_toggle_qos_rule_enabled tool
Enable or disable a specific QoS rule by ID. Requires confirmation.
unifi_update_qos_rule tool
Update specific fields of an existing QoS rule. Requires confirmation.
unifi_create_qos_rule tool
Create a new QoS rule on the Unifi Network controller. Requires confirmation.
unifi_create_simple_qos_rule tool
Create a QoS rule using a simplified high-level schema. Returns a preview unless confirm=true.
unifi_list_routes tool
List all user-defined static routes for the current site. Returns route names, destination networks, next-hop addresses, and status. These are manually configured routes, not dynamic or system routes.
unifi_list_active_routes tool
List all active routes from the device routing table. Includes both user-defined and system routes currently in effect. This shows the actual routing table state on the gateway device. Each route has target_subnet, gateway, interface and distance. Controllers that serve the table from the V2 API also report origin (Kernel, Static, DHCP, PBR) and route_type (unicast, blackhole), and name the interface by network ID (resolve it with unifi_list_networks) instead of by interface name. Note: Returns an empty list if the controller exposes no routing table.
unifi_get_route_details tool
Get detailed information about a specific static route by its ID
unifi_create_route tool
Create a new static route for advanced routing configuration. Specify destination network in CIDR format (e.g., "10.0.0.0/24") and next-hop IP address (e.g., "192.168.1.1").
unifi_update_route tool
Update an existing static route's properties. Can modify name, destination network, next-hop, distance, or enabled status.
unifi_get_network_stats tool
Get network statistics from the Unifi Network controller
unifi_get_client_stats tool
Get a client's traffic time-series from the controller's per-client report. summary.upload_bytes is what the client sent and summary.download_bytes what it received (the report's rx_bytes/tx_bytes, counted from the network side). Pass start/end to inspect a past incident window. Whether wired clients are metered in this report depends on the gateway and Network version (e.g. a UDR7 on Network 11 reports them; some gateways do not), so an empty series for a wired client means 'not reported', not 'no traffic'.
unifi_get_device_stats tool
Returns historical traffic time-series (rx/tx bytes, client counts) for one device by MAC or _id. Duration: hourly/daily/weekly/monthly. For APs, includes avg/max client counts and WiFi quality metrics. For current device status instead of stats, use unifi_get_device_details.
unifi_get_top_clients tool
Rank clients by traffic inside a time window — the first call when working an upload or egress spike ('who sent data between 02:00 and 05:00?'). Sums the controller's per-client report over the window; upload_bytes is what each client sent, download_bytes what it received. Use sort_by='upload' for exfiltration questions. Network 11 covers every client; older controllers cover only clients they meter individually (wireless on current gateways), so wired clients, cluster nodes included, are absent there. Entries with source='live_counters' are a fallback for controllers without the report and are cumulative since association, not scoped to the window.unifi_get_dpi_stats tool
List the DPI restriction rules (per-application and per-category block or rate-limit rules) and the restriction groups that bundle them. Despite the name, this is configuration, not traffic: for DPI statistics use unifi_get_site_dpi_traffic or unifi_get_client_dpi_traffic; for application and category IDs use unifi_list_dpi_applications / unifi_list_dpi_categories.
unifi_get_alerts tool
Get recent alerts from the Unifi Network controller
unifi_get_gateway_stats tool
Get gateway WAN/LAN performance history including bandwidth, CPU, and memory utilization.
unifi_get_speedtest_results tool
Get historical speedtest results including download, upload (Mbps), and latency (ms). On a multi-WAN site each result names its uplink in wan_networkgroup (e.g. WAN, WAN2) and interface_name; group by it rather than averaging across uplinks.
unifi_get_site_dpi_traffic tool
Get actual DPI traffic data by application or category for the entire site. Shows real bandwidth usage per app/category, NOT restriction configuration. Use unifi_get_dpi_stats for restriction config instead. On Network 9.x+ this reads the v2 traffic aggregate for the window (default: last 24h); older controllers fall back to the legacy per-site/per-client DPI endpoint, which has no window. upload_bytes is what the client sent. application/category are numeric DPI IDs — resolve names with unifi_list_dpi_applications / unifi_list_dpi_categories; 65535/255 means unidentified (typically encrypted QUIC/TLS). The controller aggregates DPI in coarse buckets, so totals for windows that cut through a bucket are approximate: use DPI for what kind of traffic, and unifi_get_top_clients / unifi_get_client_stats for how much. Note: requires Traffic Identification to be enabled on the controller, which is separate from Device Identification.
unifi_get_client_dpi_traffic tool
Get per-client DPI traffic data by application or category. On Network 9.x+ this reads the v2 traffic aggregate for the window (default: last 24h); older controllers fall back to the legacy per-site/per-client DPI endpoint, which has no window. upload_bytes is what the client sent. application/category are numeric DPI IDs — resolve names with unifi_list_dpi_applications / unifi_list_dpi_categories; 65535/255 means unidentified (typically encrypted QUIC/TLS). The controller aggregates DPI in coarse buckets, so totals for windows that cut through a bucket are approximate: use DPI for what kind of traffic, and unifi_get_top_clients / unifi_get_client_stats for how much. Note: requires Traffic Identification to be enabled on the controller, which is separate from Device Identification.
unifi_get_ips_events tool
Get IPS/IDS security events (intrusion detection/prevention alerts). Reads the legacy IPS endpoint and, when it is empty or gone (Network 10.x), the SECURITY category of the v2 system log, where threat blocks are recorded. For other security event types use unifi_list_events with categories=['SECURITY'].
unifi_get_client_sessions tool
Get client association sessions (connect time, disconnect time, duration, AP), newest first, for one client or all clients. For individual connect, disconnect and roaming events, use the event log instead.
unifi_get_dashboard tool
Get the pre-aggregated site dashboard. Defaults to a compact summary that omits high-volume activity/history series; pass summary=false to preserve raw dashboard entries.
unifi_get_anomalies tool
Get network anomaly detection events.
unifi_get_client_wifi_details tool
Get detailed WiFi statistics for a single wireless client including signal, noise, satisfaction, tx/rx rates, retries, roam count, channel, radio, ESSID, and more.
unifi_list_port_profiles tool
List all port profiles (port configurations) on the controller. Port profiles define VLAN assignment, port isolation, PoE mode, STP, 802.1X, and storm control settings. Profiles are assigned to switch ports via port overrides.
unifi_get_port_profile_details tool
Get detailed configuration for a specific port profile by ID. Returns full profile including VLAN, isolation, PoE, STP, 802.1X, storm control, and QoS settings.
unifi_create_port_profile tool
Create a new port profile. forward values: 'native' (access port), 'all' (trunk), or 'customize' (selective trunk). Port State (Active/Disabled) is a separate controller setting that these port-profile tools do not currently expose. tagged_vlan_mgmt is the access-vs-trunk control ('auto'/'block_all'/'custom'): the controller rewrites forward to agree with it, so an access port needs forward='native' with tagged_vlan_mgmt='block_all'. Port Mode in the UI maps to stp_edge_state + stp_bpdu_guard_enabled + stp_uplink (Edge = 'enabled'/true/false). Requires confirmation.unifi_update_port_profile tool
Update an existing port profile. Pass only the fields you want to change — current values are automatically preserved. Note: system profiles with attr_no_edit=true cannot be modified. Requires confirmation.
unifi_delete_port_profile tool
Delete a port profile. System profiles with attr_no_delete=true cannot be deleted. WARNING: Switch ports using this profile will revert to defaults. Requires confirmation.
unifi_get_switch_ports tool
Get port assignments for a specific switch. Shows which port profile is assigned to each port, port names, and PoE mode. Use unifi_list_devices to find switch MAC addresses.
unifi_get_port_stats tool
Get live port statistics for a switch. Returns per-port data including link speed, duplex, PoE draw (voltage/current/power), error counters, MAC table count, bytes per second, and enabled state. Use unifi_list_devices to find switch MAC addresses.
unifi_get_lldp_neighbors tool
Get LLDP neighbor discovery table for a switch. Shows what devices are connected to each port by their LLDP-advertised chassis ID and descriptions. Use unifi_list_devices to find switch MAC addresses.
unifi_get_switch_capabilities tool
Get switch hardware capabilities including max ACL rules, max VLANs, max aggregation sessions, max mirror sessions, STP config, and jumbo frame status. Use unifi_list_devices to find switch MAC addresses.
unifi_set_switch_port_profile tool
unifi_power_cycle_port tool
Power cycle PoE on a specific switch port. This briefly cuts power to the connected PoE device, causing it to reboot. Requires confirmation.
unifi_configure_port_mirror tool
unifi_configure_port_aggregation tool
unifi_update_switch_stp tool
Update STP (Spanning Tree Protocol) configuration for a switch. stp_priority valid values: 4096, 8192, 12288, ..., 61440 (default: 32768). stp_version: 'stp' or 'rstp' (default). Requires confirmation.
unifi_set_jumbo_frames tool
Enable or disable jumbo frames on a switch. Note: the UniFi controller requires jumbo frames to be enabled via the UI at least once before the API can toggle it. If you get JumboFrameChangeNotAllowed, enable it in the UI first. Requires confirmation.
unifi_get_mdns_settings tool
Get site-wide mDNS service settings and read-only network scope.
unifi_update_mdns_settings tool
Update site-wide mDNS service mode, predefined services, or custom services. Pass only the fields you want to change — current values are automatically preserved. Each provided service list replaces the entire list. Mode 'all' requires both service lists empty; mode 'custom' requires at least one service. Network scope (enabled_for and enabled_for_network_ids) is read-only and preserved. Changes may affect service discovery. Requires confirmation.
unifi_update_threat_management_settings tool
Update site-wide IPS mode/category selection or traffic identification settings and verify persistence. Pass only the fields you want to change — current values are automatically preserved. Use separate calls for IPS and traffic identification fields. Category lists replace the full list and select manual filtering; codes are validated against the gateway catalog. Disabling IPS also disables filtering and clears categories; enabling requires protected networks and nonempty manual categories. Network scope is read-only. ipsInline can only be preserved if already in use. Changes may reduce inspection or disrupt traffic identification and require confirmation. MCP previews show live before/after state; API action previews show submitted arguments only.
unifi_get_threat_management_settings tool
Get site-wide threat management (IDS/IPS) and traffic identification settings.
unifi_get_threat_posture tool
Get CyberSecure threat posture for HOUR, DAY, WEEK, or MONTH, including allowlisted gateway signature status. Requires Network session credentials. Counts and timestamps may be unknown (null); timestamps are milliseconds. Gateway device IDs are scoped to the legacy Network device family, not public Integration API device UUIDs.
unifi_get_system_info tool
Returns controller version, uptime, hostname, device and client counts, update availability, and console CPU and memory usage. Use for basic 'is the controller healthy?' checks. For network subsystem status (WAN/LAN/WLAN), use unifi_get_network_health instead. For network subsystem details, use unifi_get_network_health.
unifi_get_network_health tool
Returns per-subsystem health for WAN, WWW, LAN, WLAN, and VPN: status, device counts (gateways/switches/APs, adopted, disconnected, pending), active user counts, and WAN/WWW details (WAN IP, ISP, latency, drops, last speed test). Use to check WAN connectivity or find which segment is degraded. Fields the controller does not report are omitted; a limited admin role may get no VPN details. For controller-level info (version, uptime), use unifi_get_system_info.
unifi_get_site_settings tool
Get current site settings: site identity, regulatory country code, timezone, connectivity monitor (enabled, uplink type) and NTP servers.
unifi_get_snmp_settings tool
Get current SNMP settings for the site: v1/v2c enabled state and community string, SNMPv3 enabled state and user name. The two services are independent flags on one record. The community string and the v3 password are returned by the controller and always shown redacted by this tool.
unifi_update_snmp_settings tool
Update SNMP settings for the site: v1/v2c (enabled, community) and SNMPv3 (enabled_v3, username, x_password). The two services are independent; disabling one leaves the other listening. Pass only the fields you want to change — current values are automatically preserved. Requires confirm=true to apply changes.
unifi_get_mgmt_settings tool
Get the site's device management (mgmt) settings, read-only: device SSH state and user name, password-auth flag, authorised-key count, whether an SSH password, password hash, management key and API token are stored (presence only; values never returned), debug tools, auto-upgrade and its hour.
unifi_list_backups tool
List available backups on the controller. Returns filename, datetime, size, and version for each backup.
unifi_create_backup tool
Create a new backup of the controller configuration. Returns the backup metadata on success. Requires confirmation.
unifi_delete_backup tool
Delete a backup file from the controller. Use unifi_list_backups to find filenames. Requires confirmation.
unifi_get_autobackup_settings tool
Get auto-backup settings (enabled state, schedule, retention count, cloud backup).
unifi_update_autobackup_settings tool
Update auto-backup settings. Pass only the fields you want to change — current values are automatically preserved. Fields: autobackup_enabled (bool), autobackup_cron_expr (str, cron format), autobackup_days (int, retention days), autobackup_max_files (int, max backup files to keep), autobackup_timezone (str), autobackup_cloud_enabled (bool). Requires confirmation.
unifi_get_traffic_flows tool
Query historical UniFi Traffic Flows (Insights > Flows). Returns completed flow records — source/destination (incl. ports and resolved destination domains), service, risk, action, bytes, and timestamps — for a time window, with server-side filtering and pagination. Supply both time_from and time_to (epoch ms) for an explicit window, or use within_hours. Read-only; one page per call (use page/total_page_count to paginate).
unifi_get_traffic_flow_statistics tool
Aggregated UniFi Traffic Flows summary (Insights > Flows 'Flow Summary'). Returns risk and region count breakdowns plus Top-Talker rankings for a preset period: top clients, top destinations, top applications (by bytes), top blocked clients, and top blocking policies. Risk bands are low/medium/high (the UI labels these Low/Suspicious/Concerning). Application entries include best-effort DPI application/category names resolved from the controller catalogue; names remain null when the catalogue is unavailable or has no matching entry, and dpi_name_resolution says which (status resolved/partial/unresolved/unavailable, with a fixed reason such as network_api_key_required and a remediation). The returned application_id is the low V2 traffic-flow application ID, not the Integration API compound ID. These IDs are scoped to the V2 traffic-flow tool family — do not pass them to Integration API DPI tools. Read-only.
unifi_create_traffic_route tool
Create a narrowly scoped Traffic Route (policy-based route). Requires confirmation. An explicit matching_target and target network/VPN are required. DOMAIN routes require at least one domain. INTERNET routes must target one or more explicit CLIENTs with valid unicast MAC addresses, through a verified WAN or VPN client network.
unifi_list_traffic_routes tool
List all traffic routes (policy-based routing rules) for the current site. Traffic routes define how specific traffic is routed based on domains, IP addresses, regions, or target devices. Often used for VPN routing.
unifi_get_traffic_route_details tool
Get detailed information for a specific traffic route by ID.
unifi_update_traffic_route tool
Update a traffic route's settings.
Pass only the fields you want to change — current values are automatically preserved.
Toggle fields:
- enabled: Enable or disable the traffic route
- kill_switch_enabled: Enable/disable the kill switch (blocks traffic if VPN is down)
Routing-match fields (each REPLACES the whole existing list/value — read the route
first with unifi_get_traffic_route_details, then send the full desired value):
- target_devices: Which clients/networks the route applies to. For INTERNET routes, this must stay a list of explicit CLIENT targets.
[{"type": "CLIENT", "client_mac": "aa:bb:cc:dd:ee:ff"}],
[{"type": "NETWORK", "network_id": "<id>"}], or [{"type": "ALL_CLIENTS"}].
- domains: List of domain objects, e.g. [{"domain": "example.com", "ports": [], "port_ranges": []}].
- ip_addresses: List of IP/subnet objects (for matching_target=IP routes).
- ip_ranges: List of IP-range objects.
- regions: List of ISO country/region codes, e.g. ["US", "CA"].
- network_id: Replace the target network/VPN. INTERNET routes require a verified WAN or VPN client network.
- next_hop: Next-hop IP address (string) for static next-hop routes.
For INTERNET routes, the resulting route must still target only explicit CLIENTs with
valid unicast MAC addresses, through a freshly verified WAN or VPN client network.
ALL_CLIENTS, NETWORK targets and other network types are rejected.
At least one field must be provided.unifi_toggle_traffic_route tool
Toggle a traffic route on/off by ID. Enabling an INTERNET route requires explicit CLIENT targets with valid unicast MAC addresses and a verified WAN or VPN client network.
unifi_list_usergroups tool
List all user groups (bandwidth profiles) for the current site. User groups define bandwidth limits that can be applied to clients. Each group specifies upload/download speed caps in Kbps.
unifi_get_usergroup_details tool
Get detailed information about a specific user group by its ID
unifi_create_usergroup tool
Create a new user group (bandwidth profile) with optional speed limits. Bandwidth limits are specified in Kbps. Use -1 for unlimited. User groups can be assigned to clients to enforce bandwidth policies.
unifi_update_usergroup tool
Update an existing user group's name or bandwidth limits. Use -1 for unlimited bandwidth. Changes affect all clients assigned to this group.
unifi_update_vpn_server_alternate_address tool
Update the advertised alternate hostname or IPv4 address for a WireGuard VPN server. Pass only the fields you want to change — current values are automatically preserved. Requires Network session authentication and confirmation; verifies persistence after applying. MCP previews read live state; API action previews show submitted arguments only.
unifi_list_vpn_clients tool
List all configured VPN clients (Wireguard, OpenVPN, etc).
unifi_get_vpn_client_details tool
Get details for a specific VPN client by ID.
unifi_update_vpn_client_state tool
Enable or disable a specific VPN client by ID. Requires confirmation.
unifi_delete_vpn_client tool
Delete a VPN client configuration by ID. Requires confirmation.
unifi_list_vpn_servers tool
List all configured VPN servers (Wireguard, OpenVPN, L2TP, etc). Teleport is not a VPN server record and never appears here, even when the UI's Settings overview lists it under VPN Server; read it with unifi_get_teleport_settings.
unifi_get_vpn_server_details tool
Get details for a specific VPN server by ID.
unifi_update_vpn_server_state tool
Enable or disable a specific VPN server by ID. Requires confirmation.
unifi_get_teleport_settings tool
Get the site's Teleport VPN settings: whether Teleport is enabled and its client address range (subnet_cidr, gateway-address form such as '192.168.2.1/24'). The UniFi UI does not show the range; the gateway picks it when Teleport is first enabled.
unifi_update_teleport_settings tool
Change the Teleport VPN client address range (subnet_cidr), for example to move it off a range that collides with networks remote clients visit. Pass only the fields you want to change — current values are automatically preserved; subnet_cidr is the only writable field. The value is a private IPv4 gateway address with prefix length (e.g. '10.201.0.1/24', /16 to /29); a range that overlaps any configured network is refused. Teleport stays enabled or disabled as it was. Already-registered clients keep their recorded addresses and may need re-inviting. Requires Network session authentication and confirmation; verifies persistence after applying.
protect_alarm_list_profiles tool
Lists all configured UniFi Protect Alarm Manager profiles with their id, name, state, state_set_at timestamp, activation delay, schedule count, automation count, id_family, and arm_compatible flag. On Global-mode consoles (id_family alarm_manager_v2) protect_alarm_arm and protect_alarm_disarm take these profile ids or names; on legacy (Local-mode) consoles they take the legacy profile id. Requires Protect 6.1+ with Alarm Manager configured in the web UI. Legacy fallback responses include _meta with complete=false because v2-only fields are unavailable.
protect_alarm_get_status tool
Returns the current armed/disarmed state of the UniFi Protect Alarm Manager, including the active profile, raw status string, armed-at timestamp, and any breach info. Use this to check whether the security system is currently active.
protect_alarm_arm tool
Arms a UniFi Protect Alarm Manager profile. On consoles running the UniFi OS Alarm Manager (Global mode) the profile is armed through its v2 action endpoint and the result is verified against the controller state (arming/armed); legacy consoles use PATCH arm + POST arm/enable. profile_id is a profile id from protect_alarm_list_profiles; Global-mode consoles also accept the profile name, legacy consoles need the id. Omit it when there is a single profile (legacy: the selected profile); a blank value is rejected. Requires confirm=True to apply — otherwise returns a preview.
protect_alarm_disarm tool
Disarms the UniFi Protect Alarm Manager. On consoles running the UniFi OS Alarm Manager (Global mode) every active profile is disarmed through its v2 action endpoint, or only profile_id when given (an id or, in Global mode, a name; a blank value is rejected), and the result is verified against the controller state; legacy consoles use POST arm/disable system-wide. Requires confirm=True to apply — otherwise returns a preview.
protect_alarm_get_catalog tool
Returns the triggers and actions a UniFi OS Alarm Manager (Global-mode) console accepts in alarm rules, read from the Alarm Manager manifest. Each trigger has trigger_id, title, category_id, category_title and options_schema (the JSON schema of the data the trigger takes); each action has action_id, title, category_id, category_title, options_schema and target_ids. scope is the schema for a rule's scope. Use these ids with protect_alarm_create_rule and protect_alarm_update_rule. options_schema and scope are left out unless include_schemas is true; the full catalog is large, so filter with search and ask for schemas only for the entries you will write.
protect_alarm_fire_webhook tool
Fires every alarm rule whose Webhook trigger has the given trigger_id (the rule's own webhook id, not a catalog trigger_id), as if the webhook had been called; the rules' actions run for real. Needs a Protect API key: UNIFI_PROTECT_API_KEY, or UNIFI_API_KEY on the UNIFI_HOST console. Requires confirm=True to apply — otherwise returns a preview.
protect_alarm_list_rules tool
Lists every UniFi Protect alarm rule, including AI-powered alarms (e.g. AI Natural Language). Each rule is normalized to id, title, enabled, triggers, actions, scope, and stats. Use protect_alarm_get_rule for a single rule.
protect_alarm_get_rule tool
Fetches a single UniFi Protect alarm rule by id (normalized: id, title, enabled, triggers, actions, scope, stats), including AI-powered alarms.
protect_alarm_update_rule tool
Updates an alarm rule. Pass only the fields you want to change — current values are automatically preserved. Field keys use the canonical alarm rule shape returned by protect_alarm_list_rules/protect_alarm_get_rule: title, enabled, triggers, actions, and scope. Requires confirm=True to apply — otherwise returns a preview of the proposed changes.
protect_alarm_create_rule tool
Creates a new alarm rule via POST. Body uses the canonical alarm rule shape returned by protect_alarm_list_rules/protect_alarm_get_rule: title, enabled, triggers, actions, and scope. Take trigger_id and action_id values from protect_alarm_get_catalog. On Global-mode consoles scope must be {mode, data} (e.g. {"mode": "include", "data": {...}}); an empty scope is rejected. The server assigns the rule id and returns the created rule. ``actions`` must be a non-empty list — the controller will accept an empty actions list but the resulting rule cannot be opened in the Protect UI. Requires confirm=True to apply — otherwise returns a preview.protect_alarm_delete_rule tool
Deletes an alarm rule (automation) by id. Requires confirm=True to apply — otherwise returns a preview showing the rule that would be deleted. Destructive — the rule and its configured webhook actions cannot be recovered through the API.
protect_list_cameras tool
Lists all cameras adopted by the Protect NVR with their name, model, connection state, recording mode, and whether they are currently recording. Use to get an overview of all cameras in the system.
protect_get_camera tool
Returns detailed information for a single camera including firmware, IP address, MAC, mic/speaker settings, IR/HDR mode, stream channels, smart detection types, and PTZ capability. Use to inspect one camera.
protect_list_camera_detection_areas tool
Lists a camera's crossing lines, smart-detect zones and loiter zones, read fresh from the NVR. Each area has its id, name, kind (line, zone or loiter_zone), object_types and, for a line, its direction. Motion zones are not included. Use the ids with protect_rename_camera_detection_area.
protect_get_snapshot tool
Fetches a JPEG snapshot from a camera. When include_image is True, returns the image as a base64-encoded string. When False (default), returns a reference URL. Optionally specify width and height to resize.
protect_get_camera_streams tool
Returns RTSP/RTSPS stream URLs for a camera organized by channel (High, Medium, Low). Includes resolution, FPS, and bitrate for each stream. Use to connect a video player or integration to camera feeds.
protect_get_camera_analytics tool
Returns motion and smart detection analytics for a camera including current detection state, last-detected timestamps for each type (person, vehicle, animal, etc.), and zone counts. For historical events, use the events API tools.
protect_update_camera_settings tool
Updates camera settings such as IR LED mode, HDR mode, mic/speaker volume, status light, and motion detection. Requires confirm=True to apply. HDR and microphone volume require UNIFI_PROTECT_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console). Supported keys: ir_led_mode, hdr_mode, mic_enabled, mic_volume, status_light_on, speaker_volume, name, motion_detection.
protect_toggle_recording tool
Enables or disables recording on a camera. When enabled, sets recording mode to 'always'. When disabled, sets to 'never'. Requires confirm=True to apply.
protect_toggle_rtsp tool
Enables or disables the RTSP/RTSPS stream on a camera channel. When enabled, the controller publishes the channel and assigns a stream alias; the RTSP/RTSPS URLs are returned. Choose the channel with quality (high, medium, low; default high). Requires confirm=True to apply.
protect_rename_camera_detection_area tool
Renames one crossing line, smart-detect zone or loiter zone on a camera, chosen by kind and id (from protect_list_camera_detection_areas). Only the name changes. Protect replaces the whole list on write, so the list is read fresh, sent back with just that name changed, then read again and checked against what was read before; any difference is reported as an error. If someone edits another area of the same list in the Protect app between the read and the write, that edit is lost and not reported: the write sends the list as read, so the read-back matches it. The read-back only catches changes the controller makes on save. Requires confirm=True to apply.
protect_ptz_move tool
Moves a PTZ camera using normalized pan/tilt speeds. Requires confirm=True to execute. Use protect_ptz_zoom for zoom movement. Only works on PTZ-capable cameras.
protect_ptz_zoom tool
Zooms a PTZ camera using normalized zoom speed. Requires confirm=True to execute. This is separate from optical zoom settings.
protect_ptz_preset tool
Moves a PTZ camera to a saved preset position by slot number. Returns available presets for the camera. Requires confirm=True to execute. Only works on PTZ-capable cameras.
protect_reboot_camera tool
Reboots a camera. The camera will be temporarily unavailable during reboot. Requires confirm=True to execute. Use with caution — active recordings will be interrupted.
protect_list_lights tool
Lists all UniFi Protect floodlight devices with their name, connection state, brightness level, PIR motion sensitivity, and paired camera. Use to get an overview of all lights in the system.
protect_update_light tool
Updates light settings such as on/off state, LED brightness level (1-6), PIR motion sensitivity (0-100), motion-triggered duration (15-900 seconds), status indicator light, and device name. Requires confirm=True to apply. Power, brightness, sensitivity and duration require UNIFI_PROTECT_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console). Supported keys: light_on (alias is_light_on), led_level, sensitivity, duration_seconds, status_light, name.
protect_list_sensors tool
Lists all UniFi Protect sensor devices (motion, door/window, temperature, humidity, light level, leak detection). Shows connection state, battery status, current readings, and recent detection timestamps. Use to monitor environmental conditions and sensor health.
protect_update_sensor_settings tool
Updates UniFi Protect sensor settings. Get sensor_id values from protect_list_sensors. Requires a Protect public API key: UNIFI_PROTECT_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console). Requires confirm=True to apply. Supported keys: name, light_settings, humidity_settings, temperature_settings, motion_settings, glass_break_settings, alarm_settings, schedule_mode, arm_profile_ids, has_custom_sensitivity_when_armed. Use snake_case inside nested settings, for example motion_settings.sensitivity_when_armed or light_settings.low_threshold.
protect_list_chimes tool
Lists all UniFi Protect chime devices with their name, connection state, volume, ring settings per camera, and available ringtones/tracks. Use to see chime configuration and which cameras trigger which chimes.
protect_update_chime tool
Updates chime settings. Without camera_id, updates global speaker volume (0-100), repeat times (1-6), or device name. With camera_id, updates that camera's ring volume or repeat_times while preserving other camera ring settings. Per-camera ring settings require a Protect API key: UNIFI_PROTECT_API_KEY, or UNIFI_API_KEY on the UNIFI_HOST console. Requires confirm=True to apply. Supported global keys: volume, repeat_times, name. Supported per-camera keys: camera_id, volume, repeat_times.
protect_trigger_chime tool
Plays the chime tone on a specific chime device. Optionally override volume (0-100) and repeat times (1-6) for this playback only. The chime's default settings are used if not specified. Requires confirm=True to play the chime; otherwise returns a preview.
protect_list_events tool
Query events from the NVR with optional filters. Returns events from the Protect controller's database via REST API. Supports filtering by time range, event type (motion, smartDetectZone, ring, etc.), camera ID, and result limit. Face events include recognized Known Face identity fields, and license-plate (LPR) events include recognized plate identity fields, when Protect provides them. For real-time buffer events use protect_recent_events.
protect_get_event tool
Get detailed information for a single event by ID. Returns event type, camera, timestamps, score, smart detection types, thumbnail info, and recognized Known Face and license-plate (LPR) identity fields when Protect provides them.
protect_get_event_thumbnail tool
Get the thumbnail image for an event. Returns a base64-encoded JPEG. Thumbnails are generated after an event ends; in-progress events may not have thumbnails yet. Optionally specify width/height to resize.
protect_list_smart_detections tool
List smart detection events (person, vehicle, animal, package, etc.) with optional filters. Filters by detection type, camera, confidence score, and time range. Only returns events above the minimum confidence threshold (default 50, configurable via PROTECT_SMART_DETECTION_MIN_CONFIDENCE). Face detections include recognized Known Face identity fields, and license-plate (LPR) detections include recognized plate identity fields, when Protect provides them.
protect_search_detections tool
Search detections across all cameras using Protect's 'Find Anything' filter vocabulary. Pass one or more labels of the form 'prefix:value' (e.g. 'vehicleType:truck', 'color:black', 'smartDetectType:vehicle'); labels are applied conjunctively. Call protect_detection_search_labels first to discover the legal labels for this controller. Returns matching smart detection events. excludeMotion defaults to true so plain motion events are filtered out.
protect_detection_search_labels tool
List the detection-search filter vocabulary supported by this controller. Returns the legal label values (colors, vehicle types, smart detection types, event types, etc.) that the 'Find Anything' panel offers. Use the returned values as labels for protect_search_detections.
protect_recent_events tool
Get recent events from the in-memory websocket buffer. This is fast (no API call) and returns events received via the real-time websocket stream. Supports filtering by event_type, camera_id, min_confidence, and limit. Face events include recognized Known Face identity fields, and license-plate (LPR) events include recognized plate identity fields, when Protect provides them. Use this for real-time monitoring; use protect_list_events for historical queries.
protect_subscribe_events tool
Returns instructions for subscribing to real-time Protect events. Provides the MCP resource URI for the event stream and guidance on polling intervals. Use this to set up continuous event monitoring.
protect_acknowledge_event tool
Acknowledge an event by marking it as a favorite on the NVR. This is the closest equivalent to 'marking as read' in the Protect system. Requires confirm=True to apply.
protect_get_incident_evidence tool
Collects bounded, read-only Protect event evidence for one incident window. Returns a unifi-incident-evidence-view by default: every source's coverage, failures and budget usage plus a bounded list of record citations, with omitted records counted; detail='full' returns the whole unifi-incident-evidence document. Each camera ID is its own source. Stops at the first spent budget and says so; check coverage_complete before treating an empty result as an all-clear.
protect_list_liveviews tool
Lists all liveview configurations from the Protect NVR. Each liveview defines a multi-camera layout with slots, camera assignments, and cycle settings. Shows name, layout grid size, slot count, camera count, and whether it is the default or global view.
protect_create_liveview tool
Validates input for creating a new liveview with the given name and camera IDs. Note: liveview creation is not directly supported by the uiprotect Python API; this tool validates camera IDs and returns a preview. Use the Protect web UI to create liveviews.
protect_delete_liveview tool
Validates a liveview for deletion by ID. Note: liveview deletion is not directly supported by the uiprotect Python API; this tool returns information about the liveview. Use the Protect web UI to delete liveviews.
protect_list_known_faces tool
List UniFi Protect face recognition groups, including assigned Known Faces by default and unlabeled groups when group_types includes unknown. Returns metadata and controller image references only; image bytes are not fetched.
protect_list_known_license_plates tool
List UniFi Protect license-plate identities (vehicle recognition groups), including named/known license plates by default and unlabeled plate groups when group_types includes unknown. Each entry's `id` is the value to use in a `license_plate_known` alarm-rule condition. Returns metadata (incl. color/vehicleType when Protect provides them) and controller image references only; image bytes are not fetched.
protect_update_known_face tool
Update UniFi Protect Known Face metadata. Pass only the fields you want to change; current values are automatically preserved. Supported fields: name, description, is_notification_enabled. Requires confirm=True to apply; otherwise returns a preview.
protect_merge_known_faces tool
Merge one UniFi Protect face group into another. The target group survives and the source group is folded into it. Requires confirm=True to apply; otherwise returns a preview.
protect_delete_known_face tool
Delete or remove a UniFi Protect face recognition group. This is destructive. Requires confirm=True to apply; otherwise returns a preview of the exact group.
protect_update_known_license_plate tool
Update UniFi Protect Known License Plate (license-plate identity) metadata. Pass only the fields you want to change; current values are automatically preserved. Supported fields: name, description, is_notification_enabled. Requires confirm=True to apply; otherwise returns a preview.
protect_delete_known_license_plate tool
Delete or remove a UniFi Protect license-plate recognition group. This is destructive. Requires confirm=True to apply; otherwise returns a preview of the exact group.
protect_get_recording_status tool
Returns the current recording state for one or all cameras. Shows recording mode (always, never, detections), whether actively recording, and available recording time range from NVR stats. Pass a camera_id to check a single camera, or omit for all cameras.
protect_list_recordings tool
Returns recording availability information for a camera within a time range. Shows the recording window and whether footage exists. UniFi Protect stores recordings as continuous streams, not discrete segments. Defaults to the last 24 hours if no time range is specified. Times should be ISO-8601 format (e.g., '2026-03-16T00:00:00Z').
protect_export_clip tool
Exports a video clip from a camera for a specified time range. Returns metadata about the export (size, duration) but not the video data itself (too large for MCP responses). Maximum duration is 2 hours. For timelapse exports, pass fps (4=60x, 8=120x, 20=300x, 40=600x). Times must be ISO-8601 format (e.g., '2026-03-16T12:00:00Z').
protect_delete_recording tool
Attempts to delete recordings for a camera in a time range. Note: Individual recording deletion is NOT supported by the uiprotect API. Recording retention is managed automatically by the NVR. This tool returns information about the limitation and alternative approaches.
protect_get_system_info tool
Returns NVR model, firmware version, uptime, storage usage, and connected device counts. Use for basic 'is the NVR healthy?' checks and capacity overview.
protect_get_health tool
Returns NVR health summary including CPU load and temperature, memory usage, and storage utilization. Use to diagnose performance issues or storage pressure.
protect_list_viewers tool
Lists all connected Protect viewers (e.g., UP-Viewer, Viewport) with their connection state, firmware version, and assigned liveview.
protect_update_viewer tool
Updates a UniFi Protect viewer name or liveview assignment. Get viewer_id values from protect_list_viewers and liveview_id values from protect_list_liveviews. These IDs are scoped to the Protect viewer/liveview tool family - do not pass them to camera, sensor, or chime tools. Requires a Protect public API key: UNIFI_PROTECT_API_KEY (or UNIFI_API_KEY on the UNIFI_HOST console). Requires confirm=True to apply. Pass only the fields you want to change - current values are automatically preserved. Supported keys: name, liveview_id, clear_liveview. Set clear_liveview=True to remove the current liveview assignment.
protect_get_firmware_status tool
Returns firmware update availability for the NVR and all adopted devices (cameras, lights, sensors, viewers, chimes, bridges, doorlocks). Use to check whether any device needs a firmware update.
sitemanager_list_devices tool
Lists UniFi devices grouped by the host that manages them, with model, status, firmware version and whether an update is available. Returns one page of hosts; pass next_cursor back as cursor for more. These IDs are scoped to the Site Manager tool family — do not pass them to Network, Protect, or Access tools.
sitemanager_list_hosts tool
Lists the UniFi consoles and self-hosted servers linked to the account behind the Site Manager API key, with connection state, OS version, hardware model and installed applications. Returns one page; pass next_cursor back as cursor for more. These IDs are scoped to the Site Manager tool family — do not pass them to Network, Protect, or Access tools.
sitemanager_get_host tool
Returns one host by its Site Manager host id. Set include_reported_state for the full state the host reports (large). These IDs are scoped to the Site Manager tool family — do not pass them to Network, Protect, or Access tools.
sitemanager_get_isp_metrics tool
Returns WAN performance for every site the account can see: latency, download and upload speed, uptime, downtime and packet loss. Each site gets a summary over the window plus its most recent periods. Give duration, or begin_timestamp with end_timestamp, not both.
sitemanager_query_isp_metrics tool
Returns WAN performance for named sites, each optionally with its own time range. Read-only: it changes nothing. Take host_id and site_id from sitemanager_list_sites. partial is true when some requested sites were left out.
sitemanager_list_sdwan_configs tool
Lists the SD-WAN configurations on the account behind the Site Manager API key. An account with none returns an empty list.
sitemanager_get_sdwan_config tool
Returns one SD-WAN configuration with its settings, hubs and spokes.
sitemanager_get_sdwan_config_status tool
Returns the deployment status of one SD-WAN configuration: generation status, errors and warnings, and per-hub and per-spoke state.
sitemanager_list_sites tool
Lists the sites on every host the account behind the Site Manager API key can see, with device and client counts, ISP details and WAN health. Returns one page; pass next_cursor back as cursor for more. These IDs are scoped to the Site Manager tool family — do not pass them to Network, Protect, or Access tools.
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
(name computed at run time) tool
setup_status tool
unifi_list_clients tool
List all clients
unifi_list_devices tool
List all devices
unifi_list_devices tool
List all devices
unifi_list_clients tool
List clients
Access Event Stream resource
Real-time UniFi Access events from the event buffer. Returns a JSON array of recent events (newest first). Poll this resource to monitor for door opens, denials, and other events.
Access Event Stream Summary resource
Summary statistics for the event buffer: total count and breakdown by event type. Lightweight alternative to reading the full event stream.
uri_template resource
Protect Event Stream resource
Real-time UniFi Protect events from the websocket buffer. Returns a JSON array of recent events (newest first). Poll this resource to monitor for motion, smart detections, rings, and other events.
Protect Event Stream Summary resource
Summary statistics for the event buffer: total count, breakdown by event type, and breakdown by camera. Lightweight alternative to reading the full event stream.
Camera Snapshot resource
Live JPEG snapshot from a UniFi Protect camera. Replace {camera_id} with the camera's ID (discover IDs via the protect://cameras/snapshots index resource or the protect_list_cameras tool).Camera Snapshot Index resource
JSON index of all cameras available for snapshot capture. Each entry includes the camera ID, name, connection state, and the resource URI to fetch its snapshot.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 335 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 335 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 335 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 335 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 335 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes1 of 335 capabilities start processes; 325 more call code the scanner could not follow, where it may happen
- Tools that touch files23 of 335 capabilities touch files; 303 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 335 capabilities; 326 more call code the scanner could not follow, where it may happen
Where the code is: 335 handlers in 57 files at commit 784d3112ce7d
apps/access/src/unifi_access_mcp/resources/events.pyAccess Event Stream, Access Event Stream Summaryapps/access/src/unifi_access_mcp/tools/credentials.pyaccess_list_credentials, access_get_credential, access_create_credential, access_revoke_credentialapps/access/src/unifi_access_mcp/tools/devices.pyaccess_list_devices, access_get_device, access_reboot_device, access_get_device_configs, access_update_device_configapps/access/src/unifi_access_mcp/tools/doors.pyaccess_list_doors, access_get_door, access_unlock_door, access_lock_door, access_get_door_status, access_list_door_groupsapps/access/src/unifi_access_mcp/tools/events.pyaccess_list_events, access_get_event, access_recent_events, access_subscribe_events, access_get_activity_summaryapps/access/src/unifi_access_mcp/tools/policies.pyaccess_list_policies, access_get_policy, access_list_schedules, access_update_policyapps/access/src/unifi_access_mcp/tools/system.pyaccess_get_system_info, access_get_health, access_list_usersapps/access/src/unifi_access_mcp/tools/visitors.pyaccess_list_visitors, access_get_visitor, access_create_visitor, access_delete_visitorapps/innerspace/src/unifi_innerspace_mcp/resources/plan_image.pyuri_templateapps/innerspace/src/unifi_innerspace_mcp/tools/devices.pyinnerspace_list_placed_devices, innerspace_list_access_points, innerspace_list_switches, innerspace_list_inventoryapps/innerspace/src/unifi_innerspace_mcp/tools/floor_plans.pyinnerspace_list_floor_plans, innerspace_get_plan_assetapps/innerspace/src/unifi_innerspace_mcp/tools/project.pyinnerspace_get_project, innerspace_list_wallsapps/innerspace/src/unifi_innerspace_mcp/tools/status.pyinnerspace_get_statusapps/network/src/unifi_network_mcp/tools/acl.pyunifi_list_acl_rules, unifi_get_acl_rule_details, unifi_create_acl_rule, unifi_update_acl_rule, unifi_delete_acl_ruleapps/network/src/unifi_network_mcp/tools/client_groups.pyunifi_list_client_groups, unifi_get_client_group_details, unifi_create_client_group, unifi_update_client_group, unifi_delete_client_groupapps/network/src/unifi_network_mcp/tools/clients.pyunifi_lookup_by_ip, unifi_list_clients, unifi_get_client_details, unifi_list_blocked_clients, unifi_block_client, unifi_unblock_client, unifi_rename_client, unifi_force_reconnect_client, unifi_forget_client, unifi_authorize_guest, unifi_unauthorize_guest, unifi_set_client_ip_settings +1apps/network/src/unifi_network_mcp/tools/content_filtering.pyunifi_list_content_filters, unifi_get_content_filter_details, unifi_create_content_filter, unifi_update_content_filter, unifi_delete_content_filterapps/network/src/unifi_network_mcp/tools/devices.pyunifi_list_devices, unifi_get_device_details, unifi_reboot_device, unifi_rename_device, unifi_adopt_device, unifi_upgrade_device, unifi_get_device_radio, unifi_update_device_radio, unifi_locate_device, unifi_force_provision_device, unifi_trigger_speedtest, unifi_get_speedtest_status +11apps/network/src/unifi_network_mcp/tools/dns.pyunifi_list_dns_records, unifi_get_dns_record_details, unifi_create_dns_record, unifi_update_dns_record, unifi_delete_dns_recordapps/network/src/unifi_network_mcp/tools/dpi.pyunifi_list_dpi_applications, unifi_list_dpi_categoriesapps/network/src/unifi_network_mcp/tools/dynamic_dns.pyunifi_list_dynamic_dns, unifi_get_dynamic_dns_entry_details, unifi_create_dynamic_dns, unifi_update_dynamic_dns, unifi_delete_dynamic_dnsapps/network/src/unifi_network_mcp/tools/events.pyunifi_list_events, unifi_list_alarms, unifi_recent_events, unifi_subscribe_events, unifi_get_event_types, unifi_archive_alarm, unifi_archive_all_alarmsapps/network/src/unifi_network_mcp/tools/firewall.pyunifi_list_firewall_policies, unifi_get_firewall_policy_details, unifi_toggle_firewall_policy, unifi_create_firewall_policy, unifi_update_firewall_policy, unifi_get_firewall_policy_ordering, unifi_reorder_firewall_policies, unifi_get_firewall_policy_order, unifi_set_firewall_policy_order, unifi_list_firewall_zones, unifi_create_firewall_zone, unifi_update_firewall_zone +8apps/network/src/unifi_network_mcp/tools/gateway_settings.pyunifi_get_gateway_settings, unifi_update_gateway_settingsapps/network/src/unifi_network_mcp/tools/hotspot.pyunifi_list_vouchers, unifi_get_voucher_details, unifi_create_voucher, unifi_revoke_voucherapps/network/src/unifi_network_mcp/tools/incident_evidence.pyunifi_get_incident_evidenceapps/network/src/unifi_network_mcp/tools/nat.pyunifi_list_nat_rules, unifi_get_nat_rule, unifi_create_nat_rule, unifi_update_nat_rule, unifi_delete_nat_rule, unifi_toggle_nat_ruleapps/network/src/unifi_network_mcp/tools/network.pyunifi_list_networks, unifi_get_network_details, unifi_update_network, unifi_delete_network, unifi_create_network, unifi_list_wlans, unifi_get_wlan_details, unifi_update_wlan, unifi_create_wlan, unifi_delete_wlan, unifi_toggle_wlan, unifi_list_ap_groups +4apps/network/src/unifi_network_mcp/tools/oon.pyunifi_list_oon_policies, unifi_get_oon_policy_details, unifi_create_oon_policy, unifi_update_oon_policy, unifi_toggle_oon_policy, unifi_delete_oon_policyapps/network/src/unifi_network_mcp/tools/port_forwards.pyunifi_list_port_forwards, unifi_get_port_forward, unifi_toggle_port_forward, unifi_create_port_forward, unifi_update_port_forward, unifi_create_simple_port_forward, unifi_delete_port_forwardapps/network/src/unifi_network_mcp/tools/qos.pyunifi_list_qos_rules, unifi_get_qos_rule_details, unifi_toggle_qos_rule_enabled, unifi_update_qos_rule, unifi_create_qos_rule, unifi_create_simple_qos_ruleapps/network/src/unifi_network_mcp/tools/routing.pyunifi_list_routes, unifi_list_active_routes, unifi_get_route_details, unifi_create_route, unifi_update_routeapps/network/src/unifi_network_mcp/tools/stats.pyunifi_get_network_stats, unifi_get_client_stats, unifi_get_device_stats, unifi_get_top_clients, unifi_get_dpi_stats, unifi_get_alerts, unifi_get_gateway_stats, unifi_get_speedtest_results, unifi_get_site_dpi_traffic, unifi_get_client_dpi_traffic, unifi_get_ips_events, unifi_get_client_sessions +3apps/network/src/unifi_network_mcp/tools/switch.pyunifi_list_port_profiles, unifi_get_port_profile_details, unifi_create_port_profile, unifi_update_port_profile, unifi_delete_port_profile, unifi_get_switch_ports, unifi_get_port_stats, unifi_get_lldp_neighbors, unifi_get_switch_capabilities, unifi_set_switch_port_profile, unifi_power_cycle_port, unifi_configure_port_mirror +3apps/network/src/unifi_network_mcp/tools/system.pyunifi_get_mdns_settings, unifi_update_mdns_settings, unifi_update_threat_management_settings, unifi_get_threat_management_settings, unifi_get_threat_posture, unifi_get_system_info, unifi_get_network_health, unifi_get_site_settings, unifi_get_snmp_settings, unifi_update_snmp_settings, unifi_get_mgmt_settings, unifi_list_backups +4apps/network/src/unifi_network_mcp/tools/traffic_flows.pyunifi_get_traffic_flows, unifi_get_traffic_flow_statisticsapps/network/src/unifi_network_mcp/tools/traffic_routes.pyunifi_create_traffic_route, unifi_list_traffic_routes, unifi_get_traffic_route_details, unifi_update_traffic_route, unifi_toggle_traffic_routeapps/network/src/unifi_network_mcp/tools/usergroups.pyunifi_list_usergroups, unifi_get_usergroup_details, unifi_create_usergroup, unifi_update_usergroupapps/network/src/unifi_network_mcp/tools/vpn.pyunifi_update_vpn_server_alternate_address, unifi_list_vpn_clients, unifi_get_vpn_client_details, unifi_update_vpn_client_state, unifi_delete_vpn_client, unifi_list_vpn_servers, unifi_get_vpn_server_details, unifi_update_vpn_server_state, unifi_get_teleport_settings, unifi_update_teleport_settingsapps/protect/src/unifi_protect_mcp/resources/events.pyProtect Event Stream, Protect Event Stream Summaryapps/protect/src/unifi_protect_mcp/resources/snapshots.pyCamera Snapshot, Camera Snapshot Indexapps/protect/src/unifi_protect_mcp/tools/alarm.pyprotect_alarm_list_profiles, protect_alarm_get_status, protect_alarm_arm, protect_alarm_disarm, protect_alarm_get_catalog, protect_alarm_fire_webhook, protect_alarm_list_rules, protect_alarm_get_rule, protect_alarm_update_rule, protect_alarm_create_rule, protect_alarm_delete_ruleapps/protect/src/unifi_protect_mcp/tools/cameras.pyprotect_list_cameras, protect_get_camera, protect_list_camera_detection_areas, protect_get_snapshot, protect_get_camera_streams, protect_get_camera_analytics, protect_update_camera_settings, protect_toggle_recording, protect_toggle_rtsp, protect_rename_camera_detection_area, protect_ptz_move, protect_ptz_zoom +2apps/protect/src/unifi_protect_mcp/tools/devices.pyprotect_list_lights, protect_update_light, protect_list_sensors, protect_update_sensor_settings, protect_list_chimes, protect_update_chime, protect_trigger_chimeapps/protect/src/unifi_protect_mcp/tools/events.pyprotect_list_events, protect_get_event, protect_get_event_thumbnail, protect_list_smart_detections, protect_search_detections, protect_detection_search_labels, protect_recent_events, protect_subscribe_events, protect_acknowledge_eventapps/protect/src/unifi_protect_mcp/tools/incident_evidence.pyprotect_get_incident_evidenceapps/protect/src/unifi_protect_mcp/tools/liveviews.pyprotect_list_liveviews, protect_create_liveview, protect_delete_liveviewapps/protect/src/unifi_protect_mcp/tools/recognition.pyprotect_list_known_faces, protect_list_known_license_plates, protect_update_known_face, protect_merge_known_faces, protect_delete_known_face, protect_update_known_license_plate, protect_delete_known_license_plateapps/protect/src/unifi_protect_mcp/tools/recordings.pyprotect_get_recording_status, protect_list_recordings, protect_export_clip, protect_delete_recordingapps/protect/src/unifi_protect_mcp/tools/system.pyprotect_get_system_info, protect_get_health, protect_list_viewers, protect_update_viewer, protect_get_firmware_statusapps/sitemanager/src/unifi_sitemanager_mcp/tools/devices.pysitemanager_list_devicesapps/sitemanager/src/unifi_sitemanager_mcp/tools/hosts.pysitemanager_list_hosts, sitemanager_get_hostapps/sitemanager/src/unifi_sitemanager_mcp/tools/isp_metrics.pysitemanager_get_isp_metrics, sitemanager_query_isp_metricsapps/sitemanager/src/unifi_sitemanager_mcp/tools/sdwan.pysitemanager_list_sdwan_configs, sitemanager_get_sdwan_config, sitemanager_get_sdwan_config_statusapps/sitemanager/src/unifi_sitemanager_mcp/tools/sites.pysitemanager_list_sitespackages/unifi-mcp-shared/src/unifi_mcp_shared/meta_tools.py(name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time), (name computed at run time)packages/unifi-mcp-shared/src/unifi_mcp_shared/setup_required.pysetup_status
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests12 manifests: apps/access/pyproject.toml, apps/api/pyproject.toml, apps/innerspace/pyproject.toml, apps/network/pyproject.toml, apps/protect/pyproject.toml
- Lockfiles checked against OSV3 files resolved and checked against the OSV database; 10 not resolved: apps/access/pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; apps/api/pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials19 of 335 capabilities read credentials; 307 more call code the scanner could not follow, where it may happen
- Environment variables19 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (12 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP |
| Sign-in | not checked needs the live server |
| Servers in the code | 14 (relay-sdk-v2-test, test, legacy-app, test-server, legacy) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-15 |
| Signed releases | not checked yet |
Where it is published
| MCP Registry | io.github.sirkirby/unifi-access-mcp io.github.sirkirby/unifi-network-mcp io.github.sirkirby/unifi-protect-mcp |
|---|---|
| Listed in | 2 catalogs (github_search, mcp_registry) |
| License | MIT |
| Created | 2025-04-21 |
| Topics | agentic-ai home-automation mcp-server unifi unifi-access unifi-controller unifi-network unifi-protect |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.