icx-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ICX_HOST | Yes | Hostname or IP address of the Ruckus ICX switch. | |
| ICX_DEBUG | No | Enable debug logging (default false). | false |
| ICX_PASSWORD | Yes | Password for the switch account. | |
| ICX_USERNAME | Yes | Username for the switch account. Must be privilege 0 for RESTCONF. | |
| ICX_HTTP_HOST | No | Host for the streamable-http transport (e.g., 127.0.0.1). | |
| ICX_TRANSPORT | No | Transport to use: stdio (default) or streamable-http. | stdio |
| ICX_VERIFY_TLS | No | Whether to verify TLS certificates (default true). The ICX uses a self-signed cert, so either give it a CA bundle path (preferred) or set false. | true |
| ICX_INVENTORY_FILE | No | Optional YAML inventory file. Refused if it contains secrets. | |
| ICX_RESTCONF_PATH_<RESOURCE> | No | Override the candidate RESTCONF path for a given resource; replace <RESOURCE> with the resource name (e.g., STP). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only access to one Ruckus ICX 7450 switch (FastIron 09.0.10k).
Nothing here can change the switch; when recommending changes, output FastIron CLI for a
human to review and apply.
Start with get_system_info. Use filters (name_filter, port_filter, vlan, section) to keep
results small. Port names are unit/module/port, e.g. 1/1/12; uplink module ports 1/2/x.
Each result's source says whether RESTCONF or the SSH fallback answered. If a tool reports
that no RESTCONF path worked, discover_restconf lists the YANG modules the switch exposes.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_devicesA | List the switches this server can query (currently exactly one ICX 7450). Returns the device name, management host, and which backends (RESTCONF, SSH) are enabled. Never returns credentials. Call this first if unsure what device is configured or whether the server is set up. |
| discover_restconfA | Diagnose RESTCONF connectivity and list the YANG modules the switch exposes. Probes /.well-known/host-meta, /restconf, RESTCONF capabilities and the YANG library. Use this to (1) verify reachability and credentials, and (2) find the correct data paths when another tool reports that no RESTCONF path worked. Output: reachable, auth_ok, modules [{name, revision}], per-probe HTTP status. |
| get_system_infoA | Get switch identity and health: model, serial, FastIron version, hostname, uptime/boot time, CPU utilization and memory usage. Uses RESTCONF (openconfig-system/platform) first and falls back to
Args: include_raw: Also return the unmodified backend payload (large; only use when a field you need is missing from the normalized output). |
| get_interfacesA | List switch ports and their state: admin/oper status, speed, duplex, description, MTU, MAC and error counters (in/out errors, discards, FCS). Use filters to keep output small on the 48-port ICX 7450. Args: name_filter: Substring or glob matched against port name OR description, e.g. "1/1/5", "1/2/", "ethernet1/1/1", "uplink". Case-insensitive. status: "up" = only operationally up ports, "down" = only non-up ports. only_with_errors: Only ports with non-zero error/discard counters (RESTCONF only; SSH fallback lacks counters). include_counters: Add full traffic counters (octets, unicast/broadcast/ multicast packets, carrier transitions). Returns {source, total_interfaces, returned, interfaces:[...]}. |
| get_poe_statusA | Get Power over Ethernet (PoE/PoE+) status: chassis power budget and, per port, admin state, operational state, power consumed and allocated (watts), PD type (802.3af/at/bt/legacy), power class, priority, and faults. Use this to answer: which ports power APs/cameras/phones, how close the switch is to its PoE budget, which ports have PoE faults, or why a device isn't getting power. Args:
port_filter: Substring or glob on port name, e.g. "1/1/1", "1/1/*".
only_powered: Only ports currently delivering power.
only_faults: Only ports reporting a PoE fault/error.
include_cli_details: Add the fields RESTCONF lacks (chassis budget,
allocated power, PD type, priority, faults) from Returns {source, summary:{powered_ports, total_power_used_w, total_w, free_w, allocated_pct_of_budget, ports_with_faults}, ports:[...]}. Summary is always computed over ALL PoE ports, regardless of filters. |
| get_stp_statusA | Get spanning-tree state (STP 802.1D, RSTP 802.1w, rapid-PVST or MSTP). FastIron usually runs one 802.1w instance PER VLAN. For each instance returns: bridge priority/address, root bridge priority/address, whether this switch is root, root port, root path cost, timers, topology-change count, and per-port role (ROOT/DESIGNATED/ALTERNATE/BACKUP/DISABLED), state (FORWARDING/ DISCARDING/LEARNING/BLOCKING), cost, priority, edge-port and BPDU guard. Use this to find blocked ports, unexpected root bridges, missing edge-port config on access ports, or loop/topology-change problems. Args: vlan: Only this VLAN's instance (per-VLAN STP/RSTP). port_filter: Substring or glob on port name, e.g. "1/1/4*" or "lg1". only_non_forwarding: Only ports NOT in forwarding state. On FastIron, RESTCONF only has STP configuration; live state comes from
Returns {source, enabled_protocols, summary:{root_bridge_for, distinct_root_bridges, blocked_or_discarding_ports, ...}, instances:[...], port_config:{port: {...}}}. Summary covers all instances regardless of filters. |
| get_vlansA | List VLANs with ID, name, status and port membership (tagged/untagged). Use to answer "which VLANs exist", "what VLANs is port 1/1/12 in", or "which ports carry VLAN 30 tagged". FastIron port names look like "1/1/12" (unit/module/port); LAGs look like "lg1". Args: vlan_id: Only this VLAN. port: Only VLANs containing this port (substring/glob, e.g. "1/1/12"). include_members: Set False for a compact list of VLAN IDs and names only. |
| get_running_configA | Read the switch's running configuration, filtered to what you need. Secrets (passwords, keys, SNMP communities) are always redacted. Formats:
YANG workflow: call with no args to get top-level subtree sizes if large, then
pass yang_path (e.g. "interfaces", "openconfig-spanning-tree:stp" -> use "stp").
CLI workflow: list_sections=true to see block headers, then fetch only the
blocks you need with Args: section: CLI only. Comma-separated block-header prefixes, e.g. "interface ethernet 1/1/5", "vlan 20", "vlan", "spanning-tree", "interface ethernet 1/1/1,interface ethernet 1/1/2". match: CLI only. Case-insensitive regex; returns whole blocks with any matching line, e.g. "inline power", "802-1w", "port-name .*AP". list_sections: CLI only. Return just the block headers (cheap overview). yang_path: YANG only. Dotted path to a subtree, e.g. "interfaces" or "stp.global". max_lines: CLI output line cap (default 400, max 5000). max_chars: YANG output size cap (default 60000). |
| run_show_commandA | Run ONE read-only FastIron Use this only when no structured tool covers what you need (e.g. "show lldp
neighbors detail", "show log", "show mac-address ethernet 1/1/5",
"show interfaces ethernet 1/1/5", "show media", "show errdisable recovery").
Only allowlisted Args: command: e.g. "show lldp neighbors detail ports ethernet 1/1/1". max_chars: Output cap (default 20000). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Each structured getter targets a distinct domain (system, interfaces, PoE, STP, VLANs, config), and descriptions give explicit guidance on when to prefer one over another. The only real overlaps are list_devices vs discover_restconf (both framed as 'call first if unsure') and get_running_config vs run_show_command, though the latter's 'use only when no structured tool covers this' rule mitigates confusion.
Uniform snake_case with a predictable verb_noun shape: list_devices, discover_restconf, get_* family, run_show_command. No camelCase or vague bare verbs anywhere.
Nine tools for a single-switch diagnostic server is well scoped — one tool per major operational area plus two meta/escape-hatch tools, each earning its place.
Covers the core read-only surface an agent needs (identity, ports, PoE, STP, VLANs, config) plus run_show_command as a general escape hatch for LLDP, MAC tables, logs, and transceivers. No write/change tools exist, but that appears to be an intentional read-only scope rather than a gap, leaving at most minor holes like structured LAG/LLDP data.