unifi_unblock_ip
Removes an IPv4 address or CIDR from the UniFi MCP blocklist, restoring access for that client. Guarded changes to protected networks or wide ranges require confirm: true.
Instructions
Remove an IPv4 address or CIDR from the "unifi-mcp blocklist" (one update of the list). Easy, unless it overlaps a protected network's subnet (UNIFI_MCP_PROTECTED_NETWORKS, pi-cluster by default) or is a wide range (a prefix shorter than /16); those need confirm. The console can't hold an empty list, so removing the last address deletes the blocklist (both policies, then the list) and needs confirm: true; the next unifi_block_ip recreates it. An address not listed is a no-op.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "<ip>"
},
"name": "unifi_unblock_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 address or CIDR | |
| site | No | Site name, id or reference; optional while the console has a single site | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it |