Skip to main content
Glama

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} envelope

  • Secrets (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 (--hosted)

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 --http)

You, on your own machine

Your key in .env

Not affiliated with or endorsed by Arista Networks. "Arista" and "CV-CUE" are trademarks of Arista Networks, Inc.


Using the hosted app

  1. Create an API key in Launchpad → Admin → Keys (narrowest role that works).

  2. Sign in at https://cv-cue-mcp.fly.dev, add the key as a connection and test it.

  3. 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/null

See 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 deploy

Full 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 values

Configuration (.env, environment variables, Docker secrets, or INI)

Variable

Purpose

CVCUE_BASE_URL

API base URL, e.g. https://awmXXXXX-c4.srv.wifi.arista.com/wifi/api. In CV-CUE: System → Advanced Settings → Base URLs for APIs. Optional with an API key (found through Launchpad).

CVCUE_KEY_ID / CVCUE_KEY_VALUE

API key from Launchpad → Admin → Keys (cloud)

CVCUE_USERNAME / CVCUE_PASSWORD

Local user (on-prem alternative to an API key; local mode only)

CVCUE_CID

Customer ID. Only needed when the key can reach more than one customer.

CVCUE_ENABLE_WRITES

true allows mutating calls. Default false.

CVCUE_REDACT_SECRETS

false shows secrets in tool output. Default true.

CVCUE_VERIFY_SSL

false for on-prem servers with self-signed certificates

CVCUE_ENV_FILE

Path to the .env file to load. Defaults to ./.env, then the project root.

CVCUE_CREDENTIALS_FILE

INI file with a [cvcue] section (default ~/.cvcue/credentials)

CVCUE_OPENAPI_SPEC

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-mcp

Local HTTP mode

cv-cue-mcp --http --port 8000     # streamable HTTP at /mcp, using YOUR credentials, no auth

This 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

cvcue_session_info, cvcue_server_info

Connections (hosted)

cvcue_list_connections, cvcue_use_connection

Locations

cvcue_list_locations, cvcue_get_location, cvcue_create_location✎, cvcue_delete_location✎

Access points

cvcue_list_aps, cvcue_get_ap, cvcue_ap_health_summary, cvcue_list_radios, cvcue_reboot_aps✎

Clients

cvcue_list_clients, cvcue_find_client, cvcue_client_health_summary, cvcue_client_association_history, cvcue_disconnect_client✎

SSIDs

cvcue_list_ssids, cvcue_get_ssid, cvcue_ssid_usage, cvcue_delete_ssid✎

Events / WIPS

cvcue_query_events, cvcue_event_summary, cvcue_list_rogue_aps, cvcue_rogue_ap_summary

Troubleshooting

cvcue_network_health, cvcue_client_events, cvcue_device_logs, cvcue_troubleshoot_client

Wired

cvcue_list_switches, cvcue_list_wired_clients

Full API

cvcue_api_modules → cvcue_api_search → cvcue_api_schema → cvcue_api_execute

✎ = 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) plus pagesize. Add totalcountrequired=true to get totalCount.

  • Scoping: most endpoints take locationid and return data for that location's whole subtree. Location IDs come back as {"type":"locallocationid","id":N}; the tools flatten them to N.

  • Time: fromtime/totime are epoch milliseconds. Some spec descriptions say microseconds, but the live server rejects µs values.

  • Versioning: each module has its own version, chosen with the Version request header. When it's omitted the server uses its latest; cvcue_api_execute takes version= to pin one.

  • Locations: POST /locations takes the parent folder with the new location under children; cvcue_create_location returns just the new location and its id.

  • Big responses: fields=[...] does a selective fetch on many GETs (unsupported fields fail with SELECTIVE_FETCH_OR_UPDATE_NOT_SUPPORTED_FOR_FIELD). Device templates are ~200 KB each unless you pass modelspecific=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 up

Development

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 tools
cvcue_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_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

    A3.6/5.0

    Scored across 34 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count3/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides 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
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      2
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Exposes 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.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      -