Meraki Magic MCP
MCP mágico Meraki
Meraki Magic es un servidor MCP (Protocolo de Contexto de Modelo) basado en Python para Meraki Dashboard de Cisco. Meraki Magic proporciona herramientas para consultar la API de Meraki Dashboard y así descubrir, supervisar y gestionar su entorno Meraki.
Características
Descubrimiento de red
Descubrimiento de dispositivos
Descubrimiento de clientes
Implementación de servidor MCP simple y extensible
Related MCP server: Meraki MCP Server
Instalación
Clonar el repositorio:
git clone https://github.com/mkutka/meraki-magic.git
cd meraki-magic-mcpCrea un entorno virtual y actívalo:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateInstalar dependencias:
pip install -r requirements.txtConfiguración
Copie el archivo de entorno de ejemplo:
cp .env-example .envActualice el archivo
.envcon su clave API de Meraki y el ID de la organización:
MERAKI_API_KEY="Meraki API Key here"
MERAKI_ORG_ID="Meraki Org ID here"Uso con el cliente de escritorio Claude
Configurar Claude Desktop para utilizar este servidor MCP:
Abra Claude Desktop
Vaya a Configuración > Desarrollador > Editar configuración
Agregue el siguiente archivo de configuración
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"
]
}
}
}Reemplace la ruta anterior para reflejar su entorno local.
Reiniciar Claude Desktop
Interactuar con Claude Desktop
Available Tools
22 toolscache_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
Scored across 22 tools
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.
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.
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.
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
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for the Vulners.com API
Host any HTTP API as a standard MCP server; auto-distribute to 12+ mainstream agent platforms.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn 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.-
- FlicenseNot gradedqualityDmaintenanceThis 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.-
- FlicenseCqualityDmaintenanceA read-only MCP server for the Cisco Meraki Dashboard API that exposes 50 GET endpoints for understanding network topology from organization down to individual devices and ports.50-
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server for Cisco Meraki Dashboard, enabling LLMs to discover devices, check health, troubleshoot, and generate reports via natural language.MIT