draw.io
io.draw/mcp
Serveur MCP OK 4 outils
Mermaid, PlantUML, CSV or XML in, editable draw.io diagrams out, live in chat. 10,000+ shapes.
Fiche technique
- Auteur
- draw.io (espace de noms du registre)
- Dépôt
- github.com/jgraph/drawio-mcp
- Site
- www.drawio.com
- Version
- 1.11.0
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mcp.draw.io/mcp Streamable HTTP
- Paquets
- @drawio/mcp 1.13.1 npm stdio
- Outils
- 4
- Catégories
- —
- Dernière mise à jour
- 23 nov. 2026
- Publication
- 23 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.draw/mcp)<a href="https://latlas.dev/mcp/io.draw/mcp"><img src="https://latlas.dev/badge/fiche/io.draw/mcp.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://mcp.draw.io/mcp
- Dernier résultat
- OK 28 nov. 2026, 09:43
- Temps de réponse
- 123 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- drawio-mcp-app 1.11.0
- Outils
- 4
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 09:43 | OK | 123 ms | 4 |
Outils exposés (4, réponse à tools/list, 28 nov. 2026)
create_diagram
Create Diagram
Send Mermaid, PlantUML or CSV and get back an editable, styled draw.io diagram with an edit link (syntax errors by line), or send draw.io XML you placed. Exactly one. **Choose the format first.** Use `xml` for diagrams of boxes and lines up to about 30 shapes: flowcharts, pipelines, decision trees, org charts, ER schemas, UML class, state and use case diagrams, mind maps, timelines, architecture, cloud and network diagrams, swimlanes, UI mockups, floor plans and anything with stencils. You place every shape yourself, laid out for the chat view (see the XML reference). Use `mermaid` for sequenceDiagram, gantt, gitGraph, pie, journey, quadrantChart, xychart-beta, sankey-beta, requirementDiagram, C4Context/C4Container/C4Component, block-beta, packet-beta, kanban, radar-beta, treemap-beta, treeView-beta, venn-beta, ishikawa-beta, zenuml, wardley-beta, eventmodeling, and for flowcharts, class and state diagrams of more than about 30 shapes (flowcharts with postLayout elk). Whenever the user asks for draw.io XML or no Mermaid, use XML for the rest of the conversation. **Call `get_drawio_reference` before your first diagram in a conversation**, once per format, with the format you chose: "mermaid" has the syntax for every type, "xml" the styles, layout grid, edges, containers, layers and dark mode. For AWS, Azure, GCP and Kubernetes icons write `icon=aws lambda` in the style; call `search_shapes` first for other industry icons (Cisco, P&ID, electrical) or logos. XML essentials: … .…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| xml | string | non | draw.io XML content in mxGraphModel format. Must be well-formed XML: no XML comments ( ), no unescaped special characters in attribute values. Mutually exclusive with 'mermaid'. |
| mermaid | string | non | Mermaid.js diagram definition (e.g. 'graph TD\n A-->B'). Supports 28 diagram types — see the tool description for the full list. Flowcharts, ER and sequence diagrams are converted on the server into editable draw.io cells, laid out and styled (draw.io's calm theme, with the colors of classDef and s… |
| plantuml | string | non | PlantUML source from @startuml to @enduml (or the @start…/@end… lines of its type, such as @startmindmap, @startwbs, @startgantt, @startjson, @startyaml, @startsalt or @startnwdiag): sequence, class, activity, state, use case, component, deployment and the other PlantUML diagrams. Sequence and acti… |
| csv | string | non | draw.io CSV, as draw.io's Arrange > Insert > Advanced > CSV imports it: configuration lines starting with # (label, style, identity, parent, connect, width, height, layout, …), then a header line and one line per shape. %column% placeholders take the values of each row, in labels and in styles (e.g… |
| postLayout | enum: "elk" | non | Optional client-side ELK (Eclipse Layout Kernel) layered-flow pass applied after the diagram renders. The only value is `"elk"`. Vertices animate (morph) from the positions you supplied to the layered layout — they are **replaced**, so only your edge topology survives. Set it for large Mermaid flow… |
| direction | enum: "vertical" | "horizontal" | non | **XML only** — the flow direction for `postLayout: "elk"` on XML diagrams: `vertical` (top-down) or `horizontal` (left-to-right). Defaults to `vertical`. **Ignored for Mermaid**, where direction is read from the flowchart code (`flowchart TD/TB` vs `LR/RL`). Only meaningful together with `postLayou… |
| routing | enum: "libavoid" | non | **XML only** — optional obstacle-avoiding orthogonal **edge-routing** pass (libavoid). The only value is `"libavoid"`. Unlike `postLayout`, this does **not** move any vertices — it keeps your hand-placed coordinates and only recomputes the path of each right-angle edge (`edgeStyle=orthogonalEdgeSty… |
create_semantic_diagram
Create Diagram from a Description
Only for a diagram the user explicitly asked to get fast or cheap: a quick, fast or rough diagram, a sketch or a draft, little effort or few tokens, in any language ("schnell", "Skizze", "wenig Aufwand", "sparsam"). A request without such words, however simple the diagram, goes to create_diagram, never here, and so do the types not listed here: create_diagram places the shapes with more care. A change to a diagram drawn here comes back here. Creates and displays a draw.io diagram from a description of its content: you say what exists and how it connects, the server lays it out, routes the lines and styles it. Never give coordinates, sizes or styles. To change the diagram, call this again with the whole changed description, keeping the ids, the cells of what stays and the layout. Arguments: type, title, nodes, edges, groups; their keys are in the schema. type "flowchart" (processes, with or without swimlanes): nodes are steps with a kind (start, end, step, decision, error, data); for swimlanes, groups are the lanes in order and each node names its lane in group; edges are transitions, labeled on the branches of a decision ("Yes", "No"). End every path at an end node. Placement: give every node row and col, its cell in one grid for the whole diagram: at most 6 cols, a large diagram grows down, to 8 rows. A group's nodes form a block of cells of their own, which the server frames. A lane is a row (or a column) of that grid, col (or row) the step.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| type | enum: "flowchart" | "swimlane" | oui | The diagram type. |
| title | string | non | A title shown above the diagram. |
| layout | string | non | On every change of a diagram: the layout of its last result, copied exactly, also when you add, move or renumber cells. What keeps its cell then stays in place and only what the change needs room for moves; without it, every shape can move |
| nodes | array<object> | oui | |
| edges | array<object> | non | |
| groups | array<object> | non |
search_shapes
Search Shapes
Search the draw.io shape library by keywords. Returns matching shapes with their exact style strings, dimensions, and titles. Covers ~10,000 built-in stencils (cloud architecture, network topology, P&ID, electrical, Cisco, Kubernetes, BPMN) and, when those are sparse, supplements results with the draw.io icon service (brand/product logos and general-purpose concept icons, e.g. 'react', 'slack', 'shopping cart', 'solar panel'). Use ONLY for diagrams that need industry-specific, branded, or pictorial icons. Do NOT use for standard diagram types like flowcharts, UML, ERD, org charts, or mind maps — these use basic geometric shapes (rectangles, diamonds, circles, cylinders) that are already covered in the XML reference. Also skip if the user asks to use basic/simple shapes or says not to search. The style string from the results can be used directly in mxCell style attributes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Space-separated search keywords (e.g. 'pid globe valve', 'aws lambda', 'cisco router', 'kubernetes pod') |
| limit | number | non | Maximum number of results to return (default: 10, max: 50) |
get_drawio_reference
Get draw.io Reference
Returns the draw.io diagram generation reference as Markdown. Format "xml": styles, the layout grid, edges, containers, swimlanes, layers, tags, metadata, dark mode, the layout and routing passes, and the well-formedness rules for create_diagram's xml. Format "mermaid": the header keyword and syntax hints for every Mermaid type draw.io supports, flowchart styling and the ELK layout. Call it once per format and conversation, before the first diagram in that format; the reference stays valid for the rest of the conversation.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| format | enum: "xml" | "mermaid" | oui | Which reference to return: "xml" or "mermaid", matching the create_diagram parameter you will use. |
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://mcp.draw.io/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http draw https://mcp.draw.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : draw ; URL : https://mcp.draw.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : draw ; Server URL : https://mcp.draw.io/mcp ; Create as a plugin{
"mcpServers": {
"draw": {
"url": "https://mcp.draw.io/mcp"
}
}
}{
"mcpServers": {
"draw": {
"type": "http",
"url": "https://mcp.draw.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"draw": {
"url": "https://mcp.draw.io/mcp"
}
}
}{
"mcpServers": {
"draw": {
"httpUrl": "https://mcp.draw.io/mcp"
}
}
}[mcp_servers.draw]
url = "https://mcp.draw.io/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é.
draw.io · L’Atlas · Test du
[draw.io — L’Atlas](https://latlas.dev/mcp/io.draw/mcp)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.