Back to Home
xorrkaz icon

cml-mcp

by xorrkaz

Overview

The cml-mcp server acts as an interface for LLM applications to interact with Cisco Modeling Labs (CML), enabling creation and management of network topologies and devices.

Installation

Run Command
docker run -d --rm --name cml-mcp -p 9000:9000 -e CML_URL=<URL_OF_CML_SERVER> -e CML_MCP_TRANSPORT=http xorrkaz/cml-mcp:latest

Environment Variables

  • CML_URL
  • CML_USERNAME
  • CML_PASSWORD
  • PYATS_USERNAME
  • PYATS_PASSWORD
  • PYATS_AUTH_PASS
  • CML_MCP_TRANSPORT
  • CML_MCP_BIND
  • CML_MCP_PORT

Security Notes

The server explicitly disables TLS/SSL certificate verification (`verify=False` for httpx and `ssl_verify=False` for virl2_client) when communicating with the CML server. This is a critical security vulnerability that makes all communications susceptible to Man-in-the-Middle (MITM) attacks, allowing an attacker to intercept and potentially modify sensitive CML credentials and data. Additionally, PyATS credentials for device access have hardcoded default values ('cisco'), posing a risk if not overridden by environment variables. While basic authentication via `X-Authorization` is used, the lack of TLS verification severely compromises its security.

Similar Servers

Stats

Interest Score41
Security Score3
Cost ClassMedium
Avg Tokens500
Stars17
Forks8
Last Update2025-12-06

Tags

CMLNetwork SimulationLLM ToolsModel Context ProtocolPyATS