Token导航 LogoToken导航TokenDH.com
Cisco Meraki MCP logo
AI代理未说明官方级别未说明来源级核验

Cisco Meraki MCP

MCP Server

一个全面的模型上下文协议(MCP)服务器,将Cisco Meraki Dashboard API v1的所有端点作为AI助手的工具公开,通过自然语言控制Meraki基础设施。

工具数

55

提示词数

0

GitHub Stars

1

资源数

0
网络管理自然语言处理TypeScriptClaudeAPI集成Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

dbankscard

提供方

dbankscard

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

思科Meraki MCP服务器

![MCP](https://modelcontextprotocol.io) ![License: MIT](https://opensource.org/licenses/MIT) ![Meraki API v1](https://developer.cisco.com/meraki/api-v1/)

一个全面的模型上下文协议(MCP)服务器,将所有Cisco Meraki Dashboard API v1端点公开为人工智能助手的工具。使用Claude、ChatGPT或任何兼容MCP的AI助手通过自然语言控制您的Meraki基础设施。

特性

  • 62工具 -完全覆盖Meraki Dashboard API v1
  • 自然语言控制 -通过对话管理您的网络基础设施
  • 智能速率限制 -API限值的自动处理和指数退避
  • 响应优化 -80-95%的令牌减少,以实现高效的AI交互
  • 类型安全 -带有Zod验证的完整TypeScript
  • 自动审批 -只读操作的可配置模式
  • 承载身份验证 -具有传统回退功能的现代API v1身份验证

支持的操作

  • 组织管理 -网络、设备、许可证、管理员
  • 网络运营 -客户端、流量分析、固件、警报
  • 设备控制 -状态、LED控制、重启、性能指标
  • 分析和监控 -带宽使用情况、应用程序、API使用情况

安装

# Clone the repository
git clone https://github.com/dbankscard/cisco-meraki-mcp.git
cd cisco-meraki-mcp

# Install dependencies
npm install

# Build the server
npm run build

配置

1.获取您的Meraki API密钥

  1. 登录到 Meraki仪表板
  2. 引导到 组织>设置
  3. 检查 启用对Cisco Meraki Dashboard API的访问
  4. 生成API密钥

2.设置身份验证

# Option 1: Environment variable
export MERAKI_API_KEY="your-40-character-api-key"

# Option 2: Create .env file
echo "MERAKI_API_KEY=your-40-character-api-key" > .env

可选配置

# Use a different API base URL (for different regions)
export MERAKI_API_BASE_URL="https://api.meraki.com/api/v1"

# Specify custom settings file location
export MERAKI_MCP_SETTINGS_PATH="/path/to/meraki-mcp-settings.json"

自动批准设置

MCP服务器支持可配置的工具自动批准,允许在没有用户确认的情况下执行某些操作。创建一个 meraki-mcp-settings.json 文件:

{
  "autoApprove": {
    "enabled": true,
    "tools": {
      "all": false,              // Auto-approve all tools (use with caution)
      "patterns": [              // Auto-approve tools matching these patterns
        "*_list",                // All list operations
        "*_get",                 // All get operations
        "organization_*_list",   // All organization list operations
        "network_*_get"          // All network get operations
      ],
      "specific": [              // Auto-approve specific tools
        "organization_licenses_overview",
        "network_events_list"
      ],
      "exclude": [               // Never auto-approve these tools
        "network_delete",
        "organization_admin_create"
      ]
    },
    "readOnlyByDefault": true    // Auto-approve read-only operations
  }
}

自动批准配置选项

  • 启用:自动审批功能的主开关
  • tools.all:自动批准所有工具(覆盖其他设置)
  • 工具.图案:用于匹配工具名称的球状模式数组
  • 工具.特定:要自动批准的精确工具名称数组
  • 工具排除:永不自动批准的工具名称数组
  • readOnlyByDefault:自动批准只读操作(获取、列表、显示等)

有关详细的自动审批设置说明和示例配置,请参阅 CLAUDE_DESKTOP_SETUP.md

设置文件位置(按优先级顺序)

  1. 中指定的路径 MERAKI_MCP_SETTINGS_PATH 环境变量
  2. meraki-mcp-settings.json 在当前工作目录中
  3. .meraki-mcp-settings.json 在当前工作目录中
  4. meraki-mcp-settings.json 在MCP服务器目录中

快速开始

使用Claude Desktop运行

  1. 打开克劳德桌面设置
  2. 添加到MCP服务器配置中:
{
  "mcpServers": {
    "meraki": {
      "command": "node",
      "args": ["/path/to/cisco-meraki-mcp/build/index.js"],
      "env": {
        "MERAKI_API_KEY": "your-api-key"
      }
    }
  }
}
  1. 重新启动克劳德桌面
  2. 查找扳手图标以确认MCP已连接

发展模式

npm run dev

MCP检验员测试

npm run inspector

可用工具

组织工具(26个工具)

  • organization_list -列出所有组织
  • organization_get -获取组织详细信息
  • organization_update -更新组织设置
  • organization_networks_list -列出组织中的网络
  • organization_network_create -创建新网络
  • organization_devices_list -列出所有设备
  • organization_devices_statuses -获取设备状态
  • organization_devices_availabilities -获取设备可用性历史记录
  • organization_licenses_list -列出许可证
  • organization_licenses_overview -获取许可证概述
  • organization_license_claim -申领许可证
  • organization_admins_list -列出管理员
  • organization_admin_create -创建管理员
  • organization_inventory_devices -获取库存设备
  • organization_inventory_claim -索赔清单
  • organization_uplinks_statuses -获取上行链路状态
  • organization_networks_combine -组合多个网络

分析工具:

  • organization_traffic_analysis -顶级带宽消费者
  • organization_clients_bandwidth_usage -带宽使用历史
  • organization_api_usage -API请求监控
  • organization_config_changes -配置更改跟踪
  • organization_device_statuses_overview -设备运行状况概述
  • organization_security_events -安全事件日志(从所有网络聚合)
  • organization_top_networks_by_status -按健康状况排名的顶级网络
  • organization_devices_availability_history -设备正常运行时间跟踪

网络工具(19个工具)

  • network_get -获取网络详细信息
  • network_update -更新网络设置
  • network_delete -删除网络
  • network_clients_list -列出网络客户端
  • network_client_get -获取客户详细信息
  • network_devices_list -列出网络设备
  • network_devices_claim -索赔设备
  • network_device_remove -删除设备
  • network_traffic_get -获取流量分析
  • network_events_list -列出事件
  • network_firmware_upgrades_get -获取固件信息
  • network_firmware_upgrades_update -更新固件设置
  • network_settings_get -获取网络设置
  • network_settings_update -更新网络设置
  • network_alerts_settings_get -获取警报设置
  • network_alerts_settings_update -更新警报设置
  • network_split -拆分网络
  • network_combine -合并网络
  • network_bind -绑定到模板
  • network_unbind -解除与模板的绑定

设备工具(10个工具)

  • device_get -获取设备详细信息
  • device_update -更新设备属性
  • device_blink_leds -闪烁的LED用于识别
  • device_clients_list -列出连接到设备的客户端
  • device_loss_latency_history -上行链路性能指标
  • device_reboot -重新启动设备
  • device_remove -从网络中删除设备
  • device_lldp_cdp -获取LLDP/CDP信息
  • device_management_interface -获取管理设置
  • device_management_interface_update -更新管理设置

即将推出

  • 设备(MX)专用工具
  • 开关(MS)专用工具
  • 无线(MR)专用工具
  • 相机(MV)工具
  • 系统管理器工具
  • 洞察工具
  • 传感器工具

对话示例

问你的AI助手自然语言问题:

组织管理

"What Meraki organizations do I have access to?"
"Show me all networks in organization 12345"
"Create a new network called 'Branch Office' with MX and MS devices"
"What licenses are expiring soon?"

网络运营

"List all clients in my network from the last 24 hours"
"What's consuming the most bandwidth?"
"Show me security events from today"
"Update the timezone for network N_12345 to America/New_York"

设备控制

"Blink the LEDs on device Q2QN-XXXX-XXXX"
"Show me the uplink performance for the last week"
"Reboot the main office switch"
"Which clients are connected to access point Q2QN-YYYY-YYYY?"

分析和监控

"What are the top bandwidth consuming applications?"
"Show me API usage patterns for the last week"
"Track configuration changes made this month"
"Which networks are using the most data?"

文档

安全

  • API密钥从不记录或在响应中公开
  • 所有通信都使用HTTPS
  • 启动时验证环境变量
  • 输入参数经过净化和验证
  • 过滤响应数据以防止令牌溢出

贡献

欢迎投稿!拜托:

  1. 分叉存储库
  2. 创建要素分支(git checkout -b feature/amazing-feature)
  3. 提交您的更改(git commit -m 'Add amazing feature')
  4. 推到分支(git push origin feature/amazing-feature)
  5. 打开拉取请求

开发设置

# Clone your fork
git clone https://github.com/YOUR_USERNAME/cisco-meraki-mcp.git
cd cisco-meraki-mcp

# Install dependencies
npm install

# Run in development mode
npm run dev

# Run tests
npm test

# Test with MCP Inspector
npm run inspector

资源

许可证

此项目根据MIT许可证获得许可-请参阅 许可证 文件以获取详细信息。

致谢

  • CiscoMeraki用于全面的仪表板API
  • 模型上下文协议规范的拟人化
  • 持续支持和贡献的开源社区

______________________________________________________________________

用爱制作 dbankscard

目录标签

目录标签

网络管理自然语言处理TypeScriptClaudeAPI集成本地部署AI助手集成API服务器CiscoMeraki

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

55

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP