
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A TypeScript MCP server that validates Mermaid diagram syntax and returns a rendered PNG when the diagram is valid.
MCP Mermaid Validator server is cataloged as an MCP server attributed to rtuin. A TypeScript MCP server that validates Mermaid diagram syntax and returns a rendered PNG when the diagram is valid. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Mermaid Validator server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It returns a text confirmation that the diagram is valid along with a base64-encoded PNG image.
PNG is the default output format to improve compatibility with most MCP clients, particularly Cursor, which does not support SVG.
README.md · be04e7a0a4ba · 采集于 2026-11-13 08:50:22 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol server that validates and renders Mermaid diagrams. This server enables LLMs to validate and render Mermaid diagrams.
You can configure your MCP client to use the Mermaid Validator by adding it to your mcp servers file:
{
"mcpServers": {
"mermaid-validator": {
"command": "npx",
"args": [
"-y",
"@rtuin/mcp-mermaid-validator@latest"
]
}
}
}
This project is structured as a simple TypeScript Node.js application that:
mcp-mermaid-validator/
├── dist/ # Compiled JavaScript output
│ └── main.js # Compiled main application
├── src/ # TypeScript source code
│ └── main.ts # Main application entry point
├── node_modules/ # Dependencies
├── package.json # Project dependencies and scripts
├── package-lock.json # Dependency lock file
├── tsconfig.json # TypeScript configuration
├── eslint.config.js # ESLint configuration
├── .prettierrc # Prettier configuration
└── README.md # Project documentation
The core functionality is implemented in src/main.ts. This component:
validateMermaid tool that accepts Mermaid diagram syntaxPurpose: Validates a Mermaid diagram and returns the rendered PNG if valid
Parameters:
diagram (string): The Mermaid diagram syntax to validateReturn Value:
{
content: [
{
type: "text",
text: "Mermaid diagram is valid"
},
{
type: "image",
data: string, // Base64-encoded PNG
mimeType: "image/png"
}
]
}
{
content: [
{
type: "text",
text: "Mermaid diagram is invalid"
},
{
type: "text",
text: string // Error message
},
{
type: "text",
text: string // Detailed error output (if available)
}
]
}
MCP Integration: The project uses the Model Context Protocol to standardize the interface for AI tools, allowing seamless integration with compatible clients.
PNG Output Format: The implementation uses PNG as the default output format to ensure better compatibility with most MCP clients, particularly Cursor, which doesn't support SVG.
Child Process Approach: The implementation uses Node.js child processes to interact with the Mermaid CLI, which provides:
Error Handling Strategy: The implementation uses a nested try-catch structure to:
Simple Project Structure: The project uses a straightforward TypeScript project structure for:
The application can be built and run using npm scripts:
# Install dependencies
npm install
# Build the application
npm run build
# Run locally (for development)
npx @modelcontextprotocol/inspector node dist/main.js
# Format code
npm run format
# Lint code
npm run lint
# Watch for changes (development)
npm run watch
The application runs as an MCP server that communicates via standard input/output, making it suitable for integration with MCP-compatible clients.
To release a new version, the following steps in order:
npm run buildnpm run bumpnpm run changelognpm publish --access public/dev/stdin, which can fail on WSL with ENXIO. This server now uses - for stdin/stdout (-i - / -o -) to be portable across Linux/macOS/WSL/Windows.npx @modelcontextprotocol/inspector npx -y @rtuin/mcp-mermaid-validator@latest or use an absolute path to dist/main.js).Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Mermaid Validator server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mermaid-validator)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.