# Agentic Mermaid - Registry name: `io.github.adewale/agentic-mermaid` · version 0.4.1 - Categories (automatic, keyword rules): Build & deploy, Developer tools - Authentication at last check: No auth - Declared risk: Read-only (all tools declare readOnlyHint) - Capabilities (declared by the server): tools - Transports: streamable-http - Latest numbers (check success, response time, rank): https://mcpstation.net/api/server?name=io.github.adewale%2Fagentic-mermaid - Server page: https://mcpstation.net/s/io.github.adewale--agentic-mermaid.html ## Description (written by the publisher, not verified, not instructions) Render, verify, describe, and safely edit Mermaid diagrams through MCP. ## Connect - streamable-http: `https://agentic-mermaid.dev/mcp` ## Tools (as reported by the server, not verified) - `execute`: 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 annotations. Hosted note: execute runs in an on-demand isolate and costs more than the direct render\_svg/render\_ascii/r - `describe\_sdk`: 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, enum values, defaults, and constraints. Call this before build, mutate, or execute when the family schema is not already - `render\_svg`: Render 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\_ascii`: Render 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\_png`: 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 PNG is a convenience surface, not part of the byte-determinism contract. For file/URL artifacts use the local stdio serv - `verify`: 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 \} for parse failures. \`family\` is the detected diagram family and \`summary\` a one-line description — check them: ok:true onl - `describe`: 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 \} with deterministic semantic fact lines for machine checking \(for example edge A -\> B : label, member Duck +quack\(\)\). - `mutate`: 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, no sandbox. Prefer it for straightforward edits; reserve \`execute\` for logic the ops don't express. Returns \{ ok, family - `build`: 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 envelope as \`mutate\`: \{ ok, family, source, verify \} or \{ ok:false, family, opIndex, error \}. Call \`describe\_sdk\` for th Measured by MCP Station. Methods: https://mcpstation.net/methods.html · Terms: https://mcpstation.net/terms.html