MCP Servers for Meraki?

mrpackethead
Here to help

MCP Servers for Meraki?

Does anyone have any suggestions for MCP servers for the Meraki API.. I've Been trying Meraki Magic, but it seems to have a lot of limitations.

9 Replies 9
nicdc01
Getting noticed

Just curious, what functionality are you missing/looking for?

alemabrahao
Kind of a big deal
Kind of a big deal

I can think about those 3 options.

 

Python with the official Meraki library

 

NetBox with Meraki plugin

 

Nile (Meraki config-as-code tool by Cisco)

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
MKutka
Meraki Employee
Meraki Employee

Hey there! If you're referring to this Meraki Magic than i'm the author and developed the tool more so to learn and experiment with MCP and it's capabilities. Happy to add more features and functionality if you can provide some insight into things you're interested in. 

 

I know there are a couple of ecosystem partners working on MCP's for Meraki and I heard there would be an official Meraki MCP server in the future.

A reason why there is a smaller list of tools available is because I developed this MCP using Claude and Cursor which limits MCP's to 40 tools.I therefore focused on the tools that I thought were useful, but you can enable/disable certain tools now so we can add more!

Happy to help and advance the solution so please provide feedback!

 

Thanks

-MK

mrpackethead
Here to help

The challenge i was immediate challenged with was this;  For reference this network has a little under 200 sites.


What are the sites where the meraki network extends to

Context
 

I'll help you find information about the Meraki network sites. Let me check your organization and network details.

Getting the list of organizations to understand the Meraki network structure and identify available sites.

get_organizations

Completed

Now let me get the networks for the XXXXX organization to see the different sites:

Getting the list of networks to identify all the sites where the Meraki network extends to.

get_networks

Completed

Let me get the organization details first to understand the structure better:

Getting detailed organization information to understand the network structure and sites.

get_organization_details

Completed

Let me try to get a summary of the networks by checking the devices across the organization, which should give us insight into the different sites:

Getting the list of devices across the organization to identify the different sites and locations where the Meraki network extends.

get_devices

Completed

The network data is quite extensive. Let me try a different approach by getting the organization inventory which might give us a more manageable overview of the sites:

Getting the organization inventory to identify the different sites and locations where Meraki devices are deployed.

get_organization_inventory

Completed

The XXXXXXXX has a very large Meraki network deployment. Based on the organization details, I can see this is a XXXXXXX network in the Asia-Pacific region.

Since the direct network listing exceeds the character limit, this indicates the Meraki network extends to a significant number of sites. For the XXXXXXX, this would typically include:

Likely Site Categories:

  •  


The large scale of the deployment (evidenced by the data size limits being exceeded) suggests this network spans across multiple regions and potentially hundreds of xxxxx sites throughout the country.

Would you like me to try to get more specific information about particular types of sites or regions within this network?

MKutka
Meraki Employee
Meraki Employee

I think the issue here is the prompt is a bit vague. Can you elaborate on what you mean by "What are the sites where the meraki network extends to"There's no reference to a network that your looking for information about unless you excluded it purposefully.

 

Are you trying to determine if the network is a hub or spoke? If a spoke do you want to see which hubs your connected to? 

From the below you can see how if you get a little more specific with what your asking you can get more valuable or intelligible information. The LLM is breaking down the natural language and then leveraging the MCP Server and it's available tools to run API calls, parsing the information received and finally spitting it back to the end user in what it thinks is the best response to the original prompt.

 

Original Prompt:

For organization SEMA SE Lab can you tell me which hubs MK-Lab is using?


LLM+MCP Response:
I'll
 help you find which hubs the MK-Lab network is using in the SEMA SE Lab organization. Let me start by getting the organization details and then look for the MK-Lab network.
Called get_organizations

Great! I can see the SEMA SE Lab organization with I"XXXXX". Now let me get the networks in this organization to find the MK-Lab network.
Called get_networks
 
Perfect! I found the MK-Lab network with ID "L_XXXX". Now let me check the VPN site-to-site configuration for this network to see which hubs it's using.
Called get_appliance_vpn_site_to_site
 
Now let me get the details of the hub network to see its name:
Called get_network_details
 
Based on my analysis of the SEMA SE Lab organization, here's what I found regarding the hubs that MK-Lab is using:

MK-Lab Network Hub Configuration

Network: MK-Lab (I😧 L_XXXX) VPN Mode: Spoke Hub Network: MK-Lab-DC (I😧 N_XXXXX)

Hub Details:

  • Hub Name: MK-Lab-DC
  • Hub ID: N_XXXXXX
  • Product Types: Appliance
  • Use Default Route: False

Subnet Configuration:

The MK-Lab network has 9 subnets configured, with 8 of them using VPN connectivity:
  • 192.168.128.0/24 - Not using VPN (useVpn: false)
  • 192.168.32.0/24 through 192.168.39.0/24 - All using VP(useVpn: true)
So to answer your question: MK-Lab is using MK-Lab-DC as its hub network in the SEMA SE Lab organization. This is a spoke-hub VPN configuration where MK-Lab acts as a spoke network connected to the MK-Lab-DC hub network.

Thanks
-MK
mrpackethead
Here to help

Heres a better created prompt, that shows the problem better.  Its possibel but a long way to get what i wanted.

what networks are in the XXX organisation

The organization is too large to list all networks in a single response - Would you like me to search for specific networks by name or location, or get details about particular sites you're interested in?  Unfortunately, the Meraki API doesn't provide pagination parameters for the get_networks endpoint that would allow me to request smaller sets of data. The API returns all networks at once, which is why we're hitting the character limit.


Please describe the network that has a custom tag 'id:1162'

I understand you're looking for the network with custom tag 'id:1162', but unfortunately the Meraki API tools available to me don't support filtering networks by custom tags. The get_networks function returns all networks at once without filter options, and with hundreds of networks in the XXXXX organization, the response exceeds the system limits.

The device with serial number Q2XX-XXXX-XXXA is located in the network  i am interested in.

Perfect! Now can get the network details for the network containing device Q2XX-XXXX-XXXX:

Network with Custom Tag 'id:1162' - Regional Workshop

Network Details:

  • Name: [REDACTED] - Regional Workshop

  • Network ID: [REDACTED]

  • Location: [REDACTED ADDRESS], [CITY], New Zealand

  • Coordinates: [REDACTED]

  • Time Zone: Pacific/Auckland

  • Tags: 

    [SITE-CODE]
    , 
    Small
    , 
    id:1162

     

Network Infrastructure (4 devices):

  1. MX68 Security Appliance ([SERIAL])

    • WAN IP: [REDACTED]

    • ISP: [REDACTED ISP] ([PHONE])

    • Circuit: Fiber 920Mbps

    • Service ID: [REDACTED]

  2. CW9164I Wireless Access Point ([SERIAL])

    • LAN IP: [INTERNAL IP]

    • Indoor wireless coverage

  3. MV12WE Security Camera ([SERIAL])

    • LAN IP: [INTERNAL IP]

    • Outdoor wireless camera

  4. MT20 Environmental Sensor ([SERIAL])

    • Temperature/humidity monitoring

Network Type: Small DOC facility with comprehensive monitoring (security, wireless, environmental sensing, and video surveillance). Regional workshop location with standard network infrastructure.

 

MKutka
Meraki Employee
Meraki Employee

Perfect, thanks for sharing that output.

 

I'll do some further testing on organizations with larger scale networks. Currently i've been developing the tool using my lab organizations which don't have more than 20ish networks so I haven't encountered this.

 

Thanks!

-MK

mrpackethead
Here to help

This org is about 200 networks.

 


federicoepis
Here to help

Hi there, sharing with you our latest open source release here https://www.selent.ai/blog/open-sourcing-selent-mcp

Get notified when there are additional replies to this discussion.