Skip to main content
Glama

merakiadm-mcp

日本語 | Documentation

Read-only MCP server for Cisco Meraki Dashboard administrators. It answers the questions an administrator asks every morning — is anything down, are clients failing to connect and at which step, is there a rogue DHCP server or a spoofed SSID — with bounded, aggregated summaries instead of raw API payloads.

Why

Several Dashboard endpoints return far more than a model's context can hold at a busy site: an hour of Air Marshal can be over a thousand SSIDs (hundreds of KB), a day of failed connections thousands of rows, a day of wireless events tens of thousands. Passing them through verbatim makes an agent's next request fail. Every tool here reads those endpoints server-side and returns counts, rankings and the few rows that matter, and says capped when it left something out and how to ask for less.

For everything else, find_api searches the Dashboard's own OpenAPI spec for a read operation and api_get calls it under the same rules: one page, a size limit, secrets masked, the configured scope enforced. One server covers both the routine checks and open-ended exploration, so an agent does not need a second, unbounded Meraki server.

Related MCP server: Selent MCP

Tools

All tools are read-only (GET only) and annotated readOnlyHint.

Tool

What it answers

health_check

Server version, API key validity, organizations and networks in scope, device counts by status

daily_brief

One-shot morning check of every network over the last 24 h: devices offline now or during the window, health alerts, connection success rate compared with the previous window, wireless packet loss and channel use, security and operational events, switch uplinks, configuration changes, firmware, license end date; CRITICAL / WARNING / OK

connection_failures

Failed wireless connections aggregated by step (assoc/auth/dhcp/dns), type, SSID, VLAN, access point and hour

wireless_quality

Packet loss in each direction, access points with no traffic, channel utilization per band (Wi-Fi and non-Wi-Fi), best-effort latency; the worst access points of each

air_marshal

Neighbouring SSIDs: totals, SSIDs seen on your wired LAN (rogues), SSIDs using one of your SSID names

availability_history

Devices that went offline (or alerting/dormant) and came back: how often, for how long, still down or not

security_events

Rogue/duplicate DHCP servers, AP spoofing, rogue AP association, IP/IPv6 conflicts, RA guard, loops, STP guards

operational_events

Rare operational events: reboots, RADIUS timeouts, DHCP pool exhaustion, radar, wireless attacks, switch hardware/config/port faults, dropped log entries

list_events

One page of the event log with an older_cursor to continue and a complete flag

config_changes

Who changed what and when: counts by administrator and page, the newest entries with old and new values (secret values masked)

resolve_entity

Organization, network and device IDs from a name, serial, MAC or LAN IP

find_client

A client by MAC, IP or user/description: its record, last AP or switch port, and its wireless connections, events per AP with signal, latest problems, latency

find_api

Search the Dashboard's read (GET) operations by English keywords, or show one operation's parameters

api_get

Call any read operation: one page, fields / offset / limit, a size limit, secrets masked as [redacted], scope enforced

IP conflicts on 192.0.0.0/29 are counted apart and never raise a warning: 464XLAT (CLAT) clients all use 192.0.0.2 by design (RFC 7335).

Install

uvx merakiadm-mcp --check        # verify the API key
# or
pip install merakiadm-mcp

Python 3.11 or later.

Configuration

Variable

Required

Meaning

MERAKI_DASHBOARD_API_KEY

yes

Dashboard API key (sent as a Bearer token)

MERAKI_ORG_ID

no

Comma-separated organization IDs to limit the scope

MERAKI_NETWORK_IDS

no

Comma-separated network IDs to limit the scope

MERAKI_BASE_URL

no

API base URL (default https://api.meraki.com/api/v1)

The server never writes: a key with write access is safe to use, but a read-only Dashboard administrator is enough.

Claude Code

claude mcp add merakiadm --env MERAKI_DASHBOARD_API_KEY=... -- uvx merakiadm-mcp

Claude Desktop

{
  "mcpServers": {
    "merakiadm": {
      "command": "uvx",
      "args": ["merakiadm-mcp"],
      "env": { "MERAKI_DASHBOARD_API_KEY": "..." }
    }
  }
}

claude.ai (web, desktop and mobile)

claude.ai connects to remote MCP servers over HTTP with OAuth, and this server speaks stdio. mcp-stdio's serve mode bridges the two: it exposes a stdio server as a Streamable HTTP endpoint with an embedded OAuth 2.1 authorization server, and starts one merakiadm-mcp process per session. The API key stays on that host.

export MERAKI_DASHBOARD_API_KEY=...
mcp-stdio serve --enable-oauth \
  --public-url https://meraki.example.com \
  --trusted-user-header X-Forwarded-User \
  --allow-redirect-uri https://claude.ai/api/mcp/auth_callback \
  --token-store ~/.local/state/merakiadm-mcp/tokens.json \
  --session-idle-ttl 180 --max-sessions-per-owner 3 \
  --port 8080 -- merakiadm-mcp

Run it behind a TLS reverse proxy that signs users in (your SSO), admits only the people who may read the Dashboard, and passes the user name in X-Forwarded-User. Every session runs with the one API key, so everyone the proxy lets through can read everything that key can read: every organization it belongs to, unless narrowed with MERAKI_ORG_ID / MERAKI_NETWORK_IDS. Signing in is not enough, the proxy has to authorize too. --token-store keeps issued tokens across restarts (without it every restart makes users reconnect; the file is credential material, so keep it readable by the service account only, in a directory that account can write: under systemd, a StateDirectory= path rather than ~). The two session options clear out sessions a client left behind; the per-user cap also closes that user's least recently used session when a new one goes over it, so set it to the number of devices a person really uses at once. The proxy must strip any X-Forwarded-User header a client sends: mcp-stdio trusts that header, so a copy that gets through lets a client pose as another user. Give the server its own host name, as above: mcp-stdio's documentation notes that claude.ai connectors expect the endpoint path to be exactly /mcp. A connector added with claude.ai's "No sign-in" option also needs --allow-client-id-url https://claude.ai/oauth/mcp-oauth-client-metadata; see the mcp-stdio documentation for these options.

Then add https://meraki.example.com/mcp as a custom connector in claude.ai. The same connector works in the browser, the desktop app and the mobile apps, so the morning check or a "where is this client?" lookup can be done from a phone. Bounded answers matter most there: a reply that fits a model's context also fits a small screen.

Development

python3 -m venv .venv
.venv/bin/pip install -e ".[test]"
.venv/bin/pytest -v

scripts/smoke_test.py calls every tool against a live organization and reports which ones are broken (names, statuses and timings only):

MERAKI_DASHBOARD_API_KEY=... python scripts/smoke_test.py

License

MIT

Available Tools

14 tools
air_marshalA
Read-onlyIdempotent

Summarize Air Marshal: rogue SSIDs on your LAN and SSIDs that copy your names.

Air Marshal lists every neighbouring SSID the access points hear — over a thousand an hour in a dense area — so this never returns the raw list. It reports the totals, every SSID whose traffic was also seen on your wired LAN (wiredMacs: a rogue access point plugged into your network), and the SSIDs broadcast by other radios under one of your own enabled SSID names (a possible evil twin, or simply a neighbour using a shared name such as eduroam), ranked by number of BSSIDs.

Args: network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window, 1-168 (default 1; a day can be several MB). top: How many SSIDs to list per section (1-100, default 20).

Inputs: top, hours, network. Returns: result

api_getA
Read-onlyIdempotent

Read any Dashboard API GET operation, bounded and with secrets masked.

For what the other tools do not cover; find the operation with find_api first. Reads one page, or up to max_pages. A list answer (or the one list inside an object, named by list_name, e.g. "events") is cut to limit items from offset (total_items says how many came back), fields keeps only the named keys of each item (dotted paths reach inside, e.g. "device.name"), and the whole answer is shrunk to max_chars: long nested lists and strings are cut and capped is set. Values of secret-looking keys (PSKs, RADIUS secrets, SNMP communities, passwords, tokens, keys) are replaced with "[redacted]". Every item that carries a device serial also gets that device's deviceName. next_params / prev_params are the paging parameters to add for the next page; max_pages reads up to 5 pages in one call and has_next_page says whether more remain. observed_at (UTC) and operation say when and what was read.

Args: path: API path with its IDs filled in, e.g. /networks/N_123/wireless/ssids (IDs and serials from health_check or other tools; must be in scope). params: Query parameters, e.g. {"timespan": 3600, "perPage": 100}; a list value is sent as key[]. fields: Keys to keep in each item, e.g. ["name", "serial", "status"]. offset: First list item to return (default 0). limit: List items to return, 1-200 (default 20). max_chars: Size limit of the answer, 2000-60000 characters (default 20000). max_pages: Pages to read by following next links, 1-5 (default 1).

Inputs: path (required), limit, fields, offset, +3 more.

availability_historyA
Read-onlyIdempotent

Which devices went offline (or alerting / dormant) and came back, from the availability change history.

For each device that was not online at some point in the window: how many times it left online, the minutes it spent not online within the window, whether it was already down when the window began, the time of its last change and whether it is still down. Answers "it drops out sometimes" questions that a point-in-time status cannot.

Args: network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window, 1-168 (default 24). top: How many devices to list (1-100, default 20).

Inputs: top, hours, network. Returns: result

config_changesA
Read-onlyIdempotent

Who changed what in the Dashboard, and when.

Reads the organization's change log for the window: entries of the network and organization-wide ones (administrators, licensing...). Shows counts by administrator and by page, then the newest top entries with the old and new value, shortened. Values of entries whose label names a secret (PSK, RADIUS secret, SNMP community...) are "[redacted]".

Args: network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window, 1-744 (31 days; default 168). top: How many entries to list (1-100, default 30).

Inputs: top, hours, network. Returns: result

connection_failuresA
Read-onlyIdempotent

Summarize wireless connection failures: which step, which SSID, which AP, when.

Reads the failed-connection log server-side and returns only aggregates (a day at a busy site is thousands of rows): totals per step (assoc / auth / dhcp / dns) from the connection stats, then from the separate failed-connection log: per failure type, per SSID and VLAN, the top access points by failures with their dominant step, the number of distinct clients, and failures per hour in the network's time zone.

Args: network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window, 1-168 (default 24). top: How many access points to list (1-50, default 10).

Inputs: top, hours, network. Returns: result

daily_briefA
Read-onlyIdempotent

Morning health check of every network in scope.

Per network, for the last hours:

  • [DEVICES] current status counts, [DEVICES-DOWN] who is offline/alerting now

  • [AVAILABILITY] devices that went offline and came back (see availability_history)

  • [HEALTH] the network's current health alerts

  • [CONNECT] wireless success rate, failures per step, the previous window of the same length for comparison, and [CONNECT-TOP-AP] when failures exceed failure_threshold

  • [WIRELESS] packet loss, the worst access points by upstream loss, the busiest channel and access points with no traffic (see wireless_quality); informational, it does not change the tier

  • [SECURITY] security event counts (see security_events)

  • [OPERATIONS] rare operational events: reboots, RADIUS/DHCP trouble, radar, attacks, switch faults, dropped log entries (see operational_events)

  • [UPLINK] switch ports flagged as uplinks that are not connected

  • [CHANGES] configuration changes by administrator and page, without values (see config_changes); [FIRMWARE] current versions and any scheduled upgrade; [LICENSE] subscription or license end date, with the organization's first network

At most 25 networks, and only those started within 40 seconds, are checked per call; the rest are counted as capped. A network still running at 50 seconds stops between steps and says so.

Output tiers:

  • CRITICAL — the API could not be read for that network

  • WARNING — a device offline or alerting now or during the window, connection failures above failure_threshold percent, any security event, a warning-level operational event (reboot, RADIUS timeout, DHCP pool exhausted, attack, hardware or port fault), an uplink down, or a license that is not active or ends within 30 days

  • OK — none of the above

Args: hours: Look-back window for connections and events, 1-168 (default 24). failure_threshold: Failed-connection percentage that raises a WARNING (default 10.0). top: How many names to list per item (1-20, default 5).

Inputs: top, hours, failure_threshold. Returns: result

find_apiA
Read-onlyIdempotent

Find a Dashboard API read (GET) operation to call with api_get.

For anything the other tools do not cover. Searches the operation IDs, paths, summaries and tags of this organization's own OpenAPI spec (read once and cached) with English keywords, e.g. "switch dhcp server policy" or "wireless packet loss by device". Pass an exact operation ID (e.g. getNetworkWirelessSsids) or a concrete path to see its parameters.

Args: query: English keywords, an operation ID, or an API path. top: How many operations to list (1-50, default 10).

Inputs: query (required), top. Returns: result

find_clientA
Read-onlyIdempotent

Find a client (laptop, phone...) and show where it connects and how it fares.

query is a MAC address, an IP address (IPv4 or IPv6), or part of a user name or device description. A MAC is looked up directly; an IP or a name searches the clients seen in the last hours (an IP over a day takes about 25 seconds at a busy site; a name scans at most 5,000 clients and says capped when there were more). For the best match it shows the client record (IP, VLAN, SSID, user, OS, last access point or switch port) and, for wireless clients over the last hours, its connection stats per step, connectivity events by type and access point with signal strength, the latest problems, and latency.

Args: query: MAC, IP, or part of a user name or description. network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window for the search and the history, 1-24 (default 1). top: How many other matches and events to list (1-20, default 5).

Inputs: query (required), top, hours, network. Returns: result

health_checkA
Read-onlyIdempotent

Report server version and Meraki Dashboard API reachability.

Call at session start or after a timeout. Lightweight: lists the organizations and networks in scope and reads each organization's device status overview (one small request each).

Always returns the same keys: status (healthy / degraded / error), service, version, base_url, auth (ok / error / missing-env), organizations and networks (counts), when the key works organization_list and network_list (IDs and names, at most 20 and 50, for api_get paths) and devices (counts by status: online / alerting / offline / dormant, limited to MERAKI_NETWORK_IDS when set). A degraded or error result adds detail.

Inputs: no named parameters.

list_eventsA
Read-onlyIdempotent

Page through a network's event log, newest page first.

A busy wireless network logs tens of thousands of events a day, so read one page at a time and narrow with event_types where possible. The answer ends with older_cursor (pass it back as cursor for the previous page) and complete. The endpoint offers an older page even past the oldest event, a month at a time, so an empty page counts as the end; pass older_cursor anyway to look further back.

Args: product_type: wireless, switch, appliance, camera, cellularGateway or sensor. network: Network name or ID; may be omitted when only one is in scope. event_types: Only these event types (names from the Dashboard's event type list). per_page: Events per page, 3-100 (default 50). cursor: older_cursor from a previous answer.

Inputs: product_type (required), cursor, network, per_page, +1 more. Returns: result

operational_eventsA
Read-onlyIdempotent

List rare operational events: reboots, RADIUS/DHCP trouble, radar, attacks, switch faults, lost log entries.

By default reads, for every product type of the network, these groups: reboot/firmware (boot, boot_ios_up, boot_ios_down, upgrade_transition), RADIUS (8021x_radius_timeout, radius_mab_timeout, radius_proxy_homeserver_dead / _zombie, radius_proxy_tls_fail), DHCP (dhcp_no_leases, dhcp_problem), radio (dfs_event and automatic channel changes, noise_avoid_begin), wireless attack (broadcast deauth/disassoc attacks, packet floods), switch hardware (power supply, temperature, memory, disk, stack cable, conn_state_change), switch config (apply/save failures), switch port (UDLD, err-disable, MAC flap, STP role and topology changes), roaming (L3 anchor failures) and event log (events_dropped2: an access point dropped n events of a high-volume type such as association, so the log is incomplete for that type). Counts per group and type, then the newest top events in detail; events_dropped2 entries are counted but not listed. Use list_events for high-volume types (association, port status).

Args: network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window, 1-168 (default 24). top: How many events to show in detail (1-100, default 20). event_types: Override the event types to read.

Inputs: top, hours, network, event_types. Returns: result

resolve_entityA
Read-onlyIdempotent

Turn a name, ID, serial, MAC or IP into the Meraki IDs other tools and api_get need.

Matches (case-insensitive, whole or part) organizations by ID and name, networks by ID and name, and devices (access points, switches...) by serial, name, MAC and LAN IP, from the inventory in scope. A client (a laptop or phone) is not a device here: use find_client for those.

Args: query: A name or part of one, an ID, a serial, a MAC or an IP address. top: How many matches to list per kind (1-50, default 10).

Inputs: query (required), top. Returns: result

security_eventsA
Read-onlyIdempotent

List security-relevant network events: rogue DHCP, spoofed APs, address conflicts, RA guard, loops.

By default reads these event types for every product type of the network: multiple_dhcp_servers_detected, rogue_dhcp, dhcp_snoop_blocked, dhcp_blocked, mac_spoofing_attack, rogue_ap_association, client_ip_conflict, client_ip6_conflict, client_ip6_lla_conflict, ra_blocked, loop_detected, stp_bpdu_guard, stp_root_guard, stp_loop_guard. Counts per type, then the newest top events with their device, SSID and event data (for a rogue DHCP server: its IP and MAC). IP conflicts on 192.0.0.0/29 are left out and only counted: 464XLAT (CLAT) clients all use 192.0.0.2, so Meraki reports them as conflicts although they are not.

Args: network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window, 1-168 (default 24). top: How many events to show in detail (1-100, default 20). event_types: Override the event types to read (names from the Dashboard's event type list).

Inputs: top, hours, network, event_types. Returns: result

wireless_qualityA
Read-onlyIdempotent

Summarize wireless quality per access point: packet loss, channel use, latency.

For "the Wi-Fi is slow or drops" questions. Over the window it reports packet loss for the whole network and the top access points by loss in each direction (upstream is client to AP, downstream is AP to client; access points that carried fewer than min_packets packets are not ranked, as a handful of packets gives a meaningless percentage), access points that carried no traffic at all, channel utilization averaged over the window per band (Wi-Fi and non-Wi-Fi interference), and the access points with the highest average best-effort latency.

Args: network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window, 1-168 (default 24). top: How many access points to list per section (1-50, default 10). min_packets: Packets an access point must carry to be ranked by loss (1-1000000, default 1000).

Inputs: top, hours, network, min_packets. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 14 tools

    Disambiguation4/5

    Most tools target clearly distinct questions: health/daily summaries, per-domain reports (connection failures, Air Marshal, wireless quality, availability, config changes), entity/client resolution, and generic API discovery/read. There is mild overlap among security_events, operational_events, list_events, and daily_brief since all surface event data, but the descriptions clearly distinguish security-relevant events, rare operational events, raw paged logs, and an aggregated brief.

    Naming Consistency3/5

    All names are lowercase snake_case and readable, but the grammatical convention is mixed: verb_noun (find_client, list_events, resolve_entity, find_api), noun phrases (security_events, wireless_quality, config_changes, connection_failures), and noun_verb (health_check, api_get). The inconsistency is not confusing, but it prevents a predictable verb_noun pattern.

    Tool Count5/5

    Fourteen tools is well within a reasonable range for a Meraki monitoring server. Each specialized report covers a distinct diagnostic area, and find_api plus api_get provide a bounded generic escape hatch rather than bloating the surface with many one-off endpoints.

    Completeness4/5

    The read-only monitoring lifecycle is well covered: health, daily brief, wireless failures/quality, security and operational events, raw event paging, availability, clients, entities, config changes, and generic GET access. Minor gaps remain, such as no dedicated list_networks/list_devices/list_clients tools, but health_check, resolve_entity, find_client, and api_get let agents work around them.

    Maintenance

    ActivityNo data
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables management and monitoring of Cisco Meraki networks, including device operations, client policies, firewall rules, wireless settings, and camera configurations through the Meraki API.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables secure, read-only monitoring of Cisco Meraki networks, allowing AI agents to query real-time information on organizations, networks, devices, clients, and traffic without risk of configuration changes.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only access to Teramind's employee-monitoring metadata, including computer and agent inventory, departments, alerts, anomaly rules, behavior policies, and monitoring profiles.
      16
      1
      Apache 2.0