HPE Networking Assistant
Query your Juniper Mist network in natural language directly from Claude Desktop, providing read-only access to network inventory, clients, alarms, and more via the Mist API.
README
HPE Networking Assistant
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.
Quick start
- Install Claude Desktop.
- Download
hpe-networking-assistant.dxtfrom the latest release. - Double-click the file (or drag it into Claude Desktop → Settings → Extensions).
- When prompted, paste your Mist API token — that's the only field.
- 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.
- 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。