mcpserver.lol
registry/agentic-mermaid
Connection check verified live · 27h ago

agentic-mermaid

Render, verify, describe, and safely edit Mermaid diagrams through MCP.

Tools 9
GitHub stars
Installs / wk 213
Licence
Transport streamable-http, stdio
Last checked 27h ago

Tools & capabilities

9 tools

Read from the running server on 27h ago.

build read-only ops*family*
Author a new Mermaid diagram from blank by folding a list of structured ops over an empty diagram of `family`. The declarative counterpart to hand-writing source. Returns the same…
describe read-only formatsource*
Describe a Mermaid diagram. format=text returns { ok, text } with one or two summary sentences; format=json returns { ok, tree } with the AX tree; format=facts returns { ok, facts…
describe_sdk read-only detailfamily*
Return version-matched mutation operations for one diagram family. Use detail=signatures for the compact op menu or detail=fields (default) for exact field types, required flags, e…
execute read-only code*timeoutMs
Run JavaScript in an isolated sandbox; return a value. One call composes edits. Submit JavaScript; declaration types are guidance. No promises, async/await, dynamic import, or type…
mutate read-only ops*source*
Apply a list of structured edit ops to an existing Mermaid `source` and return the edited diagram. This is the declarative counterpart to `execute`: plain JSON in, plain JSON out,…
render_ascii read-only source*optionsuseAsciitargetWidth
Render a Mermaid source string to text. Returns { ok, text }. useAscii true → plain ASCII (+,-,|); false/absent → Unicode box drawing (┌,─,│). targetWidth sets a hard terminal disp…
render_png read-only fitToscalesource*optionsbackground
Rasterize a Mermaid source string to PNG. Returns { ok, png_base64 }. Hosted rendering uses resvg-wasm with bundled fonts; bytes may differ from the local napi renderer, so hosted…
render_svg read-only source*options
Render a Mermaid source string to themeable SVG. Returns { ok, svg }. Layout is deterministic: identical input produces identical geometry. The hosted boundary forces security:'str…
verify read-only source*
Parse and verify a Mermaid diagram without rendering it. Returns { ok, family, summary, warnings, layout: { bounds, nodes, edges } } for valid diagrams and { ok: false, errors } fo…