MCP ServerSTDIOOfficialv0.27.0

Cisco Modeling Labs (CML) MCP Server

Automate Cisco Modeling Labs (CML) operations and device interactions through an MCP server. For network engineers and DevOps teams who need programmatic control over CML simulations and lab environments.

io.github.xorrkaz/cml-mcp

Hosted URL

Local install

Transport

STDIO

Auth

3 required env vars

What the Cisco Modeling Labs (CML) MCP server does

How models use it and what it is built for.

Automate Cisco Modeling Labs (CML) operations and device interactions through an MCP server. For network engineers and DevOps teams who need programmatic control over CML simulations and lab environments.

Connect to Cisco Modeling Labs (CML)

Local install — runs as a subprocess.

uvx cml-mcp==0.27.0

Environment variables

Configuration this server reads at startup.

  • CML_URLRequired

    URL for the CML Server

  • CML_USERNAMERequired

    Username for CML authentication

  • CML_PASSWORDRequiredSecret

    Password for CML authentication

  • PYATS_USERNAME

    Username for authentication to devices running in CML

  • PYATS_PASSWORDSecret

    Password for authentication to devices running in CML

  • PYATS_AUTH_PASSSecret

    Enable password for authentication to devices running in CML

Resources

Where to find authoritative docs and source for Cisco Modeling Labs (CML).

Example prompts for Cisco Modeling Labs (CML)

Paste any of these into Agent Studio after connecting Cisco Modeling Labs (CML).

  • List all running simulations in my CML server
  • Start a new lab topology and show me the node details
  • Connect to a device in CML and retrieve its running configuration
  • What authentication methods does this server support for lab devices?

Cisco Modeling Labs (CML) MCP server — FAQ

Common questions about connecting and running Cisco Modeling Labs (CML).

  • What is the CML MCP server and what can I do with it?

    It's an MCP server that provides programmatic access to Cisco Modeling Labs operations. You can manage simulations, control lab topologies, and interact with virtual devices running in CML through a chat interface.

  • What credentials do I need to set up this server?

    You need CML_URL, CML_USERNAME, and CML_PASSWORD to authenticate with your CML server. Optionally, set PYATS_USERNAME, PYATS_PASSWORD, and PYATS_AUTH_PASS if you want to authenticate directly to devices running in your labs.

  • How do I install and run the CML MCP server?

    Install it with `uvx cml-mcp@0.27.0`. Set the required environment variables (CML_URL, CML_USERNAME, CML_PASSWORD) and configure your MCP client to use stdio transport to connect.

  • Can I use this server to configure devices inside CML labs?

    Yes. The server supports device authentication via PYATS_USERNAME, PYATS_PASSWORD, and PYATS_AUTH_PASS, allowing you to interact with and configure virtual devices running in your CML simulations.

  • What transport protocol does this server use?

    The CML MCP server uses stdio transport, meaning it communicates via standard input/output streams. This is compatible with MCP clients that support stdio-based connections.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground