Automated Network Diagrams with DrawIO and pyATS MCP
Infrastructure diagrams that draw themselves — in real time.
This video showcases a major breakthrough in network automation: a fully working Draw.io + pyATS MCP integration that moves beyond local scripts into a powerful, HTTP and WebSocket-enabled architecture.
✅ Automatically generate network topology diagrams using Cisco pyATS
✅ Diagrams update dynamically via Model Context Protocol (MCP)
✅ Fully HTTP-native: accessible via REST or WebSocket for CI/CD, ChatOps, and more
✅ Supports AI agents and automation pipelines (LangGraph, A2A, etc.)
By transitioning the Draw.io MCP from STDIO to HTTP/WebSocket, this system becomes language-agnostic, cloud-ready, and endlessly extensible. From auto-documenting infrastructure to embedding diagrams in Slack or GitHub Actions, this demo proves what's possible when visualization meets modern automation.
💡 Possibilities Unlocked:
Zero-touch network documentation
AI-driven, on-demand diagrams from natural language queries
Live topology views during CI/CD pipelines or incident response
ChatOps and portal integration via WebSocket-triggered diagrams
Seamless tool chaining in LangGraph and multi-agent workflows
📎 Project components include:
Cisco pyATS
Model Context Protocol (MCP)
Draw.io (draw.io)
Docker, WebSockets, REST APIs
LangChain / LangGraph for advanced AI workflows
Docker