Agentic Mermaid

io.github.adewale/agentic-mermaid · v0.5.6 · design

Agentic Mermaid is healthy: it completed an MCP handshake in 648 ms and exposes 9 tools.

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

Endpoint: https://agentic-mermaid.dev/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count9
Latency648 ms
Last checked (UTC)2026-11-30T22:50:18.237Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T22:50:18.237ZHealthy648
2026-11-28T13:00:15.515ZHealthy1393
2026-11-26T05:05:23.171ZHealthy2336
2026-11-23T22:45:59.097ZHealthy2025
2026-11-21T18:35:27.996ZHealthy1896
2026-11-19T15:55:10.462ZHealthy2251
2026-11-17T14:10:32.646ZHealthy1376
2026-11-15T14:00:41.403ZHealthy625
2026-11-13T15:05:58.636ZHealthy2301
2026-11-11T17:10:34.323ZHealthy1629
2026-11-09T20:20:34.450ZHealthy2361
2026-11-08T00:55:18.888ZHealthy1559
2026-11-06T06:35:45.402ZHealthy1858
2026-11-04T12:55:45.520ZHealthy5802
2026-11-02T20:20:25.601ZHealthy2656
2026-11-01T04:45:26.013ZHealthy856
2026-10-30T14:15:39.714ZHealthy1254
2026-10-29T00:25:15.532ZHealthy1394
2026-10-27T11:00:18.511ZHealthy2228
2026-10-25T22:55:13.297ZHealthy1518

Tools (9)

executeRun JavaScript in an isolated sandbox; return a value. No promises, async/await, dynamic import, or type annotations. SVG/ASCII/layout enforce security:'strict', embedFontImport:false. SDK: type DiagramKind='flowchart'|'state'|'sequence'|'timeline'|'class'|'er'|'journey'|'architecture'|'xychart'|'p
describe_sdkReturn version-matched mutation operations for one diagram family, or use capability=resolved-scene for painted geometry, runtime limits and typed errors. Use detail=signatures for the compact op menu or detail=fields (default) for exact field types, required flags, enum values, defaults, and constr
render_svgRender a Mermaid source string to themeable SVG. Returns { ok, svg }. Layout is deterministic: identical input produces identical geometry. The hosted boundary forces security:'strict' and embedFontImport:false.
render_asciiRender a Mermaid source string to text. Returns { ok, text }. useAscii true → plain ASCII (+,-,|); false/absent → Unicode box drawing (┌,─,│). targetWidth sets a hard terminal display-cell bound; impossible bounds return a typed error.
render_pngRasterize 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 PNG is a convenience surface, not part of the byte-determinism contract. For file/URL artifacts use the local stdio serv
verifyParse and verify source, structure, and renderability. This runs the graphical pipeline. Returns { ok, family, summary, warnings, layout: { bounds, nodes, edges } } for valid diagrams and { ok: false, errors } for parse failures. `family` is the detected diagram family and `summary` a one-line descr
describeDescribe 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 } with deterministic semantic fact lines for machine checking (for example edge A -> B : label, member Duck +quack()).
mutateApply 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, no sandbox. Prefer it for straightforward edits; reserve `execute` for logic the ops don't express. Returns { ok, family
buildAuthor 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 envelope as `mutate`: { ok, family, source, verify } or { ok:false, family, opIndex, error }. Call `describe_sdk` for th