Agentic Mermaid
io.github.adewale/agentic-mermaid
Serveur MCP OK 9 outils
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Fiche technique
- Auteur
- adewale (espace de noms du registre)
- Dépôt
- github.com/adewale/agentic-mermaid
- Site
- agentic-mermaid.dev
- Version
- 0.5.6
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://agentic-mermaid.dev/mcp Streamable HTTP
- Paquets
- agentic-mermaid 0.5.6 npm stdio
- Outils
- 9
- Catégories
- —
- Dernière mise à jour
- 2 nov. 2026
- Publication
- 2 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.adewale/agentic-mermaid)<a href="https://latlas.dev/mcp/io.github.adewale/agentic-mermaid"><img src="https://latlas.dev/badge/fiche/io.github.adewale/agentic-mermaid.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://agentic-mermaid.dev/mcp
- Dernier résultat
- OK 28 nov. 2026, 09:32
- Temps de réponse
- 908 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- agentic-mermaid-hosted 0.5.6
- Outils
- 9
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 09:32 | OK | 908 ms | 9 |
Outils exposés (9, réponse à tools/list, 28 nov. 2026)
execute
Execute Mermaid SDK code
Run 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'|'pie'|'quadrant'|'gantt'|'mindmap'|'gitgraph'|'radar'|'sankey'|'c4'|'packet'|'kanban'|'requirement'|'treemap'|'ishikawa'|'block'|'eventmodeling'|'zenuml' type MutationOp={kind:string;[field:string]:unknown} type Result ={ok:true;value:T}|{ok:false;error:E} type ExternalFamilyId=`family:${string}`;interface SourceLocation{readonly line:number;readonly col:number;}interface SourceMap{readonly nodes:ReadonlyMap ;readonly edges:ReadonlyMap ;readonly groups:ReadonlyMap ;readonly labels:ReadonlyMap ;readonly spans?:SourceMapSpans;}interface SourceMapSpans{readonly preserved:PreservedSourceSpans;readonly nodes:ReadonlyMap ;readonly edges:ReadonlyMap ;readonly groups:ReadonlyMap ;readonly labels:ReadonlyMap ;readonly metadata?:ReadonlyMap >;}interface PreservedSourceSpans{readonly source:SourceSpan;readonly wrapper?:SourceSpan;readonly frontmatter?:SourceSpan;readonly initDirectives?:readonly SourceSpan[];readonly accessibilityDirectives?:readonly SourceSpan[];readonly header:SourceSpan;readonly body:SourceSpan;}interface SourceSpan{readonly start:SourceSpanPoint;readonly end:SourceSpanPoint;}interface SourceSpanPoint{readonly offset:number;readonly line:number;readonly col:number;}interface…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| code | string | oui | JavaScript to execute; mermaid.* SDK is global. |
| timeoutMs | integer | non | Optional CPU-time budget (default 5000ms, max 30000ms). |
describe_sdk
Describe Mermaid SDK operations
Return 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 constraints. Call this before build, mutate, or execute when the family schema is not already known.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| capability | enum: "resolved-scene" | non | Read-only rendering capability; use instead of family. |
| family | enum: "flowchart" | "state" | "sequence" | "timeline" | "class" | "er" | "journey" | "architecture" … | non | Diagram family whose mutation operations are needed. |
| detail | enum: "signatures" | "fields" | non | signatures for a compact menu; fields for the complete schema (default). |
render_svg
Render Mermaid as 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | oui | Mermaid source. |
| options | object | non | Shared advanced RenderOptions object. Styles accept a registered Look (crisp, hand-drawn, excalidraw, pen-and-ink, freehand, watercolor, blueprint, look:tufte, accessible-high-contrast, patent-drawing, status-dashboard, ops-schematic, chalkboard, risograph, architectural-plan, publication-figure),… |
render_ascii
Render Mermaid as text
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | oui | Mermaid source. |
| useAscii | boolean | non | true = ASCII characters, false = Unicode (default). |
| targetWidth | integer | non | Hard maximum line width in terminal display cells. |
| options | object | non | Shared advanced RenderOptions object, including style/palette/config/security. |
render_png
Render Mermaid as 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 server.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | oui | Mermaid source. |
| scale | number | non | Positive output scale used when no fitTo constraint is supplied. |
| background | string | non | Portable basic color or hex color painted behind the raster artifact. |
| fitTo | object | non | Exactly one output width or height constraint. |
| minLabelPx | number | non | Legibility floor in effective px: the render warns (BELOW_READABLE_SIZE) when fitTo/scale rasterizes the smallest configured text below it. 0 disables. |
| options | object | non | Shared advanced RenderOptions object. |
verify
Verify Mermaid diagram
Parse 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 description — check them: ok:true only means the diagram is structurally valid, not that it is the kind you intended. Warnings use the layout-rubric codes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | oui | Mermaid source. |
describe
Describe Mermaid diagram
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()).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | oui | Mermaid source. |
| format | enum: "text" | "json" | "facts" | non | text (default), json AX tree, or facts semantic read-back. |
mutate
Edit Mermaid diagram
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, source, verify:{ ok, warnings } } on success, or { ok:false, family, opIndex, error } — where `error` names the offending field and lists the valid ones — when an op is malformed or cannot apply. Ops apply in order and are all-or-nothing: the first failing op stops the batch (its position is `opIndex`) and the input is left untouched. Each op is { "kind": , …fields }. Call `describe_sdk` for the detected family before authoring unfamiliar ops; it returns compact signatures or exact field types, enum values, defaults, and constraints. Set mode to source-preserving for supported edits to opaque Class or Flowchart source. Exact edited bytes and portability warnings are retained; unsupported operations still fail atomically. This mode does not promise portable export.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | oui | Mermaid source to edit. |
| ops | array<object> | oui | Non-empty ordered list of edit ops; each is { kind, ...fields }. |
| mode | enum: "structured" | "source-preserving" | non | Source-preserving mode edits owned source ranges without regenerating unsupported syntax. |
build
Build Mermaid diagram
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 the family before authoring unfamiliar ops.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| family | string | oui | Diagram family to author (one of: zenuml, eventmodeling, flowchart, state, sequence, timeline, class, er, journey, architecture, xychart, pie, quadrant, gantt, mindmap, gitgraph, radar, sankey, c4, packet, kanban, requirement, treemap, ishikawa, block). |
| ops | array<object> | oui | Non-empty ordered list of ops; each is { kind, ...fields }. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://agentic-mermaid.dev/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http agentic-mermaid https://agentic-mermaid.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : agentic-mermaid ; URL : https://agentic-mermaid.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : agentic-mermaid ; Server URL : https://agentic-mermaid.dev/mcp ; Create as a plugin{
"mcpServers": {
"agentic-mermaid": {
"url": "https://agentic-mermaid.dev/mcp"
}
}
}{
"mcpServers": {
"agentic-mermaid": {
"type": "http",
"url": "https://agentic-mermaid.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"agentic-mermaid": {
"url": "https://agentic-mermaid.dev/mcp"
}
}
}{
"mcpServers": {
"agentic-mermaid": {
"httpUrl": "https://agentic-mermaid.dev/mcp"
}
}
}[mcp_servers.agentic-mermaid]
url = "https://agentic-mermaid.dev/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Agentic Mermaid · L’Atlas · Test du
[Agentic Mermaid — L’Atlas](https://latlas.dev/mcp/io.github.adewale/agentic-mermaid)Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.