Skip to main content
Glama
HPE Networking Assistant

HPE Networking Assistant

Official

HPE Networking Assistant

Release CI License: MIT Python 3.10+

Query your Juniper Mist network in natural language, directly from Claude Desktop.

➡ Download the latest .dxt and install it in Claude Desktop (Settings → Extensions).

The HPE Networking Assistant is a read-only Model Context Protocol (MCP) server packaged as a one-click Claude Desktop extension. Network engineers can ask Claude things like "Show all APs in my organization" or "Which access points are offline right now?" and get answers pulled live from the Mist API — no manual API calls, no scripting.

Read-only by default. Out of the box the assistant only reads from Mist. An opt-in write mode (off by default) adds tools that can change your environment — see Write mode.


What it can do

Capability

Tool

First-run onboarding: detect region, discover orgs/sites, validate, report READY FOR USE

start_setup

Report mode (read-only/read-write), region, org, and write readiness

get_status

Discover the organizations your token can access

get_organizations

List sites in an organization

get_sites

Inventory access points (org-wide or per site)

get_access_points

Inventory switches (org-wide or per site)

get_switches

List currently connected wireless clients

get_clients

List wired clients on switch ports (switch, port, VLAN, IP)

get_wired_clients

Report offline access points

get_offline_access_points

What's wrong? — Marvis AI suggested actions + fixes

get_marvis_actions

List organization alarms (severity/type counts)

get_alarms

Per-site Service Level Expectations (experience scores)

get_sle

Switch/device port stats (link, PoE, neighbor, traffic)

get_switch_ports

Back up the org configuration to JSON (read-only)

export_org_config

Set the session's default org by name (multi-org tokens)

set_active_org

Compare current config to a saved backup (config drift)

diff_org_config

Generate a network health report (Markdown)

generate_health_report

Generate a full device inventory report (Markdown)

generate_inventory_report

Firmware compliance report (drift vs fleet target)

generate_firmware_report

Per-site network topology diagram (Mermaid)

generate_topology

Locate a wireless client by MAC or hostname

find_client

Trace a client's connection events to troubleshoot

trace_client

List Access Assurance (NAC) authenticated clients

get_nac_clients

Troubleshoot 802.1X/MAB authentication by MAC or username/cert CN (NAC events)

troubleshoot_authentication

Build an HTML Access Assurance (NAC) dashboard

generate_nac_dashboard

All twelve Mist global cloud regions are supported (Global, EMEA, APAC), auto-detected from your token.

Companion live dashboards (Cowork)

In addition to the packaged extension tools, two live, connector-backed dashboards are available in Claude Cowork (separate from the .dxt):

  • Mist Network & Access Assurance dashboard — device health and NAC charts that auto-refresh every 30s.

  • NAC Auth Debugger — type a username or MAC to isolate that identity's authentication events, decode the most recent failure, and hand the detail to Claude for a fix suggestion.

Write mode (opt-in)

Write mode is disabled by default. When you enable it in the extension settings, these additional tools become available — and each one requires confirm: true before it does anything:

Capability

Tool

Rename an AP or switch

rename_device

Reboot a device

reboot_device

Toggle a device's locate LED

locate_device

Claim devices into an org

claim_devices

Assign devices to a site

assign_devices_to_site

Three layers of protection apply: write mode must be explicitly enabled, your API token must itself have write privileges, and every write call must pass confirm: true. When write mode is off, the write tools are not even advertised to Claude.

Enabling write mode. Toggle Enable write operations in the extension Settings (Claude Desktop → Settings → Extensions → HPE Networking Assistant); the change takes effect when the extension restarts. Then ask Claude to "check my setup" (get_status). Because a Mist token inherits the role of the account that created it and cannot be elevated via the API, if your current token is read-only the status check will say so and walk you through creating a write-capable token (under an account with a Network Admin role) and pasting it back into Settings — the token stays in your OS keychain.


Related MCP server: API-Central

Quick start

  1. Install Claude Desktop.

  2. Download hpe-networking-assistant.dxt from the latest release.

  3. Double-click the file (or drag it into Claude Desktop → Settings → Extensions).

  4. When prompted, paste your Mist API token — that's the only field.

  5. In a new chat, say "Set me up." The assistant auto-detects your region, discovers your organizations and sites, runs validation, and reports READY FOR USE.

  6. Ask Claude: "Show all APs in my organization."

You never need to know your Org ID, Site ID, or API endpoint. The whole process takes under ten minutes. See the Installation Guide for details and the Onboarding Guide for example prompts.


Getting a Mist API token

In the Mist portal: My Account → API Token → Create Token. Copy the token immediately — it is shown only once. The token inherits your account's permissions; for this read-only assistant an Observer/Read role is sufficient. See the Installation Guide for screenshots and tips.


Region detection

You don't pick a region. On first run, start_setup probes the Mist clouds with your token and keeps the one that authenticates, so the correct API endpoint is found automatically. The detected region is saved so it isn't probed again. The full list of twelve supported regions is in src/hpe_mist_mcp/regions.py. Advanced users running the CLI can override detection with the MIST_REGION environment variable.


Developing locally

git clone https://github.com/hpe-networking-lab/hpe-networking-assistant.git
cd hpe-networking-assistant
python -m venv .venv && source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -e ".[dev]"

# Configure + validate against your Mist tenant
hpe-mist-setup                 # interactive setup wizard
hpe-mist-validate              # prints READY FOR USE / REQUIRES ATTENTION

# Run the MCP server over stdio (for manual testing)
hpe-mist-mcp

Run the test suite (no network or token required — the Mist API is mocked):

pytest

How it works

Claude Desktop  ⇄  MCP (stdio)  ⇄  hpe_mist_mcp.server  ⇄  Mist REST API (HTTPS, GET only)
  • mist_client.py — dependency-free Mist API client (standard library only): inventory, clients, search, NAC, and guarded writes.

  • server.py — MCP server implementing the JSON-RPC stdio transport with the standard library only (no third-party packages), exposing the read-only tools plus the opt-in write tools.

  • config.py — resolves the token/region/org from environment variables (injected by the extension) or a local config file (written by the setup wizard).

  • discovery.py — automatic Mist region detection from the token.

  • setup_wizard.py / validation.py — guided onboarding and a health check that emits READY FOR USE or REQUIRES ATTENTION.

  • reports.py / nac_visualizer.py — Markdown reports and the self-contained HTML NAC dashboard.

The packaged extension stores your API token in the OS keychain (macOS Keychain / Windows Credential Manager) and passes it to the server via the MIST_API_TOKEN environment variable.


Roadmap

Phase 2 is complete. Report generation (v1.4.0), client trace/troubleshooting (v1.5.0), Access Assurance & auth troubleshooting (v1.6.0), the NAC Visualizer HTML dashboard (v1.7.0), and per-user auth debugging (v1.8.0). Full history in docs/RELEASE_NOTES.md.


Security

  • Read-only by default: no write tools are exposed unless write mode is explicitly enabled.

  • Defense in depth for writes: write mode must be enabled, the token must have write privileges, and each write requires confirm: true. Writes are never auto-retried.

  • The API token is never logged (it is masked in any diagnostic output).

  • Tokens are stored in the OS keychain by the extension, or in a 0600-permissioned file by the setup wizard.

Report security issues via the issue tracker.


License

MIT — see LICENSE.

Available Tools

25 tools
diff_org_configA

Compare the current org configuration against a saved backup file (config drift): reports added, removed, and changed objects per resource type. baseline_file is a path to a JSON file previously produced by export_org_config.

Inputs: baseline_file (required), org_id.

export_org_configA

Export a read-only backup of the org configuration as JSON (org settings, sites, networks, VPNs, templates, WLANs, NAC rules, webhooks, etc.) for the user to save to a .json file. Secrets are excluded/masked.

Inputs: org_id.

find_clientA

Locate a wireless client by MAC address or hostname: which site, AP, and SSID it is on, plus IP, band, and signal. Provide mac or hostname.

Inputs: mac, org_id, duration, hostname.

generate_firmware_reportA

Firmware compliance report (Markdown): for each AP/switch model, the version most of the fleet runs and which devices are behind it. Use to find firmware drift.

Inputs: org_id.

generate_health_reportA

Generate a network health report as Markdown: device totals, online/offline counts, offline AP list, and per-site breakdown. The user can then save it as a file. Set include_clients=false to skip the (slower) org-wide client count.

Inputs: org_id, include_clients.

generate_inventory_reportA

Generate a full device inventory report as Markdown (every AP and switch with model, serial, MAC, site, status, and firmware version).

Inputs: org_id.

generate_nac_dashboardA

Build a self-contained HTML Access Assurance (NAC) dashboard: summary cards and bar charts for auth types, client types, status, event types, and top failing users/rules. Returns HTML the user can save as a .html file and open in a browser.

Inputs: org_id, duration.

generate_topologyA

Build a per-site network topology as a Mermaid diagram (plus structured nodes/edges): gateways, switches, and APs linked via switch-port LLDP neighbors. Provide a site name; set include_clients=true to add connected clients. Render the Mermaid or save it.

Inputs: site, org_id, include_clients.

get_access_pointsB

List access points (APs) in an organization, optionally filtered to a site.

Inputs: org_id, site_id.

get_alarmsA

List organization alarms over a window with per-severity and per-type counts (device/switch/gateway offline, restarts, security, Marvis). Optional severity filter.

Inputs: org_id, duration, severity.

get_clientsA

List currently connected wireless clients (org-wide or for one site).

Inputs: org_id, site_id.

get_marvis_actionsA

List Marvis (AI) suggested actions — Mist's prioritized view of what's wrong (offline switches/APs, non-compliant firmware, misconfigured ports, RF/DFS issues) and the recommended fix. Use for 'what's wrong with my network?'. Pass status="open" for active items only.

Inputs: org_id, status.

get_nac_clientsA

List Access Assurance (NAC) clients authenticated to the network — user, client type (wired/wireless), auth type (EAP-TLS/PEAP/MAB), SSID, VLAN, matched auth rule, and status. Optional filters: mac, auth_type, type.

Inputs: mac, type, org_id, duration, +1 more.

get_offline_access_pointsB

Report access points that are currently offline (disconnected).

Inputs: org_id.

get_organizationsA

List the Juniper Mist organizations the API token can access.

Inputs: no named parameters.

get_sitesC

List the sites in an organization.

Inputs: org_id.

get_sleA

Service Level Expectations (SLE) per site — Mist's user-experience scores as percentages (e.g. ap-health, coverage, capacity, successful-connects, switch/gateway/wan health). Use to gauge experience quality by site.

Inputs: org_id.

get_statusA

Report the current mode (read-only vs read-write), region, organization, and whether the token can make changes. Use when the user asks about their mode or write access.

Inputs: no named parameters.

get_switchesA

List switches in an organization, optionally filtered to a site.

Inputs: org_id, site_id.

get_switch_portsA

Switch/device port statistics: link state, speed/duplex, PoE on/off and draw, LLDP neighbor, and traffic. Filter by switch_mac, site_id, or up (true/false).

Inputs: up, org_id, site_id, switch_mac.

get_wired_clientsA

List wired clients (devices seen on switch ports): switch MAC, port, VLAN, IP, and vendor. Optional mac / hostname / site_id filters. Complements get_clients (wireless).

Inputs: mac, org_id, site_id, duration, +1 more.

set_active_orgA

Set the default organization for this session by name or id. Useful when the token can access several organizations — subsequent tools then target the chosen org.

Inputs: org (required).

start_setupA

Run first-run onboarding: auto-detect the Mist region from the token, discover organizations and sites, run validation, and return a READY FOR USE report. Call this when the user is setting up or asks to get started. Optionally pass organization="" to choose among multiple orgs.

Inputs: organization.

trace_clientA

Trace a wireless client's recent connection events (association, auth, DHCP, roam, disconnect) to troubleshoot why it can't connect or roams poorly. Returns an event timeline, type counts, and highlighted failures.

Inputs: mac (required), org_id, duration.

troubleshoot_authenticationA

Troubleshoot 802.1X/MAB authentication using Access Assurance (NAC) events: returns the auth-event timeline, per-type counts, and highlighted failures (denied/rejected/errored). Focus on one identity with mac (client MAC) and/or user (username or certificate CN).

Inputs: mac, user, org_id, duration.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 25 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action, from device inventory and client lookup to authentication troubleshooting and config diffing. Even seemingly similar tools like get_clients, get_wired_clients, and get_nac_clients are clearly differentiated by their descriptions (wireless vs. wired vs. Access Assurance). The only mild overlap is between get_access_points and get_offline_access_points, but the latter is a specific filtered view, so confusion is unlikely.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun snake_case pattern. The verbs vary semantically (generate, get, find, trace, troubleshoot, start, set, export, diff) but are predictable for their function: generate_ for reports, get_ for lists/retrievals, and so on. This consistency allows an agent to infer behavior from the name alone.

    Tool Count3/5

    With 25 tools, the server sits at the upper boundary of the 'heavy' range (16–25). The domain is broad, covering inventory, clients, NAC, Marvis, config management, and session setup, so many tools are justified. However, some report generators (inventory, firmware, health, NAC dashboard) could potentially be consolidated, making the count feel slightly bloated.

    Completeness4/5

    The tool surface provides thorough coverage for network observability, troubleshooting, and configuration backup/compare. It includes inventory, health, client tracking, authentication analysis, Marvis insights, alarms, SLE scores, and port-level details. The main gaps are the lack of write operations (e.g., implementing Marvis fixes) and no singular device detail lookup, but these feel intentional given the assistant's likely read-only role.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Cisco network devices through SSH using Netmiko. Supports retrieving device status, interface details, configurations, and resource monitoring through natural language commands in Claude Desktop.
      -
    • A
      license
      A
      quality
      A
      maintenance
      Enables conversational automation of HPE Aruba Central network operations through Claude Code. Provides 88 tools across monitoring, configuration, and operations domains for device migration, SSID management, switch provisioning, and GreenLake Platform integration.
      16
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language interaction with Jamf Pro, Jamf Protect, and Jamf Security Cloud, allowing users to manage devices, security alerts, and configurations through Claude Desktop.
      MIT