@drawio/mcp 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,6 +5,7 @@ The official [draw.io](https://www.draw.io) MCP server that opens diagrams direc
5
5
  This package is part of the [drawio-mcp](https://github.com/jgraph/drawio-mcp) repository, which also includes:
6
6
 
7
7
  - **[MCP App Server](https://github.com/jgraph/drawio-mcp/tree/main/mcp-app-server)** — Renders diagrams inline in AI chat interfaces. Hosted at `https://mcp.draw.io/mcp` — no install required.
8
+ - **[Skill + CLI](https://github.com/jgraph/drawio-mcp/tree/main/skill-cli)** — Claude Code skill that generates native `.drawio` files with optional PNG/SVG/PDF export.
8
9
  - **[Project Instructions](https://github.com/jgraph/drawio-mcp/tree/main/project-instructions)** — Zero-install approach using Claude Project instructions.
9
10
 
10
11
  ## Features
@@ -119,5 +120,5 @@ Opens the draw.io editor with a Mermaid.js diagram.
119
120
 
120
121
  - [draw.io](https://www.draw.io) - Free online diagram editor
121
122
  - [draw.io Desktop](https://github.com/jgraph/drawio-desktop) - Desktop application
122
- - [drawio-mcp on GitHub](https://github.com/jgraph/drawio-mcp) - Full repository with all three approaches
123
+ - [drawio-mcp on GitHub](https://github.com/jgraph/drawio-mcp) - Full repository with all four approaches
123
124
  - [MCP Specification](https://modelcontextprotocol.io/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawio/mcp",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Official draw.io MCP server for LLMs - Open diagrams in draw.io editor",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -109,6 +109,7 @@ const tools =
109
109
  "Use this to view, edit, or create diagrams in draw.io format. " +
110
110
  "The XML should be valid draw.io/mxGraph XML format. " +
111
111
  "IMPORTANT: Do NOT use double hyphens (--) inside XML comments, as this is invalid XML and will break the parser. Use single hyphens or rephrase instead. " +
112
+ "EDGE GEOMETRY: Every edge mxCell MUST contain a <mxGeometry relative=\"1\" as=\"geometry\" /> child element, even when there are no waypoints. Self-closing edge cells (<mxCell ... edge=\"1\" ... />) are invalid and will not render correctly. " +
112
113
  "EDGE ROUTING: Use edgeStyle=orthogonalEdgeStyle for right-angle connectors. " +
113
114
  "Space nodes at least 60px apart to avoid overlapping edges. " +
114
115
  "Use exitX/exitY/entryX/entryY (0-1) to control which side of a node an edge connects to, spreading connections across different sides. " +