diagram-generator

Generate and edit drawio, mermaid, and excalidraw diagrams via an MCP server.

1|1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xianmingyao/openclaw-CaySon --skill diagram-generator-xianmingyao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagram-generator
Source: https://github.com/xianmingyao/openclaw-CaySon/tree/main/skills/diagram-generator
Command: npx skills add https://github.com/xianmingyao/openclaw-CaySon --skill diagram-generator-xianmingyao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Diagram generation and editing across multiple formats (drawio, mermaid, and excalidraw) without manual boilerplate, using a centralized server to standardize outputs and reduce token usage.

Core Features & Use Cases

  • Supports common diagram types (flowcharts, sequence diagrams, class diagrams, ER diagrams, mind maps, architecture diagrams, and network topologies).
  • Generates, validates, and saves diagrams via the MCP server with default output paths and customizable options.
  • Integrates with an MCP server to minimize token consumption and ensure consistent formatting.

Quick Start

Describe your diagram in plain language and run the generator to produce and save the diagram to the configured output location.

Frequently Asked Questions about diagram-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate network topology diagrams automatically from text?

You can generate network topology diagrams by describing the structure in plain language, which compiles into a structured spec and delegates file creation to the MCP server, outputting drawio, mermaid, or excalidraw formats.

Do I need an MCP server installed to create drawio and mermaid diagrams?

Yes, generating and editing drawio and mermaid diagrams requires the mcp-diagram-generator server to be installed and configured to validate JSON schemas and handle file creation.

Can I automate architecture diagram generation without writing manual boilerplate?

Automating architecture diagram generation is possible by compiling a structured diagram spec and delegating output to the MCP server, which standardizes formatting and reduces token usage without manual boilerplate.

What is the best way to create complex diagrams with nested containers across multiple formats?

To create complex diagrams with nested containers across drawio, mermaid, and excalidraw, use a centralized MCP server to validate the JSON schema and automatically create missing output directories.

How do I customize the output path when saving an excalidraw diagram?

You can customize the output path for excalidraw diagrams by specifying the path in your diagram spec, and the MCP server will automatically create the output directory if it is missing.