mcp-diagram

mcp-diagram

1

MCP-Diagram is a server application that facilitates the generation of various types of diagrams through simple textual descriptions as inputs for AI assistants like Claude. It supports multiple diagram formats including architecture, UML, and timelines, making it a versatile tool for visual representations.

MCP-Diagram

An MCP (Model-Client-Protocol) server for easily generating diagrams from textual descriptions in Claude and other AI assistants.

Features

  • Architecture diagrams (D2Lang and Mermaid)
  • UML class diagrams (Mermaid)
  • Entity-Relationship diagrams (Mermaid)
  • Sequence diagrams (Mermaid)
  • Gantt diagrams (Mermaid)
  • Mind maps (Mermaid)
  • Timelines (Mermaid)

Prerequisites

  • Java Runtime Environment (JRE) 17 or higher
  • Claude Desktop installed

Installation

  1. Download the MCP server JAR file.
  2. Configure Claude Desktop by editing claude_desktop_config.json to include the server.

Usage

Once configured, request diagram creation from Claude by description. The MCP server handles the rest.

Troubleshooting

The MCP server does not start

  • Check Java is installed correctly.
  • Ensure the JAR path is correct in your configuration.

Diagrams do not display

  • Ensure the browser can access the Internet.