/unifi-mcp-server:unifi-channel-planningfrom unifi-mcp-server
Builds an AI-driven low-interference WiFi channel plan from UniFi MCP neighbor observations. Use for RF optimization, channel conflict reduction, and per-AP channel assignment.
Ships in unifi-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to produce a deterministic channel plan from MCP output.
Primary intent:
| Tool | Purpose |
|---|---|
list_sites | Select target site |
list_devices_by_type | Get managed AP inventory (type=uap) |
list_site_internal_ap_neighbors_v2 | Build internal AP-to-AP graph for one site in one call |
| Tool | When to use |
|---|---|
list_neighboring_aps | Optional external RF tie-breaker or explanation; do not fetch by default |
list_ap_neighbors_v2 | Per-AP drill-down, debugging, or partial-result validation |
get_device_details | When radio configuration, current channel, width, or regulatory capabilities are not available from inventory |
Optional execution tool:
| Tool | Purpose |
|---|---|
set_ap_radio_channel | Apply proposed channel per AP/radio |
Expected fields from neighbor observations:
ap_mac: AP that observed the neighborbssid or mac: observed AP/BSSID identitychannel: observed neighbor channel numbersignal: RSSI (dBm)last_seen: freshness indicatorradio or band: required radio/band dimension (ng/2.4 GHz or na/5 GHz)channel_width or ht: channel width, required when available for 5 GHzIf any field is missing:
ap_mac, channel, or signal.Use two distinct datasets and do not mix them:
list_site_internal_ap_neighbors_v2(site_id, start_ms, end_ms, min_rssi)mac is a managed AP MAC from the same site.list_ap_neighbors_v2 per AP.list_neighboring_aps (stat/rogueap)Keep the MCP interaction bounded and return summaries rather than raw payloads:
min_rssi during collection (-85 by default, -80 for dense sites)
instead of collecting all weak observations and filtering after output.list_site_internal_ap_neighbors_v2 because it aggregates the
per-AP v2 calls server-side. Do not repeat list_ap_neighbors_v2 for every
AP unless debugging a specific AP or validating a partial result.limit and offset when supported;
continue in pages until the managed AP set is complete.list_neighboring_aps only when external RF pressure is needed for a
tie-breaker or explanation. It can contain hundreds of rows and must never
be dumped into the planning response by default.Required collection metadata:
start_ms, end_ms, and min_rssiWhen physical AP locations are unavailable:
occupied_20mhz_channels set.signal >= -85.>= -80.Optimization order is strict:
3/3/2 for eight APs on three
2.4 GHz channels.Default score tolerance:
2%0.01candidate_score <= best_score * 1.02
or candidate_score - best_score <= 0.01.For a global 2.4 GHz assignment, score every internal edge using the proposed channels of both APs:
rssi_weight(signal)0.5 * rssi_weight(signal)0For 5 GHz, score overlap between the occupied channel ranges. A shared 20 MHz block receives the same base penalty, scaled by the fraction of overlapping blocks. An 80 MHz AP therefore contributes more spectrum pressure than a 20 MHz AP when the ranges overlap.
Use deterministic RSSI weight classes instead of assuming a linear RF effect:
signal >= -55: weight 4.0-65 <= signal < -55: weight 3.0-75 <= signal < -65: weight 2.0-85 <= signal < -75: weight 1.0Multiply same-channel or overlap penalties by this weight. Keep the raw RSSI in the output reason so the score remains explainable.
Before optimization, normalize the internal graph:
channel field: it is
the observed neighbor/BSSID channel only.Do not sum an observer's neighbor rows against a candidate while leaving all other APs at their current channels. That produces misleading results such as moving several APs to channel 11 simply because each AP was evaluated alone.
3/3/2 (in deterministic
channel order) over a 4/3/1 or more concentrated distribution.For each observed neighbor relation:
p_same = rssi_weight(signal)p_adj = 0.5 * rssi_weight(signal)0Total candidate score:
score(ap, ch) = sum(penalties from all neighbors seen by ap on/near ch)Lower score is better.
Return a plan table with:
ap_maccurrent_channelproposed_channelbandconfidence (high|medium|low)reason (top 1-3 conflict drivers)Also return summary metrics:
list_sites and select site_id.type=uap).list_site_internal_ap_neighbors_v2 over a fixed window (default 24h).list_ap_neighbors_v2.list_neighboring_aps(site_id, min_rssi=-85) for external context.last_seen, extreme noise).set_ap_radio_channel.After each rollout wave, verify:
Pre-plan data-quality checks:
channel=auto as unknown current state. Infer it only when the v2
graph provides a fresh observation of that AP as a neighbour. Mark the
inferred current state and resulting recommendation medium-confidence. If
the AP is not observed as a neighbour, keep it unchanged and mark
low-confidence.channel field on a v2 edge describes the observed neighbor/BSSID.Auto may be inferred from a fresh row where its MAC is the observed
neighbour, and may be changed to the proposed fixed channel when the plan is
explicitly accepted.rogueap alone.Confidence must be deterministic:
high: complete internal data, fresh observations, known capabilities, and
a clear score improvement or a validated no-op.medium: partial or stale data, inferred Auto state, missing width, or a
marginal score difference.low: no or very few observations, skipped APs, unknown capabilities, or an
unknown current channel.low confidence.Auto and its current channel is inferred from a
fresh neighbour observation, preserve the original Auto setting for
rollback and allow the accepted plan to set an explicit fixed channel.list_site_internal_ap_neighbors_v2 reports skipped_aps, keep those APs unchanged and mark low confidence.rogueap is available and internal AP graph is missing, return "insufficient internal data" instead of proposing deterministic AP-to-AP assignments.0 APs changed; do not manufacture changes."For site X, use the internal AP neighbor graph to produce a low-interference channel plan per AP for 2.4 GHz first. Use channels 1/6/11 only, use minimum RSSI -85, minimize same-channel conflicts, and return deterministic sorted results with reasons. Fetch external rogue-AP data only if needed for context."
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub enuno/unifi-mcp-server --plugin unifi-mcp-server16 skills in this plugin
/unifi-cloud-fleet-toolsUse when adding, changing or testing a cloud or multi-controller MCP tool (Site Manager, the connector proxy, the integration API tools, sites, Mobility, InnerSpace, Carrier Fabric) or the fleet stack (router, registry, pool, read cache, workers, fleet_* and admin tools) - covers API modes, gating, per-call routing, tokens and roles, test fixtures and known gaps./unifi-devicesUniFi device management: inventory, adoption, restarts, firmware upgrades, radio/channel configuration, port profiles, switching/stacks, network topology, and diagnostics. Use when the task involves physical UniFi hardware (APs, switches, gateways, cameras).
/unifi-discoveryFind what a UniFi MCP Server can do and pick the right backend before acting. Use when starting a session, when a tool is missing or returns nothing, when choosing between local, cloud and fleet mode, or when deciding which tools are safe to call.
/unifi-docs-syncUse when adding, changing or removing an MCP tool, changing the A2A agent card or the native MCP prompt catalog, or changing what a deployment exposes - covers the tool registry, the agent card, the prompt catalog, API.md, the skills and the checks that fail when they drift./unifi-fleet-operationsOperate a multi-controller UniFi deployment behind one MCP server. Use when there is more than one controller, when a task must run against a specific controller, when a controller is unreachable, or when a controller's credentials need to be managed.
/unifi-mcp-setupUse when setting up, installing or configuring the UniFi MCP Server itself, or as a broad fallback for a UniFi task when none of the narrower operator skills fit. One-file overview of install methods, environment variables, the API-mode feature matrix, UNIFI_PROFILE scoping and example prompts. Triggers when the user mentions UniFi, Ubiquiti, network clients, APs, switches, gateways, firewall policies, or traffic flows in a network management context.
Other plugins' skills for the same job