L'Atlas / MCP servers / Agentic Mermaid
MCP server

Agentic Mermaid

io.github.adewale/agentic-mermaid

MCP server OK 9 tools

Get a review See pricing

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

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.adewale/agentic-mermaid.svg?lang=en)](https://latlas.dev/en/mcp/io.github.adewale/agentic-mermaid)
HTML
<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

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.adewale/agentic-mermaid.svg?lang=en)](https://latlas.dev/en/mcp/io.github.adewale/agentic-mermaid)
HTML
<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

DateResultResponseTools
28 Nov 2026, 09:32OK908 ms9

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…

ParameterTypeRequiredDescription
codestringyesJavaScript to execute; mermaid.* SDK is global.
timeoutMsintegernoOptional 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.

ParameterTypeRequiredDescription
capabilityenum: "resolved-scene"noRead-only rendering capability; use instead of family.
familyenum: "flowchart" | "state" | "sequence" | "timeline" | "class" | "er" | "journey" | "architecture" …noDiagram family whose mutation operations are needed.
detailenum: "signatures" | "fields"nosignatures 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.

ParameterTypeRequiredDescription
sourcestringyesMermaid source.
optionsobjectnoShared 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.

ParameterTypeRequiredDescription
sourcestringyesMermaid source.
useAsciibooleannotrue = ASCII characters, false = Unicode (default).
targetWidthintegernoHard maximum line width in terminal display cells.
optionsobjectnoShared 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.

ParameterTypeRequiredDescription
sourcestringyesMermaid source.
scalenumbernoPositive output scale used when no fitTo constraint is supplied.
backgroundstringnoPortable basic color or hex color painted behind the raster artifact.
fitToobjectnoExactly one output width or height constraint.
minLabelPxnumbernoLegibility floor in effective px: the render warns (BELOW_READABLE_SIZE) when fitTo/scale rasterizes the smallest configured text below it. 0 disables.
optionsobjectnoShared 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.

ParameterTypeRequiredDescription
sourcestringyesMermaid 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()).

ParameterTypeRequiredDescription
sourcestringyesMermaid source.
formatenum: "text" | "json" | "facts"notext (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.

ParameterTypeRequiredDescription
sourcestringyesMermaid source to edit.
opsarray<object>yesNon-empty ordered list of edit ops; each is { kind, ...fields }.
modeenum: "structured" | "source-preserving"noSource-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.

ParameterTypeRequiredDescription
familystringyesDiagram 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).
opsarray<object>yesNon-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.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://agentic-mermaid.dev/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http agentic-mermaid https://agentic-mermaid.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : agentic-mermaid ; URL : https://agentic-mermaid.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : agentic-mermaid ; Server URL : https://agentic-mermaid.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "agentic-mermaid": {
      "url": "https://agentic-mermaid.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "agentic-mermaid": {
      "type": "http",
      "url": "https://agentic-mermaid.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "agentic-mermaid": {
      "url": "https://agentic-mermaid.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "agentic-mermaid": {
      "httpUrl": "https://agentic-mermaid.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[Agentic Mermaid — L’Atlas](https://latlas.dev/en/mcp/io.github.adewale/agentic-mermaid)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.