cv-cue-mcp
Summary: An MCP server for Arista CV-CUE (cloud-managed Wi-Fi) that lets Claude inspect your wireless estate and, with writes enabled, make targeted changes — plus reach the entire CV-CUE REST API through 4 discovery tools.
Connectivity/session checks —
cvcue_session_info,cvcue_server_info(key/user, role, customer, API module versions, health).Locations — list the folder/floor hierarchy as a flat path list, get one location with children, create folders/floors, delete (cascade, confirmed).
Access points — list/filter APs (name, model, firmware, active, location), get full AP details by MAC or name, fleet health rollup (offline APs, crashes, low power, config errors), per-radio RF view (channel, width, tx power, noise, utilization), reboot APs.
Clients — list connected/historic clients by SSID, AP, OS, username; find a client by MAC/IP/username/device name; health rollup by SSID/AP/band/OS/vendor/signal; association history; one-shot
cvcue_troubleshoot_client; force-disconnect.SSIDs — list WLAN profiles (VLAN, security, guest, isolation), full profile config, live per-SSID usage (which SSIDs/bands, AP & client counts), delete profile.
Events & WIPS — query/summarize events and alerts by severity/category/time window/text/MAC; list and summarize detected rogue/external/uncategorized/authorized APs with vendors, SSIDs and clients.
Network troubleshooting — CV-CUE
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cv-cue-mcp show me which access points are currently offline"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cv-cue-mcp — MCP server for Arista CV-CUE
An MCP server for Arista CV-CUE (CloudVision Cognitive Unified Edge), Arista's cloud-managed Wi-Fi platform.
30 curated tools for day-to-day work: APs, clients, SSIDs, locations, events, WIPS/rogues, troubleshooting, switches
4 discovery tools that open up the whole CV-CUE REST API (613 operations across 24 modules) without registering hundreds of tools
6 workflow prompts in Claude's + menu: RF health review, client deep-dive, can't-connect diagnosis, site as-built document, rogue AP review, configuration audit
Confirm before write: writes are previewed and run only after the user's OK
API caveats and notes: live-tested quirks shown with each endpoint's schema, plus notes Claude saves as it learns
Every tool returns the same
{ok, data, message}envelopeSecrets (PSK passphrases, RADIUS secrets, …) are redacted before they reach the model
📖 Docs: https://sharanmahadevan.github.io/cv-cue-mcp/
It runs three ways:
Mode | Who it's for | Credentials |
Hosted app ( | Anyone: sign in with Google, save a CV-CUE key, add one URL to Claude | Saved per user, AES-256-GCM encrypted |
Bring your own key (same endpoint) | Clients that can set headers; no account | Sent on each request, never stored |
Local (stdio or | You, on your own machine | Your key in |
Not affiliated with or endorsed by Arista Networks. "Arista" and "CV-CUE" are trademarks of Arista Networks, Inc.
Using the hosted app
Create an API key in Launchpad → Admin → Keys (narrowest role that works).
Sign in at https://cv-cue-mcp.fly.dev, add the key as a connection and test it.
In Claude: Settings → Connectors → Add custom connector →
https://cv-cue-mcp.fly.dev/mcp→ Connect, then Allow on the approval page.
Claude Code: claude mcp add --transport http cv-cue https://cv-cue-mcp.fly.dev/mcp, then /mcp
→ Authenticate.
Keys are encrypted at rest, decrypted only in memory, never shown again and never sent to Claude. Everything is read-only unless writes are allowed by the server and switched on for the connection. Details: Security model.
Bring your own key instead of an account:
claude mcp add --transport http cv-cue https://cv-cue-mcp.fly.dev/mcp \
--header "Authorization: Bearer $CVCUE_KEY_ID:$CVCUE_KEY_VALUE" > /dev/nullSee Connecting clients for
optional headers and Claude Desktop via mcp-remote.
Related MCP server: ACI MCP Server
Self-hosting
fly apps create <your-app> && fly volumes create cvcue_data --size 1 --app <your-app>
fly secrets set CVCUE_MASTER_KEY=… CVCUE_SESSION_SECRET=… GOOGLE_CLIENT_ID=… GOOGLE_CLIENT_SECRET=…
fly deployFull walkthrough, including the Google OAuth client and backing up the master key: Self-host on Fly.io. All variables: Headers and configuration.
Local setup (your own key, on your machine)
git clone https://github.com/sharanmahadevan/cv-cue-mcp && cd cv-cue-mcp
python3.12 -m venv .venv
.venv/bin/pip install . # '.[dev]' for tests, '.[http]' for HTTP/hosted modes
cp .env.example .env # then fill in your valuesConfiguration (.env, environment variables, Docker secrets, or INI)
Variable | Purpose |
| API base URL, e.g. |
| API key from Launchpad → Admin → Keys (cloud) |
| Local user (on-prem alternative to an API key; local mode only) |
| Customer ID. Only needed when the key can reach more than one customer. |
|
|
|
|
|
|
| Path to the |
| INI file with a |
| Use a different OpenAPI spec instead of the bundled one |
Precedence: Docker secrets (/run/secrets/cvcue_<field>), then environment and .env, then the
INI file. Real environment variables override .env values.
Claude Desktop
{
"mcpServers": {
"arista-cv-cue": {
"command": "/path/to/cv-cue-mcp/.venv/bin/cv-cue-mcp",
"env": { "CVCUE_ENV_FILE": "/path/to/cv-cue-mcp/.env" }
}
}
}Claude Code
claude mcp add arista-cv-cue -e CVCUE_ENV_FILE=/path/to/cv-cue-mcp/.env -- /path/to/cv-cue-mcp/.venv/bin/cv-cue-mcpLocal HTTP mode
cv-cue-mcp --http --port 8000 # streamable HTTP at /mcp, using YOUR credentials, no authThis mode has no authentication — keep it on 127.0.0.1 or a private network. To expose a
server publicly, use --hosted.
How CV-CUE auth works
CV-CUE uses sessions. POST /session with an API key (cloud) or a username and password
(on-prem) returns a JSESSIONID cookie, and later calls send that cookie. The client:
logs in on the first tool call, so the server starts even if CV-CUE is unreachable
logs in again by itself when the session expires (HTTP 401)
retries 429/5xx responses
logs out on shutdown (or when a hosted session is evicted)
If you supply an API key but no base URL, the server asks Launchpad for your CV-CUE server
and builds https://<awm-server>/wifi/api itself.
Tools
Full reference with parameters: Tools.
Area | Tools |
Session / system |
|
Connections (hosted) |
|
Locations |
|
Access points |
|
Clients |
|
SSIDs |
|
Events / WIPS |
|
Troubleshooting |
|
Wired |
|
Full API |
|
✎ = mutating. These need writes enabled, and destructive ones also need confirm=true.
cvcue_api_execute refuses anything other than GET unless writes are enabled, and refuses write
bodies that contain the ***REDACTED*** placeholder (so a read-modify-write can't overwrite a
real secret with the mask).
CV-CUE API notes
Paging:
startindex(a 0-based record offset) pluspagesize. Addtotalcountrequired=trueto gettotalCount.Scoping: most endpoints take
locationidand return data for that location's whole subtree. Location IDs come back as{"type":"locallocationid","id":N}; the tools flatten them toN.Time:
fromtime/totimeare epoch milliseconds. Some spec descriptions say microseconds, but the live server rejects µs values.Versioning: each module has its own version, chosen with the
Versionrequest header. When it's omitted the server uses its latest;cvcue_api_executetakesversion=to pin one.Locations:
POST /locationstakes the parent folder with the new location underchildren;cvcue_create_locationreturns just the new location and its id.Big responses:
fields=[...]does a selective fetch on many GETs (unsupported fields fail withSELECTIVE_FETCH_OR_UPDATE_NOT_SUPPORTED_FOR_FIELD). Device templates are ~200 KB each unless you passmodelspecific=false.
Updating the bundled spec
The OpenAPI spec comes from Arista's public API portal at https://apihelp.wifi.arista.com/api/wm. The portal publishes one file per module version; the script merges the newest version of every module:
python scripts/fetch_spec.py # rewrites src/cvcue_mcp/spec/cvcue_openapi.json
pip install . # reinstall so the server picks it upDevelopment
pip install '.[http,dev]'
pytest # offline tests; the CV-CUE API is mocked
ruff check src tests
python scripts/gen_tool_docs.py # regenerate the docs' tool reference
cd docs && npm install && npm run dev # docs site at localhost:4321/cv-cue-mcp/On macOS, files under ~/Desktop can get the hidden flag, which makes Python 3.12+ skip
editable-install .pth files. If pip install -e . leaves the package unimportable, use a
regular pip install . and reinstall after changes.
License
MIT — see LICENSE.
Available Tools
34 toolscvcue_ap_health_summaryA
Fleet health rollup for managed APs: online/offline counts, breakdown by model, firmware, upgrade/config-push status, plus lists of offline APs and APs with problems (crashes, low power, tunnels down, config errors).
Inputs: location_id.
cvcue_api_executeA
Execute ANY CV-CUE API call (step 4 of API discovery).
Paths are relative to the API base URL (…/wifi/api). Most list endpoints page with startindex (0-based offset) + pagesize, and accept locationid to scope results to a location subtree (see cvcue_list_locations).
Examples: GET /system/version GET /manageddevices/aps query_params={"pagesize": 20, "active": true} GET /clients/{macaddress}/associationhistory path_params={"macaddress": "AA:BB:CC:DD:EE:FF"} GET /troubleshooting/clientevents query_params={"fromtime": , "pagesize": 50}
Large responses: many GETs accept fields=[...] for a selective fetch (a field that doesn't support it fails with SELECTIVE_FETCH_OR_UPDATE_NOT_SUPPORTED_FOR_FIELD — drop that field and retry). /deviceconfiguration/devicetemplates is huge unless you pass modelspecific=false. Oversized results are refused with a shape preview.
Secret values (passphrases, RADIUS secrets...) come back as REDACTED. Never send that placeholder back in a write body — omit the field or supply the real value.
Non-GET calls require writes to be enabled for this connection.
Inputs: path (required), method (required), body, version, +2 more.
cvcue_api_modulesA
List the CV-CUE API modules with operation counts (step 1 of API discovery).
Modules group related resources: session, locations, manageddevices (your APs),
aps (all detected APs incl. rogues), clients, configuration (policies),
deviceconfiguration (SSID/role/RADIUS profiles, device templates), events,
troubleshooting, system, reports, analytics, switches, users, ...
Pass a module name as module to cvcue_api_search.
Inputs: no named parameters.
cvcue_api_schemaA
Get parameters, request body and response schema for one endpoint (step 3 of API discovery). Component $refs are inlined up to ref_depth.
Inputs: path (required), method, ref_depth.
cvcue_api_searchA
Search CV-CUE API endpoints (step 2 of API discovery).
Matches every word of keyword against path, operationId, summary and
description. Use cvcue_api_schema on a result before cvcue_api_execute.
Inputs: keyword (required), limit, module, method_filter.
cvcue_client_association_historyB
Recent associations for a client (which APs/SSIDs it joined and when).
Inputs: mac_address (required).
cvcue_client_eventsA
Client connection event logs reported by APs (association, authentication, DHCP, DNS, roaming...) — defaults to failures in the last 24h.
Inputs: ssid, hours, start, ap_name, +4 more.
cvcue_client_health_summaryA
Rollup of currently connected clients: totals by SSID, AP, protocol/band, OS, vendor and signal-quality bucket, plus clients with poor performance.
Inputs: location_id.
cvcue_create_locationA
Create a folder or floor location under a parent. Requires CVCUE_ENABLE_WRITES=true.
Inputs: name (required), parent_id (required), venue_id, timezone_id, +1 more.
cvcue_delete_locationA
Delete a location AND all of its child locations. Irreversible. Requires CVCUE_ENABLE_WRITES=true and confirm=true.
Inputs: location_id (required), confirm.
cvcue_delete_ssidA
Delete an SSID profile. Fails if the profile is still referenced by a device template (check GET /deviceconfiguration/ssidprofiles/{templateid}/references). Requires CVCUE_ENABLE_WRITES=true and confirm=true.
Inputs: template_id (required), confirm.
cvcue_device_logsB
Consolidated AP/device event logs (reboots, crashes, config, upgrades), newest first.
Inputs: start, page_size, location_id.
cvcue_disconnect_clientA
Force-disconnect (deauthenticate) a wireless client. The client may reconnect. Requires CVCUE_ENABLE_WRITES=true and confirm=true.
Inputs: mac_address (required), confirm.
cvcue_event_summaryA
Summarize events in a time window: totals by severity, category and type, the most frequent summaries, and the latest high-severity events.
Inputs: hours, location_id.
cvcue_find_clientA
Find a client by MAC, IP, username or device name (active or recently seen). Tries the most specific field first and returns all matches.
Inputs: query (required).
cvcue_get_apA
Get full details for one managed AP (radios, wired interfaces, mesh, health) by MAC or name.
Inputs: mac_or_name (required).
cvcue_get_locationA
Get one location with its path and direct children.
Inputs: location_id (required).
cvcue_get_ssidA
Full configuration of one SSID profile (security, network, QoS, firewall, portal...).
Inputs: template_id (required), location_id.
cvcue_list_apsA
List managed Arista APs (GET /manageddevices/aps) with status, model, firmware, IP, location and client count. Use cvcue_ap_health_summary for fleet-wide rollups and cvcue_get_ap for one AP.
Inputs: name, model, start, active, +4 more.
cvcue_list_clientsB
List Wi-Fi clients (GET /clients) with SSID, AP, signal, protocol, data rates, IP, username and OS. Defaults to currently connected clients.
Inputs: ssid, start, active, os_type, +4 more.
cvcue_list_locationsA
List the CV-CUE location hierarchy (folders and floors) as a flat list with
id, type, parentId and full path. Location ids scope most other tools via
location_id (data for the whole subtree is returned).
Inputs: name_contains.
cvcue_list_radiosA
List Wi-Fi radios across managed APs (channel, width, tx power, noise, RF utilization, client count) — the RF view for channel/power analysis.
Inputs: start, active, ap_name, page_size, +1 more.
cvcue_list_rogue_apsA
List APs detected by CV-CUE WIPS sensors by classification (rogue, external neighbor, uncategorized, authorized) with SSIDs, vendor, signal and clients.
Inputs: group, start, page_size, active_only, +1 more.
cvcue_list_ssidsA
List SSID profiles (WLANs): SSID name, enabled, VLAN, security mode, guest, client isolation and where the profile was created. Use cvcue_get_ssid for the full configuration.
Inputs: location_id, include_subtree.
cvcue_list_switchesA
List switches discovered via AP uplinks (LLDP): name, vendor, chassis id, number of APs/clients behind each, AP distribution by PoE and link speed.
Inputs: start, page_size, location_id.
cvcue_list_wired_clientsA
List wired hosts seen on AP LAN ports (MAC, IP, VLAN, port, auth status, traffic).
Inputs: start, page_size, location_id.
cvcue_network_healthB
Key network health metrics for a location and each child location: connectivity success (association/auth/DHCP/DNS failures), performance (latency, retries, coverage, data rate), application experience and infrastructure health — the CV-CUE "Network Health" dashboard.
Inputs: ssid, hours, location_id.
cvcue_query_eventsB
Recent CV-CUE events/alerts (WIPS, performance, connectivity, system), newest first, with severity, category, type, summary and timestamps.
Inputs: text, hours, limit, severity, +2 more.
cvcue_reboot_apsA
Reboot one or more managed APs (clients will be disconnected). Requires CVCUE_ENABLE_WRITES=true and confirm=true.
Inputs: mac_addresses (required), confirm.
cvcue_rogue_ap_summaryB
WIPS overview: number of detected (non-managed) APs per classification, rogue APs with associated clients, top vendors and top SSIDs among rogues.
Inputs: location_id.
cvcue_server_infoA
CV-CUE server version, supported API module versions and server health. Use to check whether an endpoint/version is available on this server.
Inputs: no named parameters.
cvcue_session_infoA
Show the current CV-CUE API session: logged-in key/user, role, customer, timezone and allowed locations, plus the server base URL and version. Good first call to confirm connectivity.
Inputs: no named parameters.
cvcue_ssid_usageA
Live monitoring data per SSID/WLAN (GET /manageddevices/aps/wlans): which SSIDs are broadcast, on which bands, and how many APs/clients use them.
Inputs: active_only, location_id.
cvcue_troubleshoot_clientA
One-shot client troubleshooting: current client record, recent associations, connection logs, failure events and CV-CUE inferences (root-cause hints) for a client MAC. Sections that fail (e.g. permissions) are reported inline.
Inputs: mac_address (required), hours.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 34 tools
Most tools target a clear resource+action (list_aps vs get_ap vs ap_health_summary are explicitly cross-referenced in their descriptions), and the summary/list/detail split is well signposted. Some boundaries are fuzzier: query_events vs event_summary vs device_logs vs client_events all return event-ish data, and session_info vs server_info are close cousins. cvcue_api_execute intentionally overlaps everything, but it is framed as the escape hatch after the discovery trio.
Every tool carries the cvcue_ prefix in snake_case, which makes the set highly predictable. Most follow verb_noun (list_aps, get_ssid, delete_location, disconnect_client), with a minority using noun_phrase summaries (ap_health_summary, rogue_ap_summary, network_health, client_association_history) — readable but not a strict single pattern.
At 34 tools this is heavy, sitting above the comfortable range, and several of them are summary variants of the same underlying list endpoints. The domain is genuinely broad (APs, clients, SSIDs, locations, WIPS, switches, events, plus a 4-tool API discovery ladder), so the size is defensible but leans toward redundancy rather than minimalism.
Read coverage is strong — health rollups, events, WIPS, wired/switch views, troubleshooting, and location hierarchy all have dedicated tools. Write coverage is asymmetric: reboot, disconnect, delete SSID/location exist, but there is no create_ssid or update_ssid profile tool; agents can fall back to cvcue_api_execute, which is a workable but secondary path.
Maintenance
Related MCP Connectors
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
Cloud cost, inventory and governance on AWS/Azure/GCP. Read-only by default, optional scoped writes
Read and edit GA4, Search Console and Google Tag Manager from any MCP client. 29 tools.
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides dynamic access to 400+ Meraki Dashboard API endpoints with intelligent discovery, plus advanced compliance auditing (PCI DSS, HIPAA, SOC2, ISO 27001, NIST), backup/restore operations, and network security analysis. Enables natural language queries to manage Meraki networks without pre-defined tools.4-
- AlicenseNot gradedqualityDmaintenanceEnables management and configuration of Cisco ACI (Application Centric Infrastructure) fabrics through the APIC REST API, providing 35+ tools for tenant management, network policies, EPGs, bridge domains, VRFs, contracts, and health monitoring.2MIT
- FlicenseNot gradedqualityDmaintenanceExposes 90 production-grade tools for interacting with the complete HPE Aruba Networking Central REST API surface, including network inventory, configuration, and security management. It features enterprise-ready OAuth2 handling and semantic tool filtering for optimized performance with both hosted and local LLMs.-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to safely troubleshoot networks through read-only tools for device inventory, interface status, VLAN paths, BGP neighbors, route lookups, and interface error detection. Integrates with Microsoft Copilot Studio and Teams for natural-language-driven network diagnostics.-