Is the draw.io MCP Server official?
Yes. It is built and hosted by the draw.io team (JGraph), and the source is in `jgraph/drawio-mcp` on GitHub.
@draw.io
Basic information
The draw.io MCP Server is the official hosted MCP App from the draw.io team. It turns Mermaid or draw.io XML into interactive diagrams shown inline in Claude.ai, ChatGPT, VS Code and Cursor, searches about 10,000 built-in shapes, and needs no sign-in.
https://mcp.draw.io/mcpclaude mcp add drawio --transport http https://mcp.draw.io/mcpCreates and displays an interactive draw.io diagram from Mermaid.js syntax or draw.io XML — provide 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 (a misspelled header renders blank), "xml" the styles, layout grid, edges, containers, layers and dark mode. Call `search_shapes` first for industry icons (AWS, Azure, GCP, Cisco, Kubernetes, P&ID, electrical) or logos. XML 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 (< > & "). 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.
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.
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.
The draw.io MCP Server is the official hosted MCP App from the draw.io team. It turns Mermaid.js or draw.io XML into interactive diagrams that appear inline in Claude.ai, ChatGPT, VS Code and Cursor, with no installation and no sign-in.
draw.io (also known as diagrams.net) is a widely used diagramming tool from JGraph. The hosted server at https://mcp.draw.io/mcp uses the MCP Apps extension: when the model calls create_diagram, the host renders the diagram in a sandboxed iframe using the official draw.io viewer, with zoom, pan, layers, fullscreen and an "Open in draw.io" button to keep editing. The code is open source under Apache 2.0 in jgraph/drawio-mcp, and the same server can be self-hosted.
Add the URL as a remote MCP server; the server needs no sign-in, so leave authentication off.
https://mcp.draw.io/mcp
Diagrams render inline in hosts that support MCP Apps: Claude.ai, ChatGPT, VS Code with GitHub Copilot 1.109 or later, and Cursor 2.6 or later. In other hosts, such as Claude Code, the server returns a link that opens the diagram in draw.io.
claude mcp add --transport http drawio https://mcp.draw.io/mcp
Claude Code's terminal can't show diagrams inline, so you get an app.diagrams.net link for each diagram.
draw.io is listed in Claude's connector directory and can be added in one click. You can also open Settings → Connectors → Add custom connector and paste the URL.
From the draw.io README, in ~/.cursor/mcp.json or .cursor/mcp.json:
{
"mcpServers": {
"drawio": {
"url": "https://mcp.draw.io/mcp"
}
}
}
From the draw.io README, in .vscode/mcp.json:
{
"servers": {
"drawio": {
"type": "http",
"url": "https://mcp.draw.io/mcp"
}
}
}
Click Start above the entry, then ask Copilot Chat in Agent mode for a diagram.
mcp.draw.io with no account required.Diagram creation. create_diagram takes exactly one of mermaid or xml and renders it. Its description tells the model to prefer Mermaid for every diagram type Mermaid has a header for, and to use XML otherwise. Options include postLayout: "elk" and a direction for XML layouts.
Reference. get_drawio_reference returns the generation reference for xml or mermaid as Markdown. The model calls it once per format per conversation, before its first diagram; this keeps create_diagram's description short.
Shapes. search_shapes finds shapes by keyword and returns exact style strings, sizes and titles. It is meant for industry-specific, branded or pictorial icons, not for standard flowcharts or UML.
draw.io also publishes a stdio tool server, @drawio/mcp (npx -y @drawio/mcp), that opens diagrams in the full draw.io editor in your browser instead of rendering them inline. Use it in hosts without MCP Apps support or if you prefer the browser editor. There is also a community Draw.io MCP server that works differently and is not made by the draw.io team.
@drawio/mcp server.xml or mermaid as a plain string, not an object or array.Yes. It is built and hosted by the draw.io team (JGraph), and the source is in `jgraph/drawio-mcp` on GitHub.
The hosted endpoint needs no sign-in or account, and the project is open source under Apache 2.0.
Claude.ai, ChatGPT, VS Code with GitHub Copilot 1.109+ and Cursor 2.6+. Other clients get a link that opens the diagram in draw.io.
Yes. Each rendered diagram has an "Open in draw.io" button that opens it in the full editor.
Yes. `create_diagram` accepts Mermaid for many diagram types and converts it to a native draw.io diagram.
Yes. The MCP App server runs on Node.js, as the `jgraph/drawio-mcp` Docker image, or on Cloudflare Workers.
The draw.io remote MCP server is a hosted Model Context Protocol endpoint at https://mcp.draw.io/mcp, so AI assistants can connect to it without installing or running anything locally.
Add the endpoint https://mcp.draw.io/mcp to any MCP-compatible client such as Claude Code, Cursor, or VS Code. The setup snippets on this page configure each client in one step.
Authentication requirements for draw.io have not been confirmed in this listing. Check the provider’s documentation before connecting.
draw.io exposes a streamable-http endpoint, the transport used by remote MCP servers and supported by all major MCP clients.
Official 42min MCP server: let Claude, ChatGPT, Cursor or any MCP client manage your meeting scheduling. Check availability, find free slots, book, cancel and reschedule meetings, manage recurring series, secret booking
Understand and troubleshoot your Journeys and Campaigns
Marketing campaign and audience insights from Adobe
AdsMCP is the MCP entry point into the Adgentek Ad Server. Call ads_serve with the conversation context and get back a native ad matched to user intent, or no ad when one does not fit. Publishers earn on a CPM basis. Fre
Discover, evaluate, and buy solutions for the cloud
Comments