---
canonical_url: "https://docs.composio.dev/toolkits/mermaid_chart_mcp"
markdown_url: "https://docs.composio.dev/toolkits/mermaid_chart_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Mermaid Chart MCP

Validates Mermaid syntax, renders diagrams as high-quality SVG, and displays them in an interactive UI for preview, zoom, and real-time iteration.

- **Category:** images & design
- **Auth:** NO_AUTH
- **Composio-managed OAuth available?** N/A
- **Tools:** 1
- **Triggers:** 0
- **Slug:** `MERMAID_CHART_MCP`
- **Version:** 20260913_00

## Tools

### Validate and render mermaid diagram

**Slug:** `MERMAID_CHART_MCP_VALIDATE_AND_RENDER_MERMAID_DIAGRAM`


Use this tool to output a Mermaid diagram:
- The tool will validate the diagram syntax and render it to a UI widget.
- The widget will contain the diagram code, a "Copy Code" button, and a rendered diagram.
- If the diagram is invalid, the widget will give user a link to repair the diagram in Mermaid.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | Optional title for the diagram |
| `diagramCode` | string | Yes | The Mermaid diagram code to validate and render |
