Cisco Meraki MCP Server

Cisco Meraki MCP Server

Enables intelligent troubleshooting, monitoring, and configuration of Cisco Meraki networks through natural language, with agentic workflows for automated diagnostics and health checks.

Category
Visit Server

README

Cisco Meraki MCP Server

A Model Context Protocol (MCP) server for intelligent Cisco Meraki network troubleshooting and configuration with agentic workflow capabilities.

Features

🔍 Discovery & Monitoring

  • Organization Management: View and manage multiple Meraki organizations
  • Network Discovery: Automatically discover networks and devices
  • Real-time Status: Monitor device status, uplinks, and connectivity
  • Health Alerts: Track and respond to network health alerts

🛠️ Troubleshooting Tools

  • Device Diagnostics: Detailed device status and uplink analysis
  • Client Troubleshooting: Track and diagnose client connectivity issues
  • Connectivity Diagnosis: Multi-step intelligent diagnosis of network issues
  • Automated Health Checks: Comprehensive organization-wide health assessment

⚙️ Configuration Management

  • Device Configuration: Update device names, tags, addresses, and notes
  • Network Settings: Manage network configurations and settings
  • Wireless Management: Configure and manage wireless SSIDs
  • Bulk Operations: Perform operations across multiple devices

🤖 Agentic Workflows

  • Intelligent Diagnosis: AI-driven multi-step troubleshooting workflows
  • Automated Health Checks: Proactive monitoring with actionable recommendations
  • Context-Aware Suggestions: Smart recommendations based on network state
  • Workflow Orchestration: Chain multiple operations for complex tasks

Installation

Prerequisites

  • Python 3.10 or higher
  • Cisco Meraki API key
  • MCP-compatible client (Claude Desktop, Cline, etc.)

Setup

  1. Clone or download this repository
cd meraki-mcp-server
  1. Install dependencies
pip install -e .
  1. Set up your Meraki API key

Create a .env file:

MERAKI_API_KEY=your_api_key_here

Or export as environment variable:

export MERAKI_API_KEY=your_api_key_here

Getting Your Meraki API Key

  1. Log into the Meraki Dashboard
  2. Navigate to Organization > Settings
  3. Scroll to Dashboard API access
  4. Enable API access
  5. Generate and copy your API key

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "meraki-assistant": {
      "command": "python",
      "args": ["/path/to/meraki-mcp-server/server.py"],
      "env": {
        "MERAKI_API_KEY": "your_api_key_here"
      }
    }
  }
}

Cline (VS Code Extension)

Add to your MCP settings:

{
  "meraki-assistant": {
    "command": "python",
    "args": ["/path/to/meraki-mcp-server/server.py"],
    "env": {
      "MERAKI_API_KEY": "your_api_key_here"
    }
  }
}

Usage Examples

Basic Discovery Workflow

User: "Show me all my Meraki organizations"
Agent: [Uses get_organizations tool]

User: "Get the networks in organization XYZ"
Agent: [Uses get_networks with org_id]

User: "Show me all devices in network ABC"
Agent: [Uses get_network_devices]

Troubleshooting Workflow

User: "I'm having connectivity issues in my Seattle office network"
Agent: [Uses diagnose_connectivity_issue tool]
- Checks organization-wide uplink status
- Analyzes network health alerts
- Identifies offline devices
- Provides actionable recommendations

Automated Health Check

User: "Run a health check on my entire organization"
Agent: [Uses automated_health_check tool]
- Scans all networks
- Checks device status
- Reviews uplink connectivity
- Generates comprehensive report with recommendations

Configuration Management

User: "Update the name of device with serial Q2XX-XXXX-XXXX to 'Seattle-AP-01'"
Agent: [Uses update_device tool]

User: "Enable SSID 1 in network ABC and set the name to 'Corporate-WiFi'"
Agent: [Uses update_wireless_ssid tool]

Available Tools

Discovery Tools

  • get_organizations - List all accessible organizations
  • get_networks - Get networks in an organization
  • get_network_devices - List devices in a network

Monitoring Tools

  • get_device_status - Detailed device status
  • get_device_uplink_status - Uplink connectivity status
  • get_device_clients - Clients connected to a device
  • get_network_health_alerts - Active alerts for a network
  • get_organization_uplink_statuses - Organization-wide uplink status

Client Tools

  • get_network_clients - All clients in a network
  • get_client_details - Detailed client information

Configuration Tools

  • update_device - Update device configuration
  • update_network - Update network settings
  • get_wireless_ssids - List wireless SSIDs
  • update_wireless_ssid - Update SSID configuration

Agentic Workflow Tools

  • diagnose_connectivity_issue - Intelligent multi-step diagnosis
  • automated_health_check - Comprehensive health assessment

Agentic Workflow Architecture

The server implements intelligent workflows that:

  1. Contextual Analysis: Understands the problem from user description
  2. Multi-Step Execution: Performs sequential diagnostic steps
  3. Data Correlation: Connects information across multiple API calls
  4. Smart Recommendations: Provides actionable next steps
  5. State Management: Maintains context across workflow steps

Example: Connectivity Diagnosis Flow

User Issue: "Office WiFi is slow"
    ↓
1. Check Organization Uplinks → Identify WAN issues
    ↓
2. Check Network Alerts → Identify configuration issues
    ↓
3. Check Device Status → Identify offline devices
    ↓
4. Analyze Client Connections → Identify congestion
    ↓
5. Generate Report → Prioritized recommendations

API Rate Limiting

The Meraki API has rate limits:

  • 10 requests per second per organization
  • The server implements automatic retry logic
  • Use bulk operations when possible

Error Handling

The server provides detailed error messages:

  • Authentication errors: Check API key validity
  • 404 errors: Verify resource IDs
  • Rate limiting: Automatic backoff and retry
  • Network errors: Connection timeout handling

Development

Running Tests

pytest tests/

Code Formatting

black server.py
ruff check server.py

Adding New Tools

  1. Add tool definition in handle_list_tools()
  2. Add handler method (e.g., _handle_new_tool())
  3. Add routing in handle_call_tool()
  4. Update documentation

Troubleshooting

"API Key Not Set" Error

  • Ensure MERAKI_API_KEY is set in environment or config
  • Verify API key is valid and has proper permissions

"Connection Timeout" Errors

  • Check internet connectivity
  • Verify Meraki Dashboard is accessible
  • Increase timeout in httpx.AsyncClient

"404 Not Found" Errors

  • Verify organization/network/device IDs
  • Check API key has access to the resource
  • Ensure resource exists in Dashboard

Tool Not Appearing in Client

  • Restart MCP client (Claude Desktop, Cline, etc.)
  • Check MCP server logs for errors
  • Verify configuration file syntax

Security Best Practices

  1. Never commit API keys to version control
  2. Use environment variables for sensitive data
  3. Limit API key permissions to minimum required
  4. Rotate API keys periodically
  5. Monitor API usage via Meraki Dashboard

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Add tests for new functionality
  4. Submit a pull request

Resources

License

MIT License - See LICENSE file for details

Support

For issues and questions:

Changelog

v1.0.0 (2026-01-16)

  • Initial release
  • 18 tools covering discovery, monitoring, troubleshooting, and configuration
  • Agentic workflow capabilities
  • Intelligent diagnosis and automated health checks
  • Full MCP protocol support

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured