We and selected third parties use cookies or similar technologies for technical purposes and, with your consent, to analyze how the site is used.

You can freely give, refuse or withdraw your consent at any time.

draw.io

MCP server by draw.io (JGraph)

Create draw.io diagrams from XML or Mermaid and render them inline in chat, with search across 10,000+ shapes.

No sign-in (No account or key needed)Streamable HTTP

Connect to draw.io

No sign-in needed. Connect with draw.io’s own URL:

https://mcp.draw.io/mcp

Paste it into any client that supports remote MCP servers. Your client talks to draw.io (JGraph) directly, not through mcp.tc.

Share this server

Opens this page, with the URL and setup steps.

mcp.tc/i/drawio

About

The official draw.io server lets an assistant create diagrams and show them as interactive draw.io views inside the conversation. create_diagram accepts draw.io XML or Mermaid syntax. search_shapes looks up exact style strings in about 10,000 built-in stencils (cloud, network, Kubernetes, BPMN, electrical) and the draw.io icon service.

It runs as a hosted endpoint at https://mcp.draw.io/mcp over streamable HTTP and needs no sign-in. Inline rendering needs a host that supports MCP Apps. Other hosts get the XML as text. A local alternative is available through npx @drawio/mcp, which opens diagrams in the draw.io editor.

What you can do

  • Create interactive diagrams from draw.io XML
  • Create diagrams from Mermaid syntax
  • Search about 10,000 built-in shapes by keyword
  • Find brand and concept icons through the icon service
  • Apply optional ELK auto-layout and libavoid edge routing
  • Open rendered diagrams in draw.io for editing

Tools 4

  • create_diagramRead-only

    Create and display an interactive draw.io diagram from draw.io XML or Mermaid syntax.

  • create_semantic_diagramRead-only

    Create Diagram from a Description

  • search_shapesRead-only

    Search the draw.io shape library by keyword and return style strings, sizes and titles.

  • get_drawio_referenceRead-only

    Get draw.io Reference

Read from the live server on 17 Nov 2026. Read-only, Writes and Can delete are hints the server declares; your client decides whether to ask before running a tool.

Example prompts

  • Draw a flowchart of our login and password reset process.

  • Create an AWS architecture diagram with a load balancer, EC2 and RDS.

  • Make a sequence diagram of an OAuth authorization code flow.

  • Find a Kubernetes pod shape and add it to my network diagram.

Set up

Every client connects to mcp.draw.io. Pick yours; the page remembers your choice.

Claude Code

  1. Run this in a terminal, in your project folder:
claude mcp add --transport http drawio https://mcp.draw.io/mcp
  1. Start Claude Code and type /mcp. drawio should show as connected.

Add --scope user to make it available in every project, not just this one.

Claude Desktop

  1. Open Customize → Connectors, click + Add, then Add custom connector.
  2. Name it draw.io and paste this URL:
https://mcp.draw.io/mcp
  1. Click Add. Its tools appear in the chat’s tools menu.

Claude Desktop’s JSON config file only starts local servers. Remote servers go through Connectors, and connectors you add on claude.ai show up here too.

claude.ai

  1. Open the connector form on claude.ai. This button fills in the name and URL for you:
  1. Check that the URL reads https://mcp.draw.io/mcp and click Add.
  2. Turn it on in a chat from the tools menu.

Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under Organization settings → Connectors.

ChatGPT

  1. On chatgpt.com, go to Plugins, select +, then Add custom MCP server.
  2. Enter a name for the server.
  3. Under Connection, paste https://mcp.draw.io/mcp as the server URL, then for authentication choose No authentication.
  4. Check I understand and want to continue, then select Create as a plugin.

Whether you can add a custom MCP server depends on your ChatGPT plan and your workspace permissions (in Business workspaces, admins and owners can).

Cursor

Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):

mcp.json
{
  "mcpServers": {
    "drawio": {
      "url": "https://mcp.draw.io/mcp"
    }
  }
}

VS Code

Or from a terminal:

code --add-mcp '{"name":"drawio","type":"http","url":"https://mcp.draw.io/mcp"}'

Or commit it to the repo in .vscode/mcp.json:

.vscode/mcp.json
{
  "servers": {
    "drawio": {
      "type": "http",
      "url": "https://mcp.draw.io/mcp"
    }
  }
}

Devin Desktop

  1. Add it to ~/.config/devin/mcp_config.json (macOS and Linux) or %APPDATA%\devin\mcp_config.json (Windows):
mcp_config.json
{
  "mcpServers": {
    "drawio": {
      "serverUrl": "https://mcp.draw.io/mcp"
    }
  }
}
  1. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf. It reads serverUrl (or url) for remote servers.

Codex

codex mcp add drawio --url https://mcp.draw.io/mcp

Or edit ~/.codex/config.toml directly:

config.toml
[mcp_servers.drawio]
url = "https://mcp.draw.io/mcp"

Gemini CLI

gemini mcp add --transport http drawio https://mcp.draw.io/mcp

This adds it to the current project. Add -s user to use it everywhere.

Any client

Most clients accept this shape. Some name the URL field differently: serverUrl in Devin Desktop, httpUrl in Gemini CLI’s settings file.

{
  "mcpServers": {
    "drawio": {
      "type": "http",
      "url": "https://mcp.draw.io/mcp"
    }
  }
}

Zed puts servers under context_servers in its settings. Cline needs "type": "streamableHttp", or it assumes SSE.

Client only starts local servers? Bridge it with npx -y mcp-remote https://mcp.draw.io/mcp.

Embed

Show draw.io in a README or on your site. Each embed links to this page, uses the server’s own URL, and sets no cookies. How embeds work

The card, the iframe and the JSON are in English. Add ?lang=it, fr, de or es to their address for another language.

README badge

Badge preview, lightBadge preview, dark
Markdown
[![draw.io on mcp.tc](https://mcp.tc/i/drawio/badge.svg)](https://mcp.tc/i/drawio)
HTML
<a href="https://mcp.tc/i/drawio"><img src="https://mcp.tc/i/drawio/badge.svg" alt="draw.io on mcp.tc" height="20"></a>

It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.

Website card

HTML
<script src="https://mcp.tc/w/drawio.js" async></script>

The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.

iframe

HTML
<iframe src="https://mcp.tc/embed/drawio" title="draw.io on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>

Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.

JSON

The listing as data for your own pages and tools: name, tagline, the server’s own URL, tools and the “Add to” links. Any site can read it (CORS is open).

https://mcp.tc/i/drawio.json

What each field means

AI prompt

Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the draw.io card to your site.

Markdown
Add the mcp.tc card for draw.io, an MCP server, to my website. It is one static script: no build step, no package to install, no cookies.

Put this tag where the card should appear. The card renders right before it:

```html
<script src="https://mcp.tc/w/drawio.js" async></script>
```

To show the card somewhere else, put this placeholder there and load the same script once, for example before `</body>`. Keep the link inside: visitors without JavaScript see it.

```html
<div data-mcptc="drawio"><a href="https://mcp.tc/i/drawio">draw.io on mcp.tc</a></div>
```

Options:
- `data-theme="light"` or `"dark"` on the tag or the placeholder fixes the colors. Without it, the card follows the visitor’s light or dark mode.
- `data-size="compact"` gives a smaller card without the tagline.
- The CSS variable `--mcptc-max-width` on the placeholder or a parent sets the width (default `520px`).
- `?lang=` on the script URL sets the card’s language: `en`, `it`, `fr`, `de` or `es`.

If the site has a Content Security Policy, allow `script-src https://mcp.tc` and `img-src data:` (the icon is inline).

For a README or other Markdown docs, use the badge instead:

```markdown
[![draw.io on mcp.tc](https://mcp.tc/i/drawio/badge.svg)](https://mcp.tc/i/drawio)
```

Reference: https://mcp.tc/embed

Change history

We read this server’s tool list every 3 hours and record what changes. Last read 18 Nov 2026, 05:34 UTC.

Follow draw.io and we’ll email you when something changes.

  1. , Automatic check

    New version 1.10.0 (was 1.9.0). Reported by the server.

  2. , Automatic check

    1 tool added and 1 tool changed.

    Details, 17 Nov 2026, 05:52 UTC

    Added 1

    • create_semantic_diagramRead-only

      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 s…

    Changed 1

    • create_diagramdescription

      The text shown here is the same before and after: the change is past the first 1,000 characters or in characters that don’t show.

  3. , Automatic check

    New version 1.9.0 (was 1.7.0). Reported by the server.

  4. , Automatic check

    New version 1.6.0 (was 1.5.0). Reported by the server.

  5. , Automatic check

    New version 1.5.0 (was 1.4.7). Reported by the server.

  6. , Automatic check

    New version 1.4.2 (was 1.4.1). Reported by the server.

  7. , Automatic check

    New version 1.4.1 (was 1.4.0). Reported by the server.

  8. , Automatic check

    New version 1.2.0 (was 1.1.1). Reported by the server.

  9. , Automatic check

    1 tool changed.

    Details, 17 Oct 2026, 16:35 UTC

    Changed 1

    • create_diagramdescription and input schema
      Before

      Creates and displays an interactive draw.io diagram from Mermaid.js syntax or draw.io XML — provide exactly one. **Choose the format first.** Use `mermaid` for every type it has a header for: flowchart/graph, sequenceDiagram, classDiagram, stateDiagram-v2, erDiagram, gantt, pie, journey, gitGraph, mindmap, timeline, quadrantChart, xychart-beta, sankey-beta, requirementDiagram, C4Context/C4Container/C4Component, block-beta, architecture-beta, packet-beta, kanban, radar-beta, treemap-beta, treeView-beta, venn-beta, ishikawa-beta, zenuml, wardley-beta, eventmodeling. Don't write flowcharts as XML. Use `xml` for everything else (UI mockups, floor plans, cloud/network/P&ID/electrical diagrams with stencils, swimlanes, UML with deliberate placement, exact positions or colors) and whenever the user asks for draw.io XML or no Mermaid; then keep using XML for the rest of the conversation. **Call `get_drawio_reference` before your first diagram in a conversation**, once per format, with the for…

      After

      Creates 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…

  10. , Automatic check

    New version 1.1.0 (was 1.0.6). Reported by the server.

  11. , Automatic check

    1 tool added and 1 tool changed.

    Details, 13 Oct 2026, 07:40 UTC

    Added 1

    get_drawio_reference

    Changed 1

    create_diagram

    The 10 newest entries show every detail; older ones show names only.

  12. , Automatic check

    Tracking started: 2 tools.

FAQ

Can I paste mcp.tc/i/drawio into my MCP client?

No. mcp.tc links are pages, not server addresses. Connect with https://mcp.draw.io/mcp, so your client talks to draw.io directly. The quick link is for sharing: it opens this page, with setup steps for every client.

Does draw.io need an API key or a sign-in?

No. draw.io doesn’t ask for an account or key.

Is draw.io a remote or a local server?

Remote. draw.io (JGraph) hosts it at https://mcp.draw.io/mcp, and it speaks Streamable HTTP. There’s nothing to install.

What can draw.io do?

It has 4 tools, including create_diagram, create_semantic_diagram and search_shapes. You can create interactive diagrams from draw.io XML, create diagrams from Mermaid syntax and search about 10,000 built-in shapes by keyword.

Which clients can use it?

Any client that supports remote MCP servers: Claude Code, Claude Desktop, claude.ai, ChatGPT, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. The setup steps cover each one.

Does mcp.tc track changes to draw.io?

Yes. draw.io’s History tab shows each change we find to its tools, down to descriptions and parameters, plus new versions and edits by its owner. Follow the listing to get an email when it changes.

Who wrote this page?

mcp.tc’s robot read draw.io’s own metadata (its MCP handshake, tool list and public pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.

mcp.tc isn’t affiliated with draw.io (JGraph). This page was built from draw.io’s public metadata, last checked on 17 Nov 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.