Agentic Mermaid
io.github.adewale/agentic-mermaid
MCP server OK 9 tools
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Technical sheet
- Author
- adewale (registry namespace)
- Repository
- github.com/adewale/agentic-mermaid
- Site
- agentic-mermaid.dev
- Version
- 0.5.6
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://agentic-mermaid.dev/mcp Streamable HTTP
- Packages
- agentic-mermaid 0.5.6 npm stdio
- Tools
- 9
- Categories
- —
- Last updated
- 2 Nov 2026
- Published
- 2 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.adewale/agentic-mermaid)<a href="https://latlas.dev/en/mcp/io.github.adewale/agentic-mermaid"><img src="https://latlas.dev/badge/statut/mcp/io.github.adewale/agentic-mermaid.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.adewale/agentic-mermaid)<a href="https://latlas.dev/en/mcp/io.github.adewale/agentic-mermaid"><img src="https://latlas.dev/badge/fiche/io.github.adewale/agentic-mermaid.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://agentic-mermaid.dev/mcp
- Last result
- OK 28 Nov 2026, 09:32
- Response time
- 908 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- agentic-mermaid-hosted 0.5.6
- Tools
- 9
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:32 | OK | 908 ms | 9 |
Exposed tools (9, from 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…
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | yes | JavaScript to execute; mermaid.* SDK is global. |
| timeoutMs | integer | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| capability | enum: "resolved-scene" | no | Read-only rendering capability; use instead of family. |
| family | enum: "flowchart" | "state" | "sequence" | "timeline" | "class" | "er" | "journey" | "architecture" … | no | Diagram family whose mutation operations are needed. |
| detail | enum: "signatures" | "fields" | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source | string | yes | Mermaid source. |
| options | object | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source | string | yes | Mermaid source. |
| useAscii | boolean | no | true = ASCII characters, false = Unicode (default). |
| targetWidth | integer | no | Hard maximum line width in terminal display cells. |
| options | object | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source | string | yes | Mermaid source. |
| scale | number | no | Positive output scale used when no fitTo constraint is supplied. |
| background | string | no | Portable basic color or hex color painted behind the raster artifact. |
| fitTo | object | no | Exactly one output width or height constraint. |
| minLabelPx | number | no | 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 | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source | string | yes | 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()).
| Parameter | Type | Required | Description |
|---|---|---|---|
| source | string | yes | Mermaid source. |
| format | enum: "text" | "json" | "facts" | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| source | string | yes | Mermaid source to edit. |
| ops | array<object> | yes | Non-empty ordered list of edit ops; each is { kind, ...fields }. |
| mode | enum: "structured" | "source-preserving" | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| family | string | yes | 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> | yes | Non-empty ordered list of ops; each is { kind, ...fields }. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://agentic-mermaid.dev/mcp. Formats taken from each client’s documentation.
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"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Agentic Mermaid · L’Atlas · Tested on
[Agentic Mermaid — L’Atlas](https://latlas.dev/en/mcp/io.github.adewale/agentic-mermaid)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.