Skip to main content
Glama

Meraki Magic MCP

Meraki Magic ist ein Python-basierter MCP-Server (Model Context Protocol) für das Meraki Dashboard von Cisco. Meraki Magic bietet Tools zum Abfragen der Meraki Dashboard-API, um Ihre Meraki-Umgebung zu entdecken, zu überwachen und zu verwalten.

Merkmale

  • Netzwerkerkennung

  • Geräteerkennung

  • Clienterkennung

  • Einfache und erweiterbare MCP-Serverimplementierung

Related MCP server: Meraki MCP Server

Installation

  1. Klonen Sie das Repository:

git clone https://github.com/mkutka/meraki-magic.git
cd meraki-magic-mcp
  1. Erstellen Sie eine virtuelle Umgebung und aktivieren Sie sie:

python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  1. Installieren Sie Abhängigkeiten:

pip install -r requirements.txt

Konfiguration

  1. Kopieren Sie die Beispielumgebungsdatei:

cp .env-example .env
  1. Aktualisieren Sie die .env Datei mit Ihrem Meraki-API-Schlüssel und Ihrer Organisations-ID:

MERAKI_API_KEY="Meraki API Key here"
MERAKI_ORG_ID="Meraki Org ID here"

Verwendung mit dem Claude Desktop Client

  1. Konfigurieren Sie Claude Desktop für die Verwendung dieses MCP-Servers:

  • Öffnen Sie Claude Desktop

  • Gehen Sie zu Einstellungen > Entwickler > Konfiguration bearbeiten

  • Fügen Sie die folgende Konfigurationsdatei hinzu: claude_desktop_config.json

{
  "mcpServers": {
      "Meraki_Magic_MCP": {
        "command": "/Users/mkutka/meraki-magic-mcp/.venv/bin/fastmcp",
        "args": [
          "run",
          "/Users/mkutka/meraki-magic-mcp/meraki-mcp.py"
        ]
      }
  }
}
  • Ersetzen Sie die oben stehenden Pfade, um Ihre lokale Umgebung widerzuspiegeln.

  1. Starten Sie Claude Desktop neu

  2. Interagieren Sie mit Claude Desktop

Available Tools

22 tools
cache_clearB

Clear all cached data

Inputs: no named parameters. Returns: result

cache_statsA

Get cache statistics and configuration

Inputs: no named parameters. Returns: result

call_meraki_apiA

Call any Meraki API method - provides access to all 804+ endpoints

Args: section: SDK section (organizations, networks, wireless, switch, appliance, camera, devices, sensor, sm, etc.) method: Method name (e.g., getOrganizationAdmins, updateNetworkWirelessSsid, getNetworkApplianceFirewallL3FirewallRules) parameters: Dict of parameters (e.g., {"networkId": "L_123", "name": "MySSID"})

Examples: call_meraki_api(section="organizations", method="getOrganizationAdmins", parameters={"organizationId": "123456"}) call_meraki_api(section="wireless", method="updateNetworkWirelessSsid", parameters={"networkId": "L_123", "number": "0", "name": "NewSSID", "enabled": True}) call_meraki_api(section="appliance", method="getNetworkApplianceFirewallL3FirewallRules", parameters={"networkId": "L_123"})

Inputs: section (required), method (required), parameters. Returns: result

clear_cached_filesC

Clear cached response files older than specified hours

Args: older_than_hours: Delete files older than this many hours (default: 24)

Inputs: older_than_hours. Returns: result

get_cached_responseA

Retrieve a paginated slice of a cached response from a file

IMPORTANT: This tool returns paginated data to avoid context overflow. For full data access, use command-line tools: cat | jq

Args: filepath: Path to the cached response file (from _full_response_cached field) offset: Starting index for pagination (default: 0) limit: Maximum number of items to return (default: 10, max: 100)

Examples: get_cached_response(filepath="...", offset=0, limit=10) # First 10 items get_cached_response(filepath="...", offset=10, limit=10) # Next 10 items get_cached_response(filepath="...", offset=0, limit=100) # First 100 items

Inputs: filepath (required), offset, limit. Returns: result

getDeviceC

Get device by serial

Inputs: serial (required). Returns: result

getDeviceSwitchPortsC

Get switch ports for a device

Inputs: serial (required). Returns: result

get_mcp_configA

Get MCP configuration

Inputs: no named parameters. Returns: result

get_method_infoA

Get detailed parameter information for a method

Args: section: SDK section (e.g., 'organizations', 'networks') method: Method name (e.g., 'getOrganizationAdmins')

Inputs: section (required), method (required). Returns: result

getNetworkC

Get network details

Inputs: networkId (required). Returns: result

getNetworkClientsC

Get network clients

Inputs: networkId (required), timespan. Returns: result

getNetworkDevicesD

Get network devices

Inputs: networkId (required). Returns: result

getNetworkEventsC

Get network events

Inputs: networkId (required), productType, perPage. Returns: result

getNetworkWirelessSsidsC

Get wireless SSIDs

Inputs: networkId (required). Returns: result

getOrganizationAdminsC

Get organization administrators

Inputs: organizationId. Returns: result

getOrganizationDevicesC

Get organization devices

Inputs: organizationId. Returns: result

getOrganizationNetworksC

Get organization networks

Inputs: organizationId. Returns: result

getOrganizationsA

Get all organizations

Inputs: no named parameters. Returns: result

list_all_methodsA

List all available Meraki API methods

Args: section: Optional section filter (organizations, networks, wireless, switch, appliance, etc.)

Inputs: section. Returns: result

list_cached_responsesA

List all cached response files

Inputs: no named parameters. Returns: result

search_methodsA

Search for Meraki API methods by keyword

Args: keyword: Search term (e.g., 'admin', 'firewall', 'ssid', 'event')

Inputs: keyword (required). Returns: result

updateDeviceSwitchPortC

Update switch port configuration. For the full parameter set use call_meraki_api.

Inputs: serial (required), portId (required), name, enabled, +4 more. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.4/5.0

    Scored across 22 tools

    Disambiguation2/5

    Multiple tools like getOrganizationAdmins, getDevice, etc., overlap with the generic call_meraki_api, which can perform all those actions and more. This creates ambiguity about which tool to use for a given operation.

    Naming Consistency2/5

    Tool names mix conventions: some use camelCase (getDevice, getNetworkClients) while others use snake_case (get_mcp_config, list_all_methods). This inconsistency makes it harder to predict tool names.

    Tool Count3/5

    With 22 tools, the count is on the higher side. Many tools are specific getters that could be subsumed by the generic call_meraki_api, making the set feel bloated for the domain.

    Completeness4/5

    The generic call_meraki_api provides access to all 804+ Meraki endpoints, so the tool surface is essentially complete. The specific tools cover common reads, but missing CRUD operations are addressed by the generic method.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP (Model Context Protocol) server that enables interaction with the Cisco Meraki Dashboard API, allowing users to manage Meraki networks, devices, and configurations through natural language.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      This MCP (Model Context Protocol) Server provides a communication interface for the Meraki Dashboard API, auto-generated using AG2's MCP builder from the Meraki OpenAPI specification.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A read-only MCP server for Cisco Meraki Dashboard, enabling LLMs to discover devices, check health, troubleshoot, and generate reports via natural language.
      MIT