MCP.so
登录
服务器

MCP-Diagram

@tenpigs267

MCP server for diagramming

概览

What is MCP-Diagram?

MCP-Diagram is an MCP (Model-Client-Protocol) server that generates diagrams from textual descriptions inside Claude and other AI assistants. It supports multiple diagram types through D2Lang and Mermaid syntax, making it ideal for developers and architects who want to quickly visualize systems during AI conversations.

How to use MCP-Diagram?

Download the latest JAR file and add the server to your claude_desktop_config.json with the command java -jar path/to/mcp-diagram-X.Y.Z.jar. Once configured, simply ask Claude to create a diagram—the server handles generation and returns a viewable link.

Key features of MCP-Diagram

  • Architecture diagrams with D2Lang and Mermaid
  • UML class, Entity-Relation, sequence diagrams (Mermaid)
  • Gantt chart and timeline generation (Mermaid)
  • Mind map generation (Mermaid)
  • Eight distinct diagram functions available

Use cases of MCP-Diagram

  • Visualize software architectures (e.g., AWS cloud infrastructure)
  • Model class hierarchies and database schemas
  • Plan project timelines with Gantt charts
  • Brainstorm and organize ideas as mind maps
  • Document system interactions with sequence diagrams

FAQ from MCP-Diagram

What are the system requirements for MCP-Diagram?

Java Runtime Environment (JRE) 17 or higher is required. For integration with Claude, the Claude Desktop application must be installed.

How do I configure MCP-Diagram with Claude Desktop?

Add the server to claude_desktop_config.json with the command java -jar C:\PATH\TO\mcp-diagram-1.0.0.jar (Windows) or the equivalent Linux/macOS path. Ensure the JAR path is correct.

What diagram types does MCP-Diagram support?

It supports D2Lang complex diagrams and Mermaid diagrams: class, complex, Entity-Relation, Gantt, mind map, sequence, and timeline.

Why are my diagrams not displaying?

Make sure your browser can access the Internet and that generated URLs are not blocked by a firewall.

How do I troubleshoot startup issues?

Verify Java 17+ is installed (java -version), confirm the JAR path in the configuration is correct, and check that the JAR file has execute permissions.

来自「其他」的更多内容