1. Conduid
  2. Developer Tools
  3. Cml MCP
MCP server · Developer Tools

Cml MCP

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

74Good

Scored 1 hours ago · breakdown

About Cml MCP

Cml MCP is an MCP server published by xorrkaz in the Developer Tools category: a Model Context Protocol (MCP) Server for Cisco Modeling Labs (CML). Conduid read 54 tools from its source: add_ellipse_annotation, add_interface_to_node, add_line_annotation, add_node_to_cml_lab, add_rectangle_annotation, add_text_annotation and 48 more. It is published to PyPI as cml-mcp and runs with uvx.

The repository has 82 stars and 44 forks, is licensed BSD-2-Clause, and its last commit was on 22 Nov 2026. The latest release is v0.32.2 (8 Oct 2026): This release fixes a file descriptor leak when executing CLI commands on devices. It follows v0.32.1 (2 Oct 2026), and the 5 most recent releases go back to v0.31.1 (26 Aug 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include cisco, cml, digital-twin and simulation.

Install

uvx
uvx cml-mcp
pip
pip install cml-mcp
From source
git clone https://github.com/xorrkaz/cml-mcp

Tools (54)

add_ellipse_annotationAdd an ellipse shape annotation to a lab canvas. Returns the annotation UUID.
ParameterTypeDescription
border_color *any
border_style *any
color *any
lab_id *any
rotation *integer
thickness *integer
x1 *any
x2 *any
y1 *any
y2 *any
z_index *integer
add_interface_to_nodeAdd a new interface to a node. Returns interface details (id, node, slot, type, MAC). Note: depending on
ParameterTypeDescription
lab_id *any
mac_addressany
node *any
slotany
add_line_annotationAdd a line annotation to a lab canvas. Returns the annotation UUID.
ParameterTypeDescription
border_color *any
border_style *any
color *any
lab_id *any
line_end *string
line_start *string
thickness *integer
x1 *any
x2 *any
y1 *any
y2 *any
z_index *integer
add_node_to_cml_labAdd a node to an existing lab. Returns the new node's UUID. Default interfaces are auto-created.
ParameterTypeDescription
boot_disk_sizeany
configurationstring
cpu_limitany
cpusany
data_volumeany
hide_linksboolean
image_definitionany
lab_id *any
labelstring
node_definition *any
parametersobject
priorityinteger
pyatsobject
ramany
tagsany
xany
yany
add_rectangle_annotationAdd a rectangle shape annotation to a lab canvas. Returns the annotation UUID.
ParameterTypeDescription
border_color *any
border_radius *integer
border_style *any
color *any
lab_id *any
rotation *integer
thickness *integer
x1 *any
x2 *any
y1 *any
y2 *any
z_index *integer
add_text_annotationAdd a text label annotation to a lab canvas. Returns the annotation UUID.
ParameterTypeDescription
border_color *any
border_style *any
color *any
lab_id *any
rotation *integer
text_bold *boolean
text_content *string
text_font *string
text_italic *boolean
text_size *integer
text_unit *string
thickness *integer
x1 *any
y1 *any
z_index *integer
apply_link_conditioning
ParameterTypeDescription
bandwidthinteger
corrupt_corrnumber
corrupt_probnumber
delay_corrnumber
duplicatenumber
duplicate_corrnumber
enabledboolean
gapinteger
jitterinteger
lab_id *any
latencyinteger
limitinteger
link_id *any
lossnumber
loss_corrnumber
reorder_corrnumber
reorder_probnumber
check_packet_capture_statusCheck whether a packet capture is active on a link, plus its config and packet count
ParameterTypeDescription
lab_id *any
link_id *any
clone_cml_lab
ParameterTypeDescription
lab_id *any
new_titleany
configure_cml_nodeSet the startup configuration for a node by lab and node UUID. The `config` is a plain
ParameterTypeDescription
config *any
lab_id *any
node_id *any
connect_cml_linkConnect a link (bring up both ends of the link) by lab and link UUID. This may be needed if a
ParameterTypeDescription
lab_id *any
link_id *any
connect_two_nodesCreate a link between two interfaces in the same lab. Returns the new link's UUID.
ParameterTypeDescription
dst_int *any
lab_id *any
src_int *any
create_cml_groupCreate a new CML group. Requires admin privileges. Returns the new group's UUID.
ParameterTypeDescription
associationsarray
descriptionstring
membersarray
name *any
create_cml_userCreate a new CML user. Requires admin privileges. Returns the new user's UUID.
ParameterTypeDescription
adminboolean
associationsarray
descriptionstring
emailstring
fullnameany
groupsarray
opt_instring
password *string
pubkeystring
resource_poolany
tour_versionstring
username *any
create_empty_labCreate an empty CML lab (no nodes/links). Returns the new lab UUID.
ParameterTypeDescription
notesany
titleany
create_full_lab_topologyImport a complete CML lab from a Topology object (nodes + links + lab metadata).
ParameterTypeDescription
topology *any
delete_annotation_from_labDelete a single annotation by lab and annotation UUID.
ParameterTypeDescription
annotation_id *any
lab_id *any
delete_cml_groupDelete a CML group by UUID. Requires admin privileges.
ParameterTypeDescription
group_id *any
delete_cml_labDelete a CML lab by UUID. Auto-stops and wipes the lab first.
ParameterTypeDescription
lab_id *any
delete_cml_nodeDelete a node from a lab by lab and node UUID. Auto-stops and wipes the node first.
ParameterTypeDescription
lab_id *any
node_id *any
delete_cml_userDelete a CML user by UUID. Requires admin privileges.
ParameterTypeDescription
user_id *any
disconnect_cml_linkDisconnect a link (bring down both ends of the link) by lab and link UUID.
ParameterTypeDescription
lab_id *any
link_id *any
download_lab_topologyDownload the full topology for a lab by UUID as a YAML string. Present this to the user
ParameterTypeDescription
lab_id *any
get_all_links_for_labList all links in a lab by lab UUID. Returns id, label, interface_a, interface_b,
ParameterTypeDescription
lab_id *any
get_annotations_for_cml_labGet all visual annotations (text labels, shapes, lines) on a lab's canvas by lab UUID.
ParameterTypeDescription
lab_id *any
get_captured_packet_overviewGet a brief one-line summary of each packet captured on a link (timestamps, src/dst,
ParameterTypeDescription
lab_id *any
link_id *any
get_cml_groupsList all CML groups. Returns id, name, description, members (user UUIDs), and lab
get_cml_informationGet CML server info: version, hostname, uptime, ready status, and configuration details.
get_cml_lab_by_titleDownload the full topology for a lab by UUID as a YAML string. Present this to the user
ParameterTypeDescription
title *any
get_cml_labsList CML labs, optionally filtered by owner username.
ParameterTypeDescription
userany
get_cml_licensing_detailsGet CML licensing info: registration status, features, node limits, and expiration dates.
get_cml_node_definitionsList all available node types on this CML server. Returns id, label, general_nature
get_cml_statisticsGet CML resource usage: CPU, memory, disk, and counts of running labs/nodes/links and
get_cml_statusGet CML system health: compute, controller, virl2, and overall health indicators.
get_cml_usersList all CML users. Returns id, username, fullname, email, admin status, groups,
get_console_logGet the console output history for a node by lab and node UUID. The node must be started.
ParameterTypeDescription
consoleinteger
lab_id *any
node_id *any
get_interfaces_for_nodeList all interfaces on a node by lab and node UUID. Returns id, node, label, slot, type,
ParameterTypeDescription
lab_id *any
node_id *any
get_node_definition_detailGet full details for one node definition by id: interfaces, default device config,
ParameterTypeDescription
definition_id *any
get_nodes_for_cml_labList all nodes in a lab by lab UUID. Returns id, label, node_definition, x/y, state,
ParameterTypeDescription
lab_id *any
get_packet_capture_dataDownload the complete PCAP file for a link by lab and link UUID. Returns base64-encoded
ParameterTypeDescription
lab_id *any
link_id *any
modify_cml_labUpdate lab metadata (title, owner, description, notes) by lab UUID.
ParameterTypeDescription
lab_id *any
notesany
titleany
send_cli_commandSend exec/operational-mode CLI commands to a running node via PyATS/Unicon (e.g. "show
ParameterTypeDescription
consoleinteger
lab_id *any
label *any
send_cli_config_commandSend configuration-mode CLI commands to a running node via PyATS/Unicon. Identify the
ParameterTypeDescription
consoleinteger
lab_id *any
label *any
set_cml_lab_permissionsConfigure group and user permissions for a CML lab by lab UUID.
ParameterTypeDescription
groupsarray
lab_id *any
usersarray
start_cml_labStart (boot) a CML lab and all its nodes by lab UUID.
ParameterTypeDescription
lab_id *any
wait_for_convergenceboolean
start_cml_linkStart a link (enable connectivity) by lab and link UUID.
ParameterTypeDescription
lab_id *any
link_id *any
start_cml_nodeStart (boot) a single node by lab and node UUID.
ParameterTypeDescription
lab_id *any
node_id *any
wait_for_convergenceboolean
start_packet_captureStart a packet capture on a link by lab and link UUID. At least one of maxtime (seconds, 1-86400)
ParameterTypeDescription
bpfilterstring
encapstring
lab_id *any
link_id *any
maxpacketsinteger
maxtimeinteger
stop_cml_labStop (power off) all running nodes in a CML lab by lab UUID.
ParameterTypeDescription
lab_id *any
stop_cml_linkStop a link (disable connectivity, simulate cable pull) by lab and link UUID.
ParameterTypeDescription
lab_id *any
link_id *any
stop_cml_nodeStop (power down) a single node by lab and node UUID.
ParameterTypeDescription
lab_id *any
node_id *any
stop_packet_captureStop an active packet capture on a link by lab and link UUID.
ParameterTypeDescription
lab_id *any
link_id *any
wipe_cml_labWipe a CML lab by UUID -- erases all node disk data and configurations. Lab is stopped first if needed.
ParameterTypeDescription
lab_id *any
wipe_cml_nodeWipe a single node's disks by lab and node UUID. Erases all node data. Node must be stopped first.
ParameterTypeDescription
lab_id *any
node_id *any

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.1K words.
  • ✓License declaredThe repository declares the BSD-2-Clause license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

1 check has not been run yet.

Releases

v0.32.20.32.2 · 8 Oct 2026This release fixes a file descriptor leak when executing CLI commands on devices. After enough commands are run, subsequent tool calls would report "too many open files". Thanks to Kareem Iskander for reporting this.
v0.32.10.32.1 · 2 Oct 2026Fix an issue where creating a lab without all tool arguments could generate a ToolError.
v0.32.00.32.0 · 20 Sep 2026This release focuses on more compact lab data, better observability, and smoother setup. Improved CML lab listing by introducing a simplified lab response model smaller to minimize context widow usage for open weight models. Added optional…
v0.31.20.31.2 · 5 Sep 2026What's Changed Accept solid/dotted/dashed aliases for legacy border_style wire by @tmikuska in https://github.com/xorrkaz/cml-mcp/pull/40 This is being done in a backwards compatible way to support APIs such as Gemini's which do not like…
v0.31.10.31.1 · 26 Aug 2026This release updates dependencies for cml-mcp.

README

The repository's README runs to about 2.1K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Cml MCP

How do I install Cml MCP?

Run uvx cml-mcp, then add the server to your MCP client's configuration.

Is Cml MCP safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Cml MCP still maintained?

Yes — the latest release is v0.32.2 (8 Oct 2026), and the last commit was 9 days ago. The repository has 82 stars and 1 open issues.

What tools does Cml MCP provide?

Conduid read 54 tools from the source: add_ellipse_annotation, add_interface_to_node, add_line_annotation, add_node_to_cml_lab, add_rectangle_annotation, add_text_annotation, apply_link_conditioning, check_packet_capture_status and 46 more. 47 of them publish their parameters, listed under Tools above.

What license is Cml MCP released under?

The repository declares the BSD-2-Clause license. That applies to the latest release, v0.32.2, as well.