{
 "schema": "mcp-scanner-profile/1",
 "repo": "lgazo/drawio-mcp-server",
 "url": "https://github.com/lgazo/drawio-mcp-server",
 "commit": "7922a095105b0e38a78b48e54d3aa5c1b4dd5c16",
 "registry_names": [],
 "npm_packages": [
  "drawio-mcp-server"
 ],
 "publisher": {
  "name": "lgazo",
  "official": false
 },
 "scanned_at": "2026-11-25",
 "scanner": "v1.3.0",
 "methodology": "1.2",
 "axes": {
  "code": null,
  "exposure": 9.0,
  "prompt": 10.0,
  "supply": 6.4,
  "secrets": 10.0,
  "transparency": 10.0
 },
 "partly_traced": [
  "code",
  "exposure"
 ],
 "not_analysed": {},
 "confidence": 80,
 "note": "Only published data: findings appear after a person verifies them; an axis is null where the analysis stopped early or had nothing to read.",
 "capabilities": [
  {
   "name": "This tool allows you to add a new vertex cell on the target page of the current Draw.io document by its shape name.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "This tool creates an edge, sometimes called also a relation, between two vertexes (cells). When source and target are the same shape (self-connector), a loop edge style is automatically applied if no custom style is provided.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "This tool allows you to add a new Rectangle vertex cell on the target page of the current Draw.io document.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Creates a copy of an existing page in the target/current Draw.io document, appends the copy to the end of the page list, and returns the copied page metadata. When possible, the previously visible page is restored after the copy is created.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Creates a new layer on the target page.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Appends a new blank page to the current Draw.io document without changing the visible page when the runtime supports background page insertion.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Deletes a cell from the target page, whether it is a vertex or edge.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Update properties of an existing vertex/shape cell by its ID. Only provided fields are modified; unspecified properties remain unchanged.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Update properties of an existing edge by its ID. Only provided fields are modified; unspecified properties remain unchanged. Supports setting waypoints for edge geometry control.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Export the target page or current diagram as SVG, PNG, or XML. Returns the diagram data as base64 (PNG) or text (SVG/XML). Optionally saves to a file.",
   "kind": "tool",
   "reaches": [
    "filesystem"
   ],
   "annotations": {}
  },
  {
   "name": "Gets the currently active layer information for the target page. If the target page is not currently visible, Draw.io may switch the visible page first because active-layer state is UI-bound.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Gets the currently visible page metadata, including index, id, name, and whether it is active.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "This tool retrieves the selected cell on the target page of the current Draw.io document. If the target page is not currently visible, Draw.io may switch the visible page first because selection is UI-bound.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Retrieve a specific shape by its name from all available shapes in the diagram's library. It returns the shape and also the category it belongs.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Retrieves available shape categories from the diagram's library. Library is split into multiple categories.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Retrieve all shapes in the provided category from the diagram's library. A shape primarily contains `style` based on which you can create new vertex cells.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Import a diagram from XML, SVG with embedded XML, or PNG with embedded XML into the current Draw.io instance. `target_page` is required for `replace` and `add`, and optional for `new-page`.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Insert a Mermaid diagram into the target Draw.io page. Conversion runs inside the Draw.io editor via its bundled Mermaid pipeline (EditorUi.parseMermaidDiagram). mode='native' converts supported Mermaid types into native mxGraph cells; unsupported types fall back to an embedded image cell. mode='embed' always emits a single image cell that preserves the Mermaid source for re-editing inside Draw.io. `target_page` is required for `replace` and `add`, and optional for `new-page`.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Lists all connected Draw.io document instances with their stable instance IDs and basic metadata.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Lists all available layers on the target page with their IDs and names.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Retrieves a paginated view of all cells (vertices and edges) on the target page. This tool provides access to the complete model data with essential fields only, sanitized to remove circular dependencies and excessive data.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Lists all pages in the current Draw.io document with their index, id, name, and current-page flag.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Moves a cell from its current layer to a target layer.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Renames the selected page without changing the visible page.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Triggers Draw.io's existing File > Save action for the current document. The active storage provider may display an authentication, conflict, or Save As prompt that requires user interaction.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Sets the active layer for creating new elements. All subsequent element creation will happen in this layer. If the target page is not currently visible, Draw.io may switch the visible page first because active-layer state is UI-bound.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Sets or updates a custom attribute on an existing cell.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Sets the parent of a cell, making it a child of the specified parent cell. This allows creating hierarchical relationships where moving the parent also moves its children.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Updates the visual style of an existing vertex cell to match a library shape by name.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  },
  {
   "name": "Renames the current Draw.io document through its active storage provider while preserving the existing file extension when one is present.",
   "kind": "tool",
   "reaches": [],
   "annotations": {}
  }
 ],
 "risky_capabilities": [
  {
   "tool": "Export the target page or current diagram as SVG, PNG, or XML. Returns the diagram data as base64 (PNG) or text (SVG/XML). Optionally saves to a file.",
   "capability": "Reads/writes files"
  }
 ],
 "vulnerable_dependencies": [
  {
   "package": "zod",
   "version": "4.1.8",
   "ecosystem": "npm",
   "severity": "HIGH",
   "ids": [
    "GHSA-mrhx-c7xc-m3w5",
    "CVE-2023-54404"
   ],
   "fixed_in": [
    "4.6.6"
   ],
   "production": true
  }
 ],
 "advisories": [],
 "egress": {
  "fixed_hosts": [],
  "configured_addresses": [],
  "credential_names": []
 },
 "outside_text": {},
 "security_policy": true
}
