MCP-Diagram
by tenpigs267
MCP-Diagram is an MCP (Model-Client-Protocol) server that allows you to easily generate diagrams from text descriptions in Claude and other AI assistants. It supports various diagram types, making it simple to visualize ideas and architectures.
Last updated: N/A
What is MCP-Diagram?
MCP-Diagram is a server that integrates with AI assistants like Claude to generate diagrams from text descriptions. It acts as a bridge, taking textual input and converting it into visual representations using diagramming languages like D2Lang and Mermaid.
How to use MCP-Diagram?
- Download the JAR file from the latest release.
- Configure Claude Desktop by adding the server to your
claude_desktop_config.json
file, specifying the path to the JAR file. - Once configured, ask Claude to create diagrams by describing what you want. The MCP server will handle the diagram generation.
Key features of MCP-Diagram
Generates diagrams from text descriptions
Supports D2Lang and Mermaid diagramming languages
Creates various diagram types (architecture, UML, ER, sequence, Gantt, mind maps, timelines)
Integrates with Claude and other AI assistants
Use cases of MCP-Diagram
Visualizing software architectures
Creating UML class diagrams
Generating entity-relationship diagrams
Designing sequence diagrams
Planning projects with Gantt charts
Brainstorming with mind maps
Creating timelines for historical events or project milestones
FAQ from MCP-Diagram
What are the prerequisites for using MCP-Diagram?
What are the prerequisites for using MCP-Diagram?
You need Java Runtime Environment (JRE) 17 or higher and Claude Desktop installed for integration.
How do I install MCP-Diagram?
How do I install MCP-Diagram?
Download the JAR file from the latest release and configure Claude Desktop by adding the server to your claude_desktop_config.json
file.
The MCP server is not starting. What should I do?
The MCP server is not starting. What should I do?
Verify that Java version 17 or higher is correctly installed (java -version
). Ensure the path to the JAR file is correct in your configuration and that the JAR file has the permission to execute.
The diagrams are not displaying. What could be the issue?
The diagrams are not displaying. What could be the issue?
Check that your browser can access the internet and that the generated URLs are not blocked by a firewall.
What diagram types are supported?
What diagram types are supported?
MCP-Diagram supports architecture diagrams (D2Lang and Mermaid), UML class diagrams (Mermaid), entity-relationship diagrams (Mermaid), sequence diagrams (Mermaid), Gantt charts (Mermaid), mind maps (Mermaid), and timelines (Mermaid).