Meraki Magic MCP server

Integrates with Cisco's Meraki Dashboard API to enable network discovery, device management, policy retrieval, and network creation/deletion operations without leaving your conversation context.
Back to servers
Setup instructions
Provider
Michael Kutka
Release date
May 11, 2025
Stats
10 stars

Meraki Magic MCP is a Python-based server that interfaces with Cisco's Meraki Dashboard API, providing comprehensive tools for discovering, monitoring, and managing your Meraki network environment through the Model Context Protocol (MCP).

Getting Started

Installation

To install Meraki Magic MCP:

  1. Clone the repository:
git clone https://github.com/mkutka/meraki-magic.git
cd meraki-magic-mcp
  1. Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt

Configuration

  1. Create your environment file:
cp .env-example .env
  1. Edit the .env file to add your Meraki credentials:
MERAKI_API_KEY="Meraki API Key here"
MERAKI_ORG_ID="Meraki Org ID here"

Using with Claude Desktop

To integrate with Claude Desktop:

  1. Open Claude Desktop and navigate to Settings > Developer > Edit Config
  2. Add the following configuration to claude_desktop_config.json:
{
  "mcpServers": {
      "Meraki_Magic_MCP": {
        "command": "/path/to/meraki-magic-mcp/.venv/bin/fastmcp",
        "args": [
          "run",
          "/path/to/meraki-magic-mcp/meraki-mcp.py"
        ]
      }
  }
}
  1. Update the paths to reflect your installation location
  2. Restart Claude Desktop

Available Network Tools

Organization Management

The MCP provides comprehensive organization management tools:

  • Get organization details, status, and inventory
  • Manage organization administrators
  • View API request history and webhook logs
  • Create, view and manage networks

Device Management

Manage all your Meraki devices with:

  • Device discovery and inventory management
  • Detailed device information and status monitoring
  • Device operations (update, claim, remove, reboot)
  • Client connection tracking

Wireless Management

Control your wireless networks:

  • SSID configuration and management
  • RF profile creation and management
  • Wireless performance monitoring
  • Signal quality and channel utilization analysis

Switch Management

Manage switches with:

  • Port configuration and status monitoring
  • VLAN management
  • Access control list configuration
  • QoS rule management
  • Port cycling

Appliance Management

Control security appliances:

  • VPN configuration and status monitoring
  • Firewall rule management
  • Content filtering settings
  • Security event monitoring
  • Traffic shaping configuration

Camera Management

Manage Meraki cameras:

  • Video and quality settings configuration
  • Analytics monitoring
  • Snapshot generation
  • Camera sense configuration

Network Automation

Automate operations with:

  • Action batches for bulk operations
  • Batch status monitoring

Live Device Tools

Perform real-time diagnostics:

  • Device ping testing
  • Cable testing
  • LED blinking for identification
  • Wake-on-LAN functionality

Troubleshooting

Common issues and solutions:

  • Authentication Errors: Verify your API key and permissions
  • Rate Limiting: Implement delays between requests
  • Network Not Found: Check network ID and access permissions
  • Device Not Found: Verify serial number and device status

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "meraki-magic" '{"command":"fastmcp","args":["run","meraki-mcp.py"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "meraki-magic": {
            "command": "fastmcp",
            "args": [
                "run",
                "meraki-mcp.py"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "meraki-magic": {
            "command": "fastmcp",
            "args": [
                "run",
                "meraki-mcp.py"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later