XC

xorrkaz/cml-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

78 stars 44 forks 品質 86 トレンド 34BSD-2-Clause

xorrkaz/cml-mcp は [https://github.com/xorrkaz/cml-mcp.] からインポートされた MCP サーバー候補です

概要

xorrkaz/cml-mcp は [https://github.com/xorrkaz/cml-mcp.] からインポートされた MCP サーバー候補です

概要(AI 翻訳)

mcp-name: io.github.xorrkaz/cml-mcp

概要

[[cml-mcp]は、AIアシスタントをネットワークラボに活かします! このツールは、Claude Desktop、Claude Code、CursorなどのAIアプリケーションを介して自然言語を使用してCisco Modeling Labs(CML)と相互作用することができます。

メニューをクリックするか、スクリプトを記述するのではなく、「OSPFを2つのルータで新しいラボを作成する」や「Route1で実行中のコンフィグを表示する」など、プレーン・イングリッシュで何をしたいのかをAIに伝え、自動的に確認します。

これは、AIアプリケーションが外部ツールやサービスと相互作用するための標準的な方法であるモデルコンテキストプロトコル(MCP)によって達成されます。 あなたのAIアシスタントにCMLサーバーへの直接接続を与えるように考えてください。

##特徴

  • 実験室のトポロジーを作成して下さい: ツールは、新しいラボを作成し、ネットワークトポロジーをゼロから定義したり、完全なトポロジー定義を使用して定義します。
  • 照会の状態: ラボ、ノード、リンク、アノテーション、およびCMLサーバー自体の詳細なステータス情報を取得するためのツール。
  • コントロールラボとノード: ラボや個々のノードを必要に応じて起動、停止、消去するツール.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Model Context Protocol (MCP) Server for Cisco Modeling Labs (CML)

mcp-name: io.github.xorrkaz/cml-mcp

Overview

cml-mcp brings the power of AI assistants to your network lab! This tool allows you to interact with Cisco Modeling Labs (CML) using natural language through AI applications like Claude Desktop, Claude Code, and Cursor.

Instead of clicking through menus or writing scripts, simply tell the AI what you want to do in plain English—like “Create a new lab with two routers and configure OSPF” or “Show me the running config on Router1”—and watch it happen automatically.

This is accomplished through the Model Context Protocol (MCP), a standard way for AI applications to interact with external tools and services. Think of it as giving your AI assistant a direct connection to your CML server.

Features

  • Create Lab Topologies: Tools to create new labs and define network topologies from scratch or using full topology definitions.
  • Query Status: Tools to retrieve detailed status information for labs, nodes, links, annotations, and the CML server itself.
  • Control Labs and Nodes: Tools to start, stop, and wipe labs or individual nodes as needed.
  • Manage CML Users and Groups: Tools to list, create, and delete local users and groups (requires admin privileges).
  • Visual Annotations: Add visual elements (text, rectangles, ellipses, lines) to lab topologies for documentation and organization.
  • Link Management: Connect nodes, configure link conditioning (bandwidth, latency, jitter, loss), and control link states.
  • Packet Capture: Start, stop, and retrieve packet captures (PCAP) from network links for traffic analysis with Wireshark or other tools.
  • Node Configuration: Configure node startup configurations and send CLI commands to running devices.
  • Run Commands on Devices: Using PyATS, MCP clients can execute commands on virtual devices within CML labs.
  • Console Log Access: Retrieve console logs from running nodes for troubleshooting and monitoring, with support for selecting specific serial console ports.
  • Modular Architecture: Tools are organized into logical modules (labs, nodes, links, pcap, etc.) for maintainability and extensibility.
  • Access Control Lists (HTTP Mode): When running in HTTP transport mode, you can restrict which users can access which tools using a YAML-based ACL configuration file.
  • Observability: Optional OpenTelemetry tracing exports spans for every tool call to any OTLP-compatible backend (Jaeger, Grafana Tempo, Datadog, etc.).
GitHub で README 全文を見る

インストール

uvx cml-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "Cisco Modeling Labs CML": { "type": "stdio", "command": "uvx", "args": [ "cml-mcp" ], "env": { "CML_URL": "{CML_URL}", "CML_USERNAME": "{CML_USERNAME}", "CML_PASSWORD": "{CML_PASSWORD}!", "CML_VERIFY_SSL": "true" } } } }