原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Cisco Modeling Labs CML

作者:xorrkaz版本 0.40.0i★ –i在你的电脑上运行
注册名称io.github.xorrkaz/cml-mcp

安装

概览

作者提供的说明(英文原文)

An MCP server that provides access to common Cisco Modeling Labs (CML) operations.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:CML_URL, CML_USERNAME, CML_PASSWORD, PYATS_PASSWORD, PYATS_AUTH_PASS

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CML_URL, CML_USERNAME, CML_PASSWORD, PYATS_USERNAME, PYATS_PASSWORD, PYATS_AUTH_PASS

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "cml": {
      "command": "uvx",
      "args": [
        "cml-mcp"
      ],
      "env": {
        "CML_URL": "your-value",
        "CML_USERNAME": "your-value",
        "CML_PASSWORD": "your-value",
        "PYATS_USERNAME": "your-value",
        "PYATS_PASSWORD": "your-value",
        "PYATS_AUTH_PASS": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add cml --env CML_URL=your-value --env CML_USERNAME=your-value --env CML_PASSWORD=your-value --env PYATS_USERNAME=your-value --env PYATS_PASSWORD=your-value --env PYATS_AUTH_PASS=your-value -- uvx cml-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "cml": {
      "command": "uvx",
      "args": [
        "cml-mcp"
      ],
      "env": {
        "CML_URL": "your-value",
        "CML_USERNAME": "your-value",
        "CML_PASSWORD": "your-value",
        "PYATS_USERNAME": "your-value",
        "PYATS_PASSWORD": "your-value",
        "PYATS_AUTH_PASS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "cml": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cml-mcp"
      ],
      "env": {
        "CML_URL": "your-value",
        "CML_USERNAME": "your-value",
        "CML_PASSWORD": "your-value",
        "PYATS_USERNAME": "your-value",
        "PYATS_PASSWORD": "your-value",
        "PYATS_AUTH_PASS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CML_URL 必填 env
    URL for the CML Server
  • CML_USERNAME 必填 env
    Username for CML authentication
  • CML_PASSWORD 机密 必填 env
    Password for CML authentication
  • PYATS_USERNAME env
    Username for authentication to devices running in CML
  • PYATS_PASSWORD 机密 env
    Password for authentication to devices running in CML
  • PYATS_AUTH_PASS 机密 env
    Enable password for authentication to devices running in CML

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 xorrkaz 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18428 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18428 个服务器的 90% 更新
  • 基础检查结果等于或优于此分类中其他 18428 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Cisco Modeling Labs CML 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:CML_URL, CML_USERNAME, CML_PASSWORD, PYATS_PASSWORD, PYATS_AUTH_PASS

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.40.0)于4天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Winecellarbuilders

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 2113天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Model Context Protocol (MCP) Server for Cisco Modeling Labs (CML)

mcp-name: io.github.xorrkaz/cml-mcp

Overview

cml-mcp brings the power of AI assistants to your network lab! This tool allows you to interact with Cisco Modeling Labs (CML) using natural language through AI applications like Claude Desktop, Claude Code, and Cursor.

Instead of clicking through menus or writing scripts, simply tell the AI what you want to do in plain English—like "Create a new lab with two routers and configure OSPF" or "Show me the running config on Router1"—and watch it happen automatically.

This is accomplished through the Model Context Protocol (MCP), a standard way for AI applications to interact with external tools and services. Think of it as giving your AI assistant a direct connection to your CML server.

Features

  • Create Lab Topologies: Tools to create new labs and define network topologies from scratch or using full topology definitions.
  • Query Status: Tools to retrieve detailed status information for labs, nodes, links, annotations, and the CML server itself.
  • Control Labs and Nodes: Tools to start, stop, and wipe labs or individual nodes as needed.
  • Manage CML Users and Groups: Tools to list, create, and delete local users and groups (requires admin privileges).
  • Visual Annotations: Add visual elements (text, rectangles, ellipses, lines) to lab topologies for documentation and organization.
  • Link Management: Connect nodes, configure link conditioning (bandwidth, latency, jitter, loss), and control link states.
  • Packet Capture: Start, stop, and retrieve packet captures (PCAP) from network links for traffic analysis with Wireshark or other tools.
  • Node Configuration: Configure node startup configurations and send CLI commands to running devices.
  • Run Commands on Devices: Using PyATS, MCP clients can execute commands on virtual devices within CML labs.
  • Console Log Access: Retrieve console logs from running nodes for troubleshooting and monitoring, with support for selecting specific serial console ports.
  • Modular Architecture: Tools are organized into logical modules (labs, nodes, links, pcap, etc.) for maintainability and extensibility.
  • Access Control Lists (HTTP Mode): When running in HTTP transport mode, you can restrict which users can access which tools using a YAML-based ACL configuration file.
  • Observability: Optional OpenTelemetry tracing exports spans for every tool call to any OTLP-compatible backend (Jaeger, Grafana Tempo, Datadog, etc.).

Quick Start

Installation

The easiest way to get started is using uvx with Claude Desktop (or other MCP-compatible clients). The uvx tool automatically downloads and runs the server without manual installation steps.

Configuration: Find and edit your Claude Desktop configuration file (claude_desktop_config.json). Add the following:

{

"mcpServers": { "Cisco Modeling Labs CML": { "type": "stdio", "command": "uvx", "args": [ "cml-mcp" ], "env": { "CML_URL": "{CML_URL}", "CML_USERNAME": "{CML_USERNAME}", "CML_PASSWORD": "{CML_PASSWORD}!", "CML_VERIFY_SSL": "true" } } } }

Important: Replace the placeholder values with your actual CML server details:

  • CML_URL: Your CML server address (e.g., https://cml.example.com or https://10.10.20.50)
  • CML_USERNAME and CML_PASSWORD: Your CML login credentials
  • CML_VERIFY_SSL: TLS certificate verification now defaults to "true". CML ships with a self-signed certificate out of the box, so most users need to set this to `"false"`. Leave it at "true" only if you have installed a CA-signed certificate on your CML server (or point CA_BUNDLE at a file containing your self-signed certificate).

[!TIP]

"Command not found" for `uvx`? MCP clients like Claude Desktop run in a restricted environment that does not always inherit your shell's PATH. If uvx can't be found, use its full path in the "command" field. To find it, run which uvx in a terminal on macOS/Linux, or where uvx in Command Prompt on Windows (e.g., "/Users/alice/.local/bin/uvx" on macOS, "C:\Users\alice\.local\bin\uvx.exe" on Windows). The same applies to uv, npx, or any other command used in MCP configurations.

Need more capabilities?

  • For device CLI command execution, use cml-mcp[pyats] instead of cml-mcp in the args
  • For Docker, Windows (WSL), or HTTP server mode, see INSTALLATION.md

Where to 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
Requirements
  • Python 3.12, 3.13, or 3.14
  • Cisco Modeling Labs (CML) 2.9 or later
  • [uv](https://docs.astral.sh/uv/) - Python package manager

Available MCP Tools

The server provides 52 MCP tools organized into the following categories:

Lab Management
  • get_cml_labs - Retrieve labs for a specific user or current user
  • create_empty_lab - Create a new empty lab with optional metadata
  • create_full_lab_topology - Create a complete lab from a topology definition
  • modify_cml_lab - Update lab properties (title, description, notes)
  • set_cml_lab_permissions - Configure group/user access (LAB_ADMIN, LAB_EDIT, LAB_EXEC, LAB_VIEW)
  • start_cml_lab - Start all nodes in a lab
  • stop_cml_lab - Stop all nodes in a lab
  • wipe_cml_lab - Wipe all node data/configurations (prompts for confirmation if client supports it)
  • delete_cml_lab - Delete a lab (prompts for confirmation if client supports it)
  • get_cml_lab_by_title - Find a lab by its title
  • download_lab_topology - Download lab topology as YAML file
  • clone_cml_lab - Clone a lab with optional new title
Node Management
  • get_cml_node_definitions - List available node types
  • get_node_definition_detail - Get detailed info about a specific node type
  • add_node_to_cml_lab - Add a node to a lab
  • get_nodes_for_cml_lab - Get all nodes in a lab with operational data
  • configure_cml_node - Set node startup configuration
  • start_cml_node - Start a specific node
  • stop_cml_node - Stop a specific node
  • wipe_cml_node - Wipe node data (prompts for confirmation if client supports it)
  • delete_cml_node - Delete a node (prompts for confirmation if client supports it)
  • get_console_log - Get console output history for a node; optional console index selects the serial port (default 0; Docker-based nodes often use both 0 and 1)
  • send_cli_command - Execute exec/operational-mode CLI commands on running nodes (requires PyATS); optional console index selects which serial port to use
  • send_cli_config_command - Execute configuration-mode CLI commands on running nodes (requires PyATS); optional console index selects which serial port to use
Interface & Link Management
  • add_interface_to_node - Add an interface to a node. Returns a list of created interfaces (a single slot request may add multiple interfaces depending on the node type)
  • get_interfaces_for_node - Get all interfaces for a node
  • connect_two_nodes - Create a link between two interfaces
  • get_all_links_for_lab - Get all links in a lab
  • apply_link_conditioning - Configure network conditions (bandwidth, latency, jitter, loss)
  • start_cml_link - Enable connectivity on a link
  • stop_cml_link - Disable connectivity on a link
Annotations (Visual Elements)
  • get_annotations_for_cml_lab - Get all visual annotations in a lab
  • add_text_annotation - Add a text annotation
  • add_rectangle_annotation - Add a rectangle annotation
  • add_ellipse_annotation - Add an ellipse annotation
  • add_line_annotation - Add a line annotation
  • delete_annotation_from_lab - Delete an annotation (prompts for confirmation if client supports it)
Packet Capture (PCAP)
  • start_packet_capture - Start capturing packets on a link
  • stop_packet_capture - Stop an active packet capture
  • check_packet_capture_status - Check capture status and packet count
  • get_captured_packet_overview - Get summary of captured packets
  • get_packet_capture_data - Download full PCAP file (base64-encoded for Wireshark/tcpdump)
User & Group Management
  • get_cml_users - List all CML users
  • create_cml_user - Create a new user (requires admin)
  • delete_cml_user - Delete a user (requires admin, prompts for confirmation if client supports it)
  • get_cml_groups - List all CML groups
  • create_cml_group - Create a new group (requires admin)
  • delete_cml_group - Delete a group (requires admin, prompts for confirmation if client supports it)
System Information
  • get_cml_information - Get CML server version and configuration
  • get_cml_status - Get system health indicators
  • get_cml_statistics - Get resource usage and lab/node/link counts
  • get_cml_licensing_details - Get licensing information and limits

Usage

Once configured, restart your MCP client (e.g., Claude Desktop) and start chatting! The AI assistant now has direct access to your CML server and can help you build and manage network labs through natural conversation.

What Can You Do?

Here are some example prompts to try:

Getting Started:

  • "Show me all my CML labs"
  • "What node types are available in CML?"
  • "Tell me about my CML server status and licensing"

Building Labs:

  • "Create a new lab called 'OSPF Test Lab'"
  • "Add two CSR1000v routers and an external connector to my lab"
  • "Connect Router1's GigabitEthernet1 to Router2's GigabitEthernet1"

Configuration & Testing:

  • "Configure OSPF area 0 on both routers"
  • "Start all nodes in the lab"
  • "Show me the OSPF neighbors on Router1"
  • "Start a packet capture on the link between the routers"

Complete Workflow Example:

Here's a sequence of prompts that demonstrates building and testing a complete lab:

  1. "Create a new CML lab called 'My Network Lab'"
  2. "Add two IOL routers, an unmanaged switch, and an external connector to this lab"
  3. "Connect the two IOL routers to the unmanaged switch and connect the switch to the external connector"
  4. "Configure the routers so that their connected interfaces have IPs in the 192.0.2.0/24 subnet and configure OSPF on them"
  5. "Start the lab and validate that OSPF is working correctly"
  6. "Add a green box annotation around the two IOL routers with the label 'OSPF Area 0'"

Here's a demo showing it working in Claude Desktop:

![Animated demonstration showing Claude Desktop creating a network topology in Cisco Modeling Labs through natural language commands. The sequence shows a user typing prompts to create a lab, add network devices including

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx