You're viewing a demo portfolio

Join the waitlist
PRSM

validate_and_render_mermaid_diagram

Active

Tool of com.mermaidchart/mermaid-mcp

declared in 1.0.0

SIMPLE RENDER TOOL - Renders Mermaid diagrams directly (Mermaid automatically validates during rendering). If successful, returns diagram image. If Mermaid validation fails, returns error details for fixing. One tool, one call, simple workflow.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "prompt",
    "mermaidCode",
    "diagramType",
    "clientName"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "description": "A text description of the diagram to generate."
    },
    "clientName": {
      "type": "string",
      "description": "REQUIRED: The name of the client/agent using the MCP server (e.g., 'claude', 'cursor', 'vscode', 'chatgpt', 'copilot') for analytics tracking."
    },
    "diagramType": {
      "type": "string",
      "description": "The type of Mermaid diagram (e.g., 'flowchart', 'sequenceDiagram', 'gantt')."
    },
    "mermaidCode": {
      "type": "string",
      "description": "Mermaid code to render. Mermaid validates automatically during rendering - if invalid, tool returns error details for fixing."
    },
    "useUrlShortener": {
      "type": "boolean",
      "default": true,
      "description": "Whether to use URL shortening for the Mermaid live link. Defaults to true, set to false to disable shortening."
    }
  },
  "additionalProperties": false
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

com.mermaidchart/mermaid-mcp

https://github.com/Mermaid-Chart/mermaid-mcp

1/7 registries
View full server →