{"data":{"name":"io.draw/mcp","title":"draw.io","description":"Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.","version":"1.10.0","websiteUrl":"https://www.drawio.com","repositoryUrl":"https://github.com/jgraph/drawio-mcp","remotes":[{"type":"streamable-http","url":"https://mcp.draw.io/mcp"}],"packages":[],"status":"active","isLatest":true,"publishedAt":"2026-11-17T05:08:43.051Z","updatedAt":"2026-11-17T05:08:43.051Z","source":"official-registry","verification":"official","confidence":100,"stars":null,"sources":[{"source":"official-registry","sourceId":"io.draw/mcp","verification":"official","confidence":100,"stars":null,"updatedAt":"2026-11-17T05:08:43.051Z","title":"draw.io","description":"Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.","websiteUrl":"https://www.drawio.com","repositoryUrl":"https://github.com/jgraph/drawio-mcp"}],"toolIndex":{"tools":[{"serverName":"io.draw/mcp","endpointFingerprint":"5604f724840cf26674b8350fa1891c470b865e4f8ffed407f3629572374f4af7","name":"create_diagram","title":"Create Diagram","description":"Creates and displays an interactive draw.io diagram from Mermaid.js syntax or draw.io XML — provide exactly one.\n\n**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.\n\n**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 (a misspelled header renders blank), \"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.\n\nXML essentials: <mxGraphModel adaptiveColors=\"auto\"><root><mxCell id=\"0\"/><mxCell id=\"1\" parent=\"0\"/>…</root></mxGraphModel>. Every cell has a unique id. Vertices: vertex=\"1\" with <mxGeometry x y width height as=\"geometry\"/>. Edges: edge=\"1\" with source and target, always with a child <mxGeometry relative=\"1\" as=\"geometry\"/>. Put html=1 in every style and XML-escape HTML in values (&lt; &gt; &amp; &quot;). No XML comments. Don't add waypoints. Place the shapes yourself (no postLayout) and set `routing: \"libavoid\"` only when an edge would otherwise cross a shape.","inputSchema":{"type":"object","properties":{"xml":{"type":"string","description":"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":{"type":"string","description":"Mermaid.js diagram definition (e.g. 'graph TD\\n  A-->B'). Supports 28 diagram types — see the tool description for the full list. The diagram is parsed and laid out natively (no upstream mermaid runtime) and converted to draw.io format. Mutually exclusive with 'xml'."},"postLayout":{"type":"string","enum":["elk"],"description":"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 flowcharts (see below) and for directional XML flows of more than about 30 shapes that you don't lay out yourself; XML you place on the grid (see the XML reference) omits it. Flow direction (top-down vs left-to-right): for **Mermaid** it is taken from the flowchart code (`flowchart TD/TB` → top-down, `LR/RL` → left-to-right) — do not try to set it here; for **XML** set the optional `direction` field (defaults to top-down).\n**Omit** for diagrams whose layout carries meaning you hand-crafted: swimlanes/pools, containers, architecture / deployment / network topology with grouped regions, P&ID or circuit schematics, floor plans, UML diagrams with deliberate placement.\n\n**For Mermaid flowcharts**, the native parser does its own layout, but it produces cramped or unbalanced output once the diagram has any structural complexity. Request `postLayout: \"elk\"` whenever ANY of the following holds: ≥ ~20 nodes, OR ≥ 3 decision diamonds (`{...}` shapes), OR any feedback/back-edges (an edge that points to an earlier node, e.g. an error path looping back to a retry), OR ≥ 3 distinct endpoints — the flow direction follows the flowchart code, so you never pass `direction` for Mermaid. Skip for simple flowcharts (linear chains, < 20 nodes, no branching/back-edges) and for non-flowchart Mermaid types (sequence, class, ER, sankey, etc. — postLayout doesn't apply)."},"direction":{"type":"string","enum":["vertical","horizontal"],"description":"**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 `postLayout: \"elk\"`."},"routing":{"type":"string","enum":["libavoid"],"description":"**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=orthogonalEdgeStyle` or `entityRelationEdgeStyle`) so wires run in clean right-angle segments that route *around* the boxes instead of cutting through them; straight and curved lines stay as drawn. Set it for XML diagrams where you have placed nodes deliberately (architecture, deployment, swimlanes, UML class, floor plans) and want tidy connectors without overlaps — exactly the diagrams where you'd OMIT `postLayout`.\ndraw.io's default router is basic (straight or simple right-angle lines with **no obstacle avoidance** — wires cut straight through any box between the endpoints), so reach for `\"libavoid\"` whenever edges would otherwise cross shapes or you want uniformly clean orthogonal wiring on a layout you placed yourself. Think of `routing` and `postLayout` as **alternatives**: use `routing: \"libavoid\"` to keep your positions and only fix the wires, or `postLayout: \"elk\"` to re-lay-out the vertices — and note ELK already routes its edges decently, so when you use `postLayout` you normally should **not** also set `routing` (the combination is redundant in almost all cases). Do not add `<Array as=\"points\">` waypoints yourself when routing is set; libavoid computes them. **Ignored for Mermaid** (its native/ELK layout already routes)."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"a596ec57fe695302b534a46db640d33fa748bff17aada7d34de99861d5340d3e","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-18T13:46:20.135Z","metadataTrust":"untrusted"},{"serverName":"io.draw/mcp","endpointFingerprint":"5604f724840cf26674b8350fa1891c470b865e4f8ffed407f3629572374f4af7","name":"create_semantic_diagram","title":"Create Diagram from a Description","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.\n\nCreates 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.\n\nArguments: type, title, nodes, edges, groups; their keys are in the schema.\n\ntype \"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.\n\nPlacement: 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.","inputSchema":{"type":"object","properties":{"type":{"type":"string","enum":["flowchart","swimlane"],"description":"The diagram type."},"title":{"type":"string","description":"A title shown above the diagram."},"layout":{"type":"string","description":"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":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique, kept when the diagram is changed"},"label":{"type":"string","description":"The name shown, 1 to 5 words"},"kind":{"type":"string","description":"flowchart: start, end, step, decision, error, data"},"group":{"type":"string","description":"id of the group or lane the node is in"},"sub":{"type":"string","description":"Optional second line in small text (a technology, an address)"},"row":{"type":"integer","description":"The row of the node's cell (1 is the top) in one grid for the whole diagram, not per group. Up to 8 rows are shown whole: a diagram that needs more cells than 6 × 6 gets more rows, not more columns. With lanes as rows, every lane has a row to itself (two when its steps branch)"},"col":{"type":"integer","description":"The column of the node's cell (1 is the left) in that grid. At most 6: every further column makes all the text smaller (the steps of a lane diagram may need more). The nodes of a group form a block of cells with no other node in it, nested groups a block in their parent's. With lanes as rows, col is the step of the flow over all lanes: a step that hands over to another lane can keep the col of the step before it, straight below or above"}},"required":["id"],"additionalProperties":true}},"edges":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","description":"id of a node or group"},"to":{"type":"string","description":"id of a node or group"},"label":{"type":"string","description":"1 to 3 words"},"kind":{"type":"string"}},"required":["from","to"],"additionalProperties":true}},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"parent":{"type":"string","description":"id of the group this one is nested in"}},"required":["id"],"additionalProperties":true}}},"required":["type","nodes"],"additionalProperties":true,"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"fd9a1328e2865e304b49350c40850b00927c1eacd7a9df6a85bb8e7e6fd03c2f","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-18T13:46:20.135Z","metadataTrust":"untrusted"},{"serverName":"io.draw/mcp","endpointFingerprint":"5604f724840cf26674b8350fa1891c470b865e4f8ffed407f3629572374f4af7","name":"get_drawio_reference","title":"Get draw.io Reference","description":"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.","inputSchema":{"type":"object","properties":{"format":{"type":"string","enum":["xml","mermaid"],"description":"Which reference to return: \"xml\" or \"mermaid\", matching the create_diagram parameter you will use."}},"required":["format"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"ec83ecf52f89a65f3f0d40965226980ad249a754440ed0918054fc530e13f45f","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-18T13:46:20.135Z","metadataTrust":"untrusted"},{"serverName":"io.draw/mcp","endpointFingerprint":"5604f724840cf26674b8350fa1891c470b865e4f8ffed407f3629572374f4af7","name":"search_shapes","title":"Search Shapes","description":"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.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Space-separated search keywords (e.g. 'pid globe valve', 'aws lambda', 'cisco router', 'kubernetes pod')"},"limit":{"type":"number","description":"Maximum number of results to return (default: 10, max: 50)"}},"required":["query"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"definitionHash":"886ce09068ef0e00820bb626c1f24f389c0439c4d7a264f443e64bc1a76496a4","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-18T13:46:20.135Z","metadataTrust":"untrusted"}],"endpoints":[{"endpointFingerprint":"5604f724840cf26674b8350fa1891c470b865e4f8ffed407f3629572374f4af7","protocol":"streamable-http","status":"indexed","toolCount":4,"observedAt":"2026-11-18T13:46:20.135Z"}],"authentication":"unknown"},"connectionConfigurations":{"status":"ready","authentication":"not embedded","clients":{"Claude Desktop":{"mcpServers":{"io.draw/mcp":{"url":"https://mcp.draw.io/mcp"}}},"Cursor":{"mcpServers":{"io.draw/mcp":{"url":"https://mcp.draw.io/mcp"}}},"VS Code":{"servers":{"io.draw/mcp":{"type":"http","url":"https://mcp.draw.io/mcp"}}}}},"resourceType":"mcp-server","callable":true,"runtime":{"callable":true,"protocols":["mcp"]},"interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://mcp.draw.io/mcp"}],"profile":{"apiVersion":"1","schemaVersion":"1","id":"mcp-server:io.draw%2Fmcp","resourceType":"mcp-server","canonicalUrl":"https://www.agentsjunction.com/api/v1/servers/io.draw%2Fmcp","name":"io.draw/mcp","description":"Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.","interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://mcp.draw.io/mcp"}],"capabilities":[],"identity":{"source":"official-registry","websiteUrl":"https://www.drawio.com","repositoryUrl":"https://github.com/jgraph/drawio-mcp","version":"1.10.0"},"verification":{"state":"official","confidence":100},"operations":{"resourceType":"mcp-server","name":"io.draw/mcp","status":"online","lastCheckedAt":"2026-11-20T09:15:40.276Z","lastSuccessfulCheck":"2026-11-20T09:15:40.276Z","latencyMs":34,"consecutiveFailures":0,"isStale":false,"checks":{"endpointReachable":true,"protocolValid":true,"agentCardValid":null,"mcpHandshakeValid":true},"lastSeen":null,"lastSuccessfulInteraction":null,"lastHealthCheck":"2026-11-20T09:15:40.276Z","source":{"type":"health-check","url":null},"observedAt":"2026-11-20T09:15:40.276Z"},"security":null,"timestamps":{"createdAt":"2026-11-17T05:08:43.051Z","updatedAt":"2026-11-17T05:08:43.051Z","observedAt":"2026-11-20T09:15:40.276Z"},"compatibility":{"serverVersion":"1.10.0","protocolVersions":[{"protocol":"mcp","version":null}]}}}}