Mermaid Doc MCP Server
by moritalous
Mermaid Doc MCP Server is a server designed for generating Mermaid documents. It provides functionalities to list available diagrams and retrieve documentation for specific diagrams.
View on GitHub
Last updated: N/A
Mermaid Doc MCP Server
Mermaid Doc MCP Server is a server for generating Mermaid documents.
Features
- List Diagrams: List all available Mermaid diagram names in the documentation.
- Retrieve Documentation: Retrieve the documentation content for a specific Mermaid diagram.
Prerequisites
Installation Requirements
- Install uvfrom Astral or the GitHub README
- Install Python 3.10 or newer using uv python install 3.10(or a more recent version)
Installation
To add this MCP server to your Amazon Q or Claude, add the following to your MCP config file. With Amazon Q, create (if does not yet exist) a file named .amazonq/mcp.json under the same directory that is running q chat. Then add the following config:
{
  "mcpServers": {
    "mermaid-doc-mcp-server": {
        "command": "uvx",
        "args": ["mermaid-doc-mcp-server@latest"]
    }
  }
}
Tools
list_diagrams
List all available Mermaid diagram names in the documentation.
def list_diagrams() -> list:
get_diagram_doc
Retrieve the documentation content for a specific Mermaid diagram.
def get_diagram_doc(diagram_name: str) -> str:
