rtuin/mcp-mermaid-validator

A Model Context Protocol server that validates and renders Mermaid diagrams.

45
/ 100
Emerging

Implements a `validateMermaid` tool that pipes diagram syntax to the Mermaid CLI via child processes, returning validation results and base64-encoded PNG renders. Built as a TypeScript Node.js service exposing tools through the MCP SDK, it integrates with MCP-compatible clients like Cursor and uses zod for schema validation. The architecture isolates rendering in separate processes, captures detailed error output, and handles cross-platform stdin/stdout portability (Linux/macOS/WSL/Windows).

No Package No Dependents
Maintenance 10 / 25
Adoption 8 / 25
Maturity 9 / 25
Community 18 / 25

How are scores calculated?

Stars

53

Forks

15

Language

JavaScript

License

MIT

Last pushed

Feb 27, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/rtuin/mcp-mermaid-validator"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.