MCPVault

get_all_links_for_lab

MCP tool from Cml MCP by xorrkaz

Get all links in a lab

How to use it

get_all_links_for_lab is exposed by the Cml MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_all_links_for_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 installations
FULL CML MCP LISTING

Other tools in Cml MCP (39)

add_ellipse_annotation

Add an ellipse annotation

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)

add_line_annotation

Add a line annotation

add_node_to_cml_lab

Add a node to a lab

add_rectangle_annotation

Add a rectangle annotation

add_text_annotation

Add a text annotation

apply_link_conditioning

Configure network conditions (bandwidth, latency, jitter, loss)

check_packet_capture_status

Check capture status and packet count

clone_cml_lab

Clone a lab with optional new title

configure_cml_node

Set node startup configuration

connect_two_nodes

Create a link between two interfaces

create_empty_lab

Create a new empty lab with optional metadata

create_full_lab_topology

Create a complete lab from a topology definition

delete_annotation_from_lab

Delete an annotation (prompts for confirmation if client supports it)

delete_cml_lab

Delete a lab (prompts for confirmation if client supports it)

delete_cml_node

Delete a node (prompts for confirmation if client supports it)

download_lab_topology

Download lab topology as YAML file

get_annotations_for_cml_lab

Get all visual annotations in a lab

get_captured_packet_overview

Get summary of captured packets

get_cml_lab_by_title

Find a lab by its title

get_cml_labs

Retrieve labs for a specific user or current user

get_cml_node_definitions

List available node types

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)

get_interfaces_for_node

Get all interfaces for a node

get_node_definition_detail

Get detailed info about a specific node type

get_nodes_for_cml_lab

Get all nodes in a lab with operational data

modify_cml_lab

Update lab properties (title, description, notes)

send_cli_command

Execute CLI commands on running nodes (requires PyATS); optional console index selects which serial port to use

set_cml_lab_permissions

Configure group/user access (LABADMIN, LABEDIT, LABEXEC, LABVIEW)

start_cml_lab

Start all nodes in a lab

start_cml_link

Enable connectivity on a link

start_cml_node

Start a specific node

start_packet_capture

Start capturing packets on a link

stop_cml_lab

Stop all nodes in a lab

stop_cml_link

Disable connectivity on a link

stop_cml_node

Stop a specific node

stop_packet_capture

Stop an active packet capture

wipe_cml_lab

Wipe all node data/configurations (prompts for confirmation if client supports it)

wipe_cml_node

Wipe node data (prompts for confirmation if client supports it)