clone_cml_lab
Clone a lab with optional new title
How to use it
clone_cml_lab is exposed by the Cml MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the clone_cml_lab tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Cml MCP
uvx cml-mcp[pyats] # For uvx installationsOther tools in Cml MCP (39)
Add an ellipse annotation
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)
Add a line annotation
Add a node to a lab
Add a rectangle annotation
Add a text annotation
Configure network conditions (bandwidth, latency, jitter, loss)
Check capture status and packet count
Set node startup configuration
Create a link between two interfaces
Create a new empty lab with optional metadata
Create a complete lab from a topology definition
Delete an annotation (prompts for confirmation if client supports it)
Delete a lab (prompts for confirmation if client supports it)
Delete a node (prompts for confirmation if client supports it)
Download lab topology as YAML file
Get all links in a lab
Get all visual annotations in a lab
Get summary of captured packets
Find a lab by its title
Retrieve labs for a specific user or current user
List available node types
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)
Get all interfaces for a node
Get detailed info about a specific node type
Get all nodes in a lab with operational data
Update lab properties (title, description, notes)
Execute CLI commands on running nodes (requires PyATS); optional console index selects which serial port to use
Configure group/user access (LABADMIN, LABEDIT, LABEXEC, LABVIEW)
Start all nodes in a lab
Enable connectivity on a link
Start a specific node
Start capturing packets on a link
Stop all nodes in a lab
Disable connectivity on a link
Stop a specific node
Stop an active packet capture
Wipe all node data/configurations (prompts for confirmation if client supports it)
Wipe node data (prompts for confirmation if client supports it)