HPE Aruba Networking Central MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/AirowireAILabs/new_aruba_mcp_server.git
cd new_aruba_mcp_server
pip install -r requirements.txt
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "ARUBA_CENTRAL_BASE_URL=${ARUBA_CENTRAL_BASE_URL}" -e "ARUBA_CLIENT_ID=${ARUBA_CLIENT_ID}" -e "ARUBA_CLIENT_SECRET=${ARUBA_CLIENT_SECRET}" -e "ARUBA_REFRESH_TOKEN=${ARUBA_REFRESH_TOKEN}" aruba-central -- python "<FULL_PATH_TO_ARUBA_MCP>/dist/index.js"

Replace <FULL_PATH_TO_ARUBA_MCP>/dist/index.js with the actual folder you prepared in step 1.

Required:ARUBA_CENTRAL_BASE_URLARUBA_CLIENT_IDARUBA_CLIENT_SECRETARUBA_REFRESH_TOKEN
README.md

Production-grade MCP server for HPE Aruba Networking Central REST API

HPE Aruba Networking Central MCP Server

Production-grade MCP (Model Context Protocol) server that exposes the complete HPE Aruba Networking Central REST API surface as MCP tools. Every endpoint and parameter signature is sourced from the official aruba/pycentral SDK on GitHub.

Overview

This MCP server enables AI assistants like Claude to interact with HPE Aruba Networking Central through 90 production-ready tools organized across 19 API categories. It includes enterprise features like automatic OAuth2 token refresh, retry logic, structured error handling, and support for both stdio and SSE transports.

Tools by Category

The server provides 90 tools across 19 API categories:

# Category Tools Count
1 OAuth refresh_api_token 1
2 Groups get_groups, get_group_template_info, create_group, clone_group, delete_group 5
3 Devices Config get_device_group, get_device_configuration, get_device_config_details, get_device_templates, get_group_device_templates, set_switch_ssh_credentials, move_devices 7
4 Templates get_templates, get_template_text, delete_template 3
5 Template Variables get_template_variables, get_all_template_variables, create_template_variables, update_template_variables, replace_template_variables, delete_template_variables 6
6 AP Settings get_ap_settings, update_ap_settings 2
7 AP CLI Config get_ap_cli_config, replace_ap_cli_config 2
8 WLANs get_wlan, get_all_wlans, create_wlan, update_wlan, delete_wlan 5
9 Device Inventory get_device_inventory, add_device_to_inventory, archive_devices, unarchive_devices 4
10 Licensing get_subscription_keys, get_enabled_services, get_license_stats, get_license_service_config, assign_subscription, unassign_subscription, get_auto_license_services, assign_auto_license 8
11 Firmware get_firmware_swarms, get_firmware_versions, get_firmware_upgrade_status, upgrade_firmware, cancel_firmware_upgrade 5
12 Sites get_sites, create_site, update_site, delete_site, associate_devices_to_site, unassociate_devices_from_site 6
13 Topology get_topology_site, get_topology_devices, get_topology_edges, get_topology_uplinks, get_topology_tunnels, get_topology_ap_lldp_neighbors 6
14 RAPIDS/WIDS get_rogue_aps, get_interfering_aps, get_suspect_aps, get_neighbor_aps, get_wids_infrastructure_attacks, get_wids_client_attacks, get_wids_events 7
15 Audit Logs get_audit_trail_logs, get_event_logs, get_event_details 3
16 VisualRF get_visualrf_campus_list, get_visualrf_campus_info, get_visualrf_building_info, get_visualrf_floor_info, get_visualrf_floor_aps, get_visualrf_floor_clients, get_visualrf_client_location, get_visualrf_rogue_location 8
17 User Management list_users, get_user, create_user, update_user, delete_user, get_roles 6
18 MSP get_msp_customers, create_msp_customer, get_msp_country_codes, get_msp_devices, get_msp_groups 5
19 Telemetry get_all_reporting_radios 1

Production Features

  • Auto Token Refresh: Automatically refreshes OAuth2 tokens on 401 responses before retrying requests
  • Retry Logic: 1 automatic retry on authentication failure per request
  • Clean Error Handling: All HTTP errors return structured JSON instead of crashing
  • Null Parameter Cleanup: Optional None parameters are automatically stripped before API calls
  • Dual Transport Support: Run as stdio (default for Claude Desktop) or --sse for HTTP mode
  • Environment-based Configuration: All secrets managed via environment variables (never hardcoded)
  • Structured Logging: Full logging with timestamps for debugging and monitoring
  • Official API Paths: All endpoints sourced from aruba/pycentral SDK

Prerequisites

  • Python 3.8 or higher
  • HPE Aruba Networking Central account with API access
  • OAuth2 credentials (Client ID, Client Secret, Refresh Token)
  • Access Token for API authentication

Installation

  1. Clone this repository:
git clone https://github.com/AirowireAILabs/new_aruba_mcp_server.git
cd new_aruba_mcp_server
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure environment variables (see Configuration section below)

Configuration

Environment Variables

The server requires the following environment variables:

Variable Description Default
ARUBA_CENTRAL_BASE_URL Aruba Central API gateway URL https://apigw-uswest4.central.arubanetworks.com
`ARUBA_CE

Tools (5)

get_groupsRetrieves a list of all network groups.
get_device_inventoryFetches the current inventory of network devices.
get_wlanRetrieves details for a specific WLAN configuration.
upgrade_firmwareInitiates a firmware upgrade for specified devices.
get_audit_trail_logsRetrieves audit logs for security and compliance monitoring.

Environment Variables

ARUBA_CENTRAL_BASE_URLrequiredAruba Central API gateway URL
ARUBA_CLIENT_IDrequiredOAuth2 Client ID
ARUBA_CLIENT_SECRETrequiredOAuth2 Client Secret
ARUBA_REFRESH_TOKENrequiredOAuth2 Refresh Token

Configuration

claude_desktop_config.json
{"mcpServers": {"aruba-central": {"command": "python", "args": ["/path/to/aruba-mcp/main.py"], "env": {"ARUBA_CENTRAL_BASE_URL": "https://apigw-uswest4.central.arubanetworks.com", "ARUBA_CLIENT_ID": "your_client_id", "ARUBA_CLIENT_SECRET": "your_client_secret", "ARUBA_REFRESH_TOKEN": "your_refresh_token"}}}}

Try it

List all the network groups currently configured in my Aruba Central account.
Show me the current firmware version for all devices in the inventory.
Retrieve the audit logs from the last 24 hours to check for recent configuration changes.
Get the details for the WLAN named 'Guest-WiFi'.
Find all rogue access points detected by the WIDS system.

Frequently Asked Questions

What are the key features of HPE Aruba Networking Central?

Exposes 90 production-ready tools across 19 API categories. Automatic OAuth2 token refresh and retry logic. Structured JSON error handling for all API requests. Support for both stdio and SSE transport protocols. Official API parameter signatures sourced from aruba/pycentral SDK.

What can I use HPE Aruba Networking Central for?

Automating network device firmware updates across large-scale deployments. Generating compliance reports by querying audit and event logs. Streamlining WLAN configuration management through AI-assisted updates. Monitoring network security by querying WIDS and rogue AP data. Managing multi-site network inventory and site-to-device associations.

How do I install HPE Aruba Networking Central?

Install HPE Aruba Networking Central by running: git clone https://github.com/AirowireAILabs/new_aruba_mcp_server.git && cd new_aruba_mcp_server && pip install -r requirements.txt

What MCP clients work with HPE Aruba Networking Central?

HPE Aruba Networking Central works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep HPE Aruba Networking Central docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare