<img src="https://mermaid.js.org/favicon.svg" height="24"/> Mermaid Grammer Inspector
A Model Context Protocol (MCP) server for validating Mermaid diagram syntax and providing comprehensive grammar checking capabilities
Usage
Install the package:
<!-- automd:pm-install global auto=false --># npm
npm installg @bjmhe/mermaid-grammer-inspector-mcp
# yarn
yarn addg @bjmhe/mermaid-grammer-inspector-mcp
# pnpm
pnpm addg @bjmhe/mermaid-grammer-inspector-mcp
# bun
bun installg @bjmhe/mermaid-grammer-inspector-mcp
# deno
deno installg npm:@bjmhe/mermaid-grammer-inspector-mcp
# vp
vp installg @bjmhe/mermaid-grammer-inspector-mcpNPX Cursor Config
{
"mcpServers": {
"mermaid-grammer-inspector": {
"command": "npx",
"type": "stdio",
"transportType": "stdio",
"args": ["-y", "mermaid-grammer-inspector"]
}
}
}Http Cursor Config
start the service locally
mermaid-grammer-inspector --http --port=4000set the config
{
"mcpServers": {
"mermaid-grammer-inspector": {
"url": "http://0.0.0.0:4000/sse",
"type": "sse",
"transportType": "sse"
}
}
}License
<!-- automd:contributors license=MIT -->Published under the MIT license. Made by community 💛 <br><br> <a href="https://github.com/bjmhe-archived/mermaid-grammer-inspector-mcp/graphs/contributors"> <img src="https://contrib.rocks/image?repo=bjmhe-archived/mermaid-grammer-inspector-mcp" /> </a>
<!-- /automd --> <!-- automd:with-automd -->🤖 auto updated with automd
<!-- /automd -->