Back to Home
xorrkaz icon

cml-mcp

Verified Safe

by xorrkaz

Overview

Enables AI assistants to interact with and automate Cisco Modeling Labs (CML) network lab operations using natural language.

Installation

Run Command
docker run -d --rm --name cml-mcp -p 9000:9000 -e CML_URL=https://your-cml-server.example.com -e CML_MCP_TRANSPORT=http xorrkaz/cml-mcp:latest

Environment Variables

  • CML_URL
  • CML_USERNAME
  • CML_PASSWORD
  • CML_VERIFY_SSL
  • DEBUG
  • PYATS_USERNAME
  • PYATS_PASSWORD
  • PYATS_AUTH_PASS
  • CML_MCP_TRANSPORT
  • CML_MCP_BIND
  • CML_MCP_PORT
  • CML_ALLOWED_URLS
  • CML_URL_PATTERN
  • CML_MCP_ACL_FILE

Security Notes

The `send_cli_command` tool allows direct execution of CLI commands on running CML nodes. This poses a significant risk for command injection on target network devices if the AI is unconstrained or if the commands are not properly sanitized. The server's HTTP transport mode supports client-provided CML server URLs, but attempts to validate them against `CML_ALLOWED_URLS` or `CML_URL_PATTERN` to prevent SSRF. Credentials for CML and PyATS are handled via environment variables (for stdio mode) or HTTP headers (for HTTP mode), and the ACL feature in HTTP mode allows for granular control over tool access.

Similar Servers

Stats

Interest Score42
Security Score6
Cost ClassHigh
Avg Tokens5000
Stars21
Forks10
Last Update2026-01-16

Tags

network labCMLAI assistantnetwork automationModel Context Protocol