hkopenai/diagram-as-code-mcp-server
If you are the rightful owner of diagram-as-code-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a comprehensive overview of the Document as Code MCP Server, which is designed to assist MCP clients in working with Mermaid.js diagrams.
The Document as Code MCP Server is a specialized server that facilitates the creation, validation, and correction of Mermaid.js diagrams for MCP clients. Large Language Models (LLMs) often struggle with outdated syntax and insufficient training data related to Mermaid.js, leading to errors in diagram creation. This server addresses these challenges by offering tools that ensure diagrams are correctly formatted and functional. By integrating this server, users can leverage its capabilities to enhance the accuracy and efficiency of their diagramming tasks. The server is easy to set up and can be run in different modes to suit various needs, making it a versatile tool for developers and technical writers who frequently work with Mermaid.js.
Features
- No Brackets Description: Provides prompts to avoid using brackets in descriptions.
- Mermaid.js Support: Assists in authoring, validating, and fixing Mermaid.js syntax.
- Multiple Running Modes: Offers stdio, SSE, and tool serving modes for flexibility.
- Cline Integration: Compatible with Cline MCP settings for seamless integration.
- Testing Support: Includes tests to ensure server functionality and reliability.
Usages
usage with cline
{ "hk-prompt-server": { "disabled": false, "timeout": 3, "type": "stdio", "command": "python", "args": [ "-m", "hkopenai.diagram_as_code_mcp_server", "--tool" ] } }