hpe-networking-mcp
Low-token MCP server for HPE Networking automation, enabling search of Aruba/HPE docs, OpenAPI details, Central health checks, troubleshooting workflows, configuration management, and guarded ArubaOS 8 migrations and GreenLake Platform operations across platforms like Aruba Central, ClearPass, Mist, and Apstra.
README
hpe-networking-mcp — HPE Networking MCP toolkit
The banner tracks the current backend catalog: a large tool surface stays available on demand, while the MCP client itself only ever sees three router tools by default.
Low-token Model Context Protocol (MCP) server for HPE Networking automation: Aruba Central, HPE GreenLake Platform (GLP), ClearPass, Juniper Mist, Apstra, ArubaOS 8 migration automation, EdgeConnect, HPE Aruba UXI, and Axis Atmos Cloud.
hpe-networking-mcp gives MCP-capable AI clients a low-token way to search Aruba/HPE
docs, look up exact OpenAPI details, inspect Central health, run
troubleshooting workflows, manage configuration, execute guarded ArubaOS 8
migrations, and use guarded GreenLake Platform operations. It is built around
direct REST calls with httpx.
For the full visual walkthrough of this same information — audience picker,
diagrams, and write-safety flow — see the
hpe-networking-mcp GitHub Pages site.
This README stays intentionally short; canonical guides live under docs/.
Who it's for
| You are... | Start with |
|---|---|
| A first-time MCP user | The five-minute credential-free quickstart below, then Getting started |
| An Aruba network operator | Example prompts and typed product workflows |
| An hpe-networking-mcp developer | Architecture overview and Contributing guide |
Five-minute credential-free quickstart
Verify the install, build the router catalog, and start the MCP HTTP server before adding any Aruba Central or GreenLake Platform credentials:
git clone https://github.com/secure-ssid/hpe-networking-mcp.git
cd hpe-networking-mcp
python3 scripts/setup_wizard.py --yes --skip-credentials
uv run hpe-mcp-doctor
MCP_PORT=8010 bash scripts/run_http_router.sh
Expected outcomes:
- The wizard prints each completed phase and ends with a setup-complete summary; no Central/GLP calls are made.
doctor.pyreports local dependency, config-path, and index checks — everything readsOKor lists what to fix, without calling any vendor API.- The HTTP router prints a
Uvicorn running on http://127.0.0.1:8010line and keeps running in the foreground.
<figure> <img src="docs/assets/diagrams/quickstart-journey.svg" alt="Six steps from cloning hpe-networking-mcp through setup, doctor checks, MCP connection, tool discovery, and a safe read-only call"> </figure>
The same six steps this diagram shows — clone, run the wizard, check the doctor, connect, discover, and call safely — are exactly what the commands above walk through.
Connect any MCP-capable client to http://127.0.0.1:8010/mcp, then try a
credential-free discovery call:
find_tool("ask Aruba docs with citations")
invoke_read_tool("ask_docs", {"question": "WPA3 SAE transition mode", "top_k": 5})
Expected outcome: a short, cited answer from the embedded docs index — this call only reaches the local RAG index, never Central or GLP.
Write safety at a glance
find_toolonly searches the local tool catalog; it never calls a vendor API.invoke_read_toolblocks any backend tool that is not annotated read-only.invoke_toolis deliberately marked destructive because it can also dispatch write/destructive backend tools — use it only when a write is intended.- Use
dry_run=Truefirst when supported; real execution then requires eitherconfirm=Trueor MCP elicitation, depending on the tool schema. HPE_MCP_ACCESS_PROFILE=custompreserves the current per-platform behavior; usesafe-read-onlyto block every write orfull-read-writeto enable ordinary writes on every loaded platform.- Full read/write mode does not bypass dry-run, confirmation, elicitation, or dedicated safeguards such as the separate AOS8 rollback gate.
- Credentials stay in
config/credentials.yamlor environment variables and are never committed.
See Tool router for the complete discovery/dispatch/write-safety model.
Project snapshot
| Area | Current snapshot |
|---|---|
| Tool catalog | Non-additive profiles: 368 core tools / 2829 read-only optional starters / 5809 read-write optional starters; platform API backend total: 6,703; complete backend index: 6,715; direct-all: 6,722 |
| RAG | 96,256 prose chunks; 4,106 endpoints, 8,890 schemas, 50,675 fields, 104 advisories, 346 lifecycle records |
| Optional platforms | ClearPass, Mist, Apstra, AOS8, EdgeConnect, UXI, Axis Atmos Cloud |
| Safety | Per-platform write gates, dry-run + confirmation, HTTP host/origin and bearer controls, credential-gated live-test config |
Full per-backend counts live in Tool catalog. See the 0.8.0 release notes for everything added in the current release, and the capability gap matrix for reproducible tool/benchmark comparisons.
Why the router matters
Point your MCP client at one server: src/hpe_networking_mcp/mcp_servers/tool_router.py. The
recommended minimal profile keeps the client-visible tool list at three
entries while still reaching the full backend catalog:
find_tool— discover the right backend tool.invoke_read_tool— dispatch read-only calls.invoke_tool— dispatch intentional write/destructive calls only.
Task-oriented guides
| Need | Guide |
|---|---|
| Full setup, credentials, and MCP client connection | Getting started |
| Copy/paste stdio or streamable HTTP client config | MCP client recipes |
| Router modes, toolsets, and safe dispatch in depth | Tool router |
| Real prompts with expected call shapes | Example prompts |
| Enable ClearPass, Mist, Apstra, AOS8, EdgeConnect, UXI, or Axis | Optional product starters |
| Typed product-specific workflow roadmap | Product workflows |
| Fix setup, credential, HTTP, or catalog issues | Troubleshooting |
| Architecture, data flow, and safety diagrams | System overview |
| Every backend's tool counts and coverage | Tool catalog |
| The complete task-based visual gateway | hpe-networking-mcp GitHub Pages |
| Every documentation page, grouped by purpose | docs/README.md |
Migrating from secure-ssid/centralmcp |
MIGRATION.md |
| Contribute, get support, or report a security issue | CONTRIBUTING.md, SUPPORT.md, SECURITY.md |
| Version history | CHANGELOG.md |
Local setup essentials
The default MCP client profile stays lean:
HPE_MCP_ROUTER_MODE=minimal
HPE_MCP_TOOLSETS=central,glp,rag
Enable optional products only when needed:
HPE_MCP_ACCESS_PROFILE=custom
HPE_MCP_PRODUCTS=clearpass,mist,apstra,aos8,edgeconnect,uxi,axis,design
HPE_MCP_PRODUCT_ACCESS=read-only
For a trusted, fully write-capable session, use
python3 scripts/setup_wizard.py --access-profile full-read-write so all
legacy gates are aligned, or use the self-contained
examples/mcp-clients/stdio/full-read-write.mcp.json.
.claude/launch.json ships a matching minimal hpe-networking-mcp launch
profile for daily use. find_tool omits full JSON schemas by default; request
include_schema=true only when a client needs the full parameter shape.
Build or refresh the router tool index, and download the prebuilt RAG/OpenAPI indexes instead of scraping locally:
uv run python scripts/ingest_tools.py --products all
uv run python scripts/download_indexes.py
See Getting started for credentials, region selection, optional-product env vars, and the full ingestion/refresh path.
Streamable HTTP mode
MCP_PORT=8010 bash scripts/run_http_router.sh
Then point any MCP-capable client at http://127.0.0.1:8010/mcp. The server
also exposes /livez, /readyz, and /healthz. Non-loopback binds require
explicit MCP_ALLOWED_HOSTS/MCP_ALLOWED_ORIGINS and can be protected with
MCP_HTTP_BEARER_TOKEN. See MCP client recipes
for copy/paste stdio and HTTP configs.
Project layout
src/hpe_networking_mcp/mcp_servers/ Low-token router + Central/GLP/RAG/optional-product servers
src/hpe_networking_mcp/pipeline/ httpx clients, 8-stage migration pipeline, SSID helpers
ingestion/ Docs/API scraping and LanceDB + SQLite index builders
docs/ Setup, router, architecture, product, and release guides
scripts/ Setup wizard, doctor wrapper, HTTP router helper, release validation
tests/ Unit, integration, and RAG eval coverage
config/ Credentials template; real credentials stay git-ignored
examples/ Tested, non-secret MCP client/prompt/runbook configuration examples
run_pipeline.py Checkout wrapper for `hpe-mcp-run-pipeline`
run_ssid.py Checkout wrapper for `hpe-mcp-run-ssid`
The full repository map, including generated/git-ignored paths, lives in System overview.
Validation
uv run pytest tests/unit -q
uv run python scripts/validate_release.py --catalog-products all --strict-rag --strict-tool-index --min-tools 6703
--min-tools 6703 is the platform API compatibility floor (the 6,703
vendor-facing platform API tools), not the complete registered backend total
of 6,715 — validation passes at or above the floor. See
Tool catalog for both totals.
The release helper runs unit tests, optional RAG/API eval when indexes exist, tool catalog floor checks, and local tool-index freshness checks. Unit tests also include static guards for the active MCP/pipeline code, committed low-token MCP config examples, local-only config files, router product/toolset docs, bounded generic read-only GET tools, MCP list default bounds, RAG/search top_k bounds, public tool-count claims, tool-count docstrings, rendered RAG/index doc-fact claims, tracked Markdown local links and images, Pages sitemap and robots metadata, documented router example arguments, product workflow tool-name tables, and wizard optional-product env tables.
Related projects and thanks
hpe-networking-mcp is an independent HPE Networking MCP toolkit, improved by watching the official MCP ecosystem and community work:
- HewlettPackard/gl-mcp - official GreenLake Platform MCP server
- modelcontextprotocol/python-sdk - MCP Python SDK
- KarthikSKumar98/central-mcp-server - community Aruba Central MCP server
- nowireless4u/hpe-networking-mcp - unified HPE networking MCP reference
Disclaimer
hpe-networking-mcp is an independent community project. It is not an official HPE or HPE Aruba Networking product and is not endorsed by or supported by HPE.
License
MIT - see the repository license. Generated API metadata and upstream implementation references are documented in THIRD_PARTY_NOTICES.md.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。