CO

cisco-open/network-sketcher

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

426 stars 25 forks 质量 84 趋势 22Apache-2.0

cisco-open/network-sketcher 是从 https://github.com/cisco-open/network-sketcher. 导入的 MCP 候选服务器

概览

cisco-open/network-sketcher 是从 https://github.com/cisco-open/network-sketcher. 导入的 MCP 候选服务器

概述(AI 翻译)

 

网络画家

Network Sketcher 是一款 AI 原生的网络设计和图表工具。它能从结构化网络数据和自然语言工作流程生成 L1/L2/L3 拓扑图、设备表和 AI 兼容的上下文文件。

对于MCP用户,Network Sketcher Local MCP允许像Cursor和Claude Code这样的LLM客户端通过Model Context Protocol工具调用直接设计思科风格的网络。它在本地运行于stdio,在你的机器上保存主文件,并生成SVG/PowerPoint图表以及HTML设备表。

如果Network Sketcher有助于你的工作流程,请考虑为仓库添加星号。

常见使用场景:

  • 从AI对话构建5站点WAN或校园局域网设计
  • 生成L1物理图、L2 VLAN/广播域和L3 IP拓扑图
  • 导出合并的L1/L2/L3 HTML查看器和交互设备表
  • 创建AI上下文文件,使其他LLM能够审查或扩展网络设计

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

 

Network Sketcher

Network Sketcher is an AI-native network design and diagramming tool. It generates L1/L2/L3 topology diagrams, device tables, and AI-ready context files from structured network data and natural-language workflows.

For MCP users, Network Sketcher Local MCP lets LLM clients such as Cursor and Claude Code design Cisco-style networks directly through Model Context Protocol tool calls. It runs locally over stdio, keeps master files on your machine, and produces SVG / PowerPoint diagrams plus HTML device tables.

If Network Sketcher helps your workflow, please consider starring the repository.

Common use cases:

  • Build a 5-site WAN or campus LAN design from an AI conversation
  • Generate L1 physical, L2 VLAN/broadcast-domain, and L3 IP topology diagrams
  • Export a combined L1/L2/L3 HTML viewer and an interactive device table
  • Create an AI Context file so another LLM can review or extend the network design
  • Import from live inventory: Use Network Sketcher Cisco Extension converters to turn ACI, Catalyst Center, Catalyst SD-WAN, Meraki, Nexus Dashboard, CML, Cyber Vision, SNA, NetBox exports, or config files (IOS / IOS-XE / NX-OS / IOS-XR / ASA) into CLI commands for any Network Sketcher edition

Quick Start: Local MCP in 3 Steps

The quickest way to try Network Sketcher with an AI agent is the Local MCP edition.

1. Install

git clone https://github.com/cisco-open/network-sketcher/
cd network-sketcher/network-sketcher_local_mcp
python -m pip install -r requirements_mcp.txt

2. Add it to your MCP client

For Cursor, add this to your MCP configuration:

{
  "mcpServers": {
    "network-sketcher": {
      "command": "python",
      "args": [
        "/path/to/network-sketcher/network-sketcher_local_mcp/ns_mcp_server.py"
      ]
    }
  }
}

For Claude Code:

claude mcp add network-sketcher -- python "/path/to/network-sketcher/network-sketcher_local_mcp/ns_mcp_server.py"

Replace /path/to/network-sketcher/ with your local clone path.

3. Ask your agent to build a network

Example prompt:

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "network-sketcher": { "command": "python", "args": [ "/path/to/network-sketcher/network-sketcher_local_mcp/ns_mcp_server.py" ] } } }