Public log

@next-ai-drawio/mcp-server

draw.io MCP server for Claude Code, Cursor, Codex and VS Code: the AI draws on a live browser canvas you can also edit by hand, with versions and undo

npm · fingerprint 9039df403b159fd473ee7b47 · repository · RSS

16tools
4recorded versions
47dtracked
unchanged 18d

What changed

Changed 2026-11-14 13:20 UTC

1 description rewritten, 2 schema or annotation changes with the description left byte-identical.

--- pinned/add_page
+++ observed/add_page
  {
    "annotations": {
      "destructiveHint": false,
+       "type": {
+         "description": "The diagram's type, only when you draw by a guide of get_drawing_guide topic=<type>: the guide says which. Leave it out for every other diagram.",
+         "type": "string"
+       },
        "xml": {
          "description": "Optional starting content: the mxCell elements of the page, or a bare <mxGraphModel>. If omitted the page starts blank.",
          "type": "string"
--- pinned/create_new_diagram
+++ observed/create_new_diagram
  {
    "annotations": {
      "openWorldHint": false
+       "type": {
+         "description": "The diagram's type, only when you draw by a guide of get_drawing_guide topic=<type>: the guide says which. Leave it out for every other diagram.",
+         "type": "string"
+       },
        "xml": {
          "description": "REQUIRED: the mxCell elements of one page, a bare <mxGraphModel>, or a full <mxfile> with one or more <diagram> pages.",
          "type": "string"
--- pinned/get_drawing_guide
+++ observed/get_drawing_guide
  {
    "annotations": {
      "openWorldHint": false,
-   "description": "Return the drawing guide: XML format, layout, edge routing, style and editing rules. start_session already returns it; call this only if the guide is no longer in your context. With topic, returns a short XML reference for tables, layers or groups.",
+   "description": "Return the drawing guide: XML format, layout, edge routing, style and editing rules. start_session already returns it; call this only if the guide is no longer in your context. With topic, returns a short XML reference for tables, layers or groups, or the drawing guide of a diagram type (sequence, swimlane, swimlane-horizontal, usecase): call that before drawing a diagram of the type.",
    "execution": {
      "taskSupport": "forbidden"
    },
-         "description": "Return only the XML reference for this topic instead of the whole guide.",
-         "enum": [
-           "tables",
-           "layers",
-           "groups"
-         ],
+         "description": "Return only this topic instead of the whole guide: tables, layers, groups, or a diagram type (sequence, swimlane, swimlane-horizontal, usecase).",
          "type": "string"
        }
      },

Changed 2026-11-13 14:25 UTC

2 descriptions rewritten, 1 schema or annotation change with the description left byte-identical.

--- pinned/edit_diagram
+++ observed/edit_diagram
  {
    "annotations": {
      "openWorldHint": false
-               "description": "The id of the mxCell. Must match the id attribute in new_xml.",
+               "description": "The id of the mxCell. Must match the id attribute in new_xml. Required for delete.",
                "type": "string"
              },
              "new_xml": {
-             "operation",
-             "cell_id"
+             "operation"
            ],
            "type": "object"
          },
--- pinned/export_diagram
+++ observed/export_diagram
  {
    "annotations": {
      "openWorldHint": false
-   "description": "Export the current diagram to a file. Supports .drawio (XML), .png, .svg, and .drawio.svg (an SVG with the diagram embedded, which draw.io and load_diagram can open again). The format is auto-detected from the file extension, or can be specified explicitly. Images get a 20 px margin; a PNG has a white background (or the page's own background color) unless transparent is true.\n\nMulti-page behaviour:\n- .drawio with NO page selector: writes the full <mxfile> (all pages).\n- .drawio with a page selector: writes a single-page <mxfile> containing only that page.\n- .png / .svg with NO page selector: exports the currently active page in the browser.\n- .png with a page selector: renders that page without changing what the user sees.\n- .svg / .drawio.svg with a page selector: temporarily loads that page into the browser, captures it, then restores the full document (the user sees a brief flicker).",
+   "description": "Export the current diagram to a file. Supports .drawio (XML), .png, .svg, and .drawio.svg (an SVG with the diagram embedded, which draw.io and load_diagram can open again). The format is auto-detected from the file extension, or can be specified explicitly. Images get a 20 px margin and a white background (or the page's own background color) unless transparent is true; an SVG keeps its light colors in a viewer's dark mode.\n\nMulti-page behaviour:\n- .drawio with NO page selector: writes the full <mxfile> (all pages).\n- .drawio with a page selector: writes a single-page <mxfile> containing only that page.\n- .png / .svg with NO page selector: exports the currently active page in the browser.\n- .png with a page selector: renders that page without changing what the user sees.\n- .svg / .drawio.svg with a page selector: temporarily loads that page into the browser, captures it, then restores the full document (the user sees a brief flicker).",
    "execution": {
      "taskSupport": "forbidden"
    },
+         "minLength": 1,
          "type": "string"
        },
        "transparent": {
-         "description": "PNG only: a transparent background instead of white. Default false.",
+         "description": "PNG and SVG: a transparent background instead of white. Default false.",
          "type": "boolean"
        }
      },
--- pinned/start_session
+++ observed/start_session
  {
    "annotations": {
      "destructiveHint": false,
-   "description": "Start a new diagram session, or continue a saved one with session_id, and open the browser for real-time preview. Starts an embedded server and opens a browser window with draw.io. The browser will show diagram updates as they happen. The result includes the drawing guide; follow it when drawing.",
+   "description": "Start a new diagram session, or continue a saved one with session_id, and open the browser for real-time preview. Call it once per conversation: later requests keep using the same session. Starts an embedded server and opens a browser window with draw.io. The browser will show diagram updates as they happen. The result includes the drawing guide; follow it when drawing.",
    "execution": {
      "taskSupport": "forbidden"
    },

Changed 2026-10-18 10:49 UTC

1 description rewritten.

--- pinned/edit_diagram
+++ observed/edit_diagram
  {
    "annotations": {
      "openWorldHint": false
-   "description": "Edit a specific page in the current diagram by ID-based operations (update/add/delete cells).\n\nAll-or-nothing: if any operation fails, nothing is applied and every failure is listed.\n\nFreshness: the server remembers the last diagram state you have seen, and rejects this call only if the user edited the diagram in the browser since then. You do NOT need to call get_diagram before every edit: a rejected call changes nothing and includes the current XML of the page, so you can rebuild your operations and retry.\n\nCall get_diagram first only when you don't know the current diagram content (cell IDs, structure) — e.g. the diagram wasn't created in this conversation, or you're unsure your memory of it is accurate.\n\nMulti-page targeting:\n- page_id / page_name / page_index are optional; when all omitted, the FIRST page is targeted\n- Use list_pages to discover what pages exist\n\nOperations:\n- add: Add a new cell. Provide cell_id (new unique id within the page) and new_xml. One cell per operation.\n- update: Replace an existing cell by its id. Provide cell_id and complete new_xml.\n- delete: Remove a cell by its id. Only cell_id is needed. Its children and connected edges are deleted too, so give only a container's id.\n\nFor add/update, new_xml is the complete mxCell in the compact form (a shape with x, y, w, h; an edge with source and target). No XML comments. Every \" inside new_xml must be escaped as \\\" in the JSON.\n\nExample - Add a rectangle on the default (first) page:\n{\"operations\": [{\"operation\": \"add\", \"cell_id\": \"rect-1\", \"new_xml\": \"<mxCell id=\\\"rect-1\\\" value=\\\"Hello\\\" style=\\\"rounded=1;\\\" x=\\\"100\\\" y=\\\"100\\\" w=\\\"120\\\" h=\\\"60\\\"/>\"}]}\n\nExample - Delete a cell on the default page:\n{\"operations\": [{\"operation\": \"delete\", \"cell_id\": \"rect-1\"}]}",
+   "description": "Edit a specific page in the current diagram by ID-based operations (update/add/delete cells).\n\nAll-or-nothing: if any operation fails, nothing is applied and every failure is listed.\n\nFreshness: the server remembers the last diagram state you have seen, and rejects this call only if the user edited the diagram in the browser since then. You do NOT need to call get_diagram before every edit: a rejected call changes nothing and includes the current XML of the page, so you can rebuild your operations and retry.\n\nCall get_diagram first only when you don't know the current diagram content (cell IDs, structure) — e.g. the diagram wasn't created in this conversation, or you're unsure your memory of it is accurate.\n\nMulti-page targeting:\n- page_id / page_name / page_index are optional; when all omitted, the FIRST page is targeted\n- Use list_pages to discover what pages exist\n\nOperations:\n- add: Add a new cell. Provide cell_id (new unique id within the page) and new_xml. One cell per operation.\n- update: Replace an existing cell by its id. Provide cell_id and complete new_xml.\n- delete: Remove a cell by its id. Only cell_id is needed. Its children and connected edges are deleted too, so give only a container's id.\n\nFor add/update, new_xml is the complete mxCell (inside its <object> wrapper when it has custom data, see the drawing guide) in the compact form (a shape with x, y, w, h; an edge with source and target). No XML comments. Every \" inside new_xml must be escaped as \\\" in the JSON.\n\nExample - Add a rectangle on the default (first) page:\n{\"operations\": [{\"operation\": \"add\", \"cell_id\": \"rect-1\", \"new_xml\": \"<mxCell id=\\\"rect-1\\\" value=\\\"Hello\\\" style=\\\"rounded=1;\\\" x=\\\"100\\\" y=\\\"100\\\" w=\\\"120\\\" h=\\\"60\\\"/>\"}]}\n\nExample - Delete a cell on the default page:\n{\"operations\": [{\"operation\": \"delete\", \"cell_id\": \"rect-1\"}]}",
    "execution": {
      "taskSupport": "forbidden"
    },

Current tools

Show all 16 tool fingerprints
add_page
1a4c54e3facf927a
create_new_diagram
294307f1f8b8c76a
delete_page
a237bd7f4d61a24c
edit_diagram
5c782ba37b5ba004
export_diagram
fe4e5fd0ef580dec
get_diagram
7ae7fa7d7538a743
get_drawing_guide
117c02086cb32a42
get_selection
db84dd7111c92774
get_shape_library
e0d54ae9e7140805
list_pages
fa879e04f069bddc
list_saved_diagrams
560e7abb2b38028a
load_diagram
5432609647acf008
rename_page
ac995064af34ce23
restore_version
78869835711b5111
screenshot_diagram
4a0957498d7cefdc
start_session
126f6844565db277

Watch this server yourself

If you run this server, put the proxy in front of it. It pins these exact fingerprints on first connect and stops the session if they move.

npx -y mcp-pin@0.2.4 -- <your @next-ai-drawio/mcp-server command>

Or subscribe to this page's RSS feed to be told when it changes.

Badge

mcp-pin status badge for @next-ai-drawio/mcp-server

The badge states one fact about time and nothing else. It never claims a server is safe.

[![mcp-pin](https://mcp-pin.gautamkhosla.com/badge/7e5e7593cff70476.svg)](https://mcp-pin.gautamkhosla.com/servers/7e5e7593cff70476.html)