@drawio/mcp 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -319,19 +319,19 @@ You can use draw.io diagram generation without installing the MCP server by usin
319
319
 
320
320
  ### How It Works
321
321
 
322
- Claude uses its built-in Python analysis tool to:
323
- 1. Generate Mermaid/CSV/XML diagram code based on your request
324
- 2. Compress and encode the diagram data
325
- 3. Create a draw.io URL with the embedded diagram
326
- 4. Present the URL as a clickable link
322
+ Claude creates an **HTML artifact** that:
323
+ 1. Generates Mermaid/CSV/XML diagram code based on your request
324
+ 2. Compresses the diagram data using pako.js (loaded from CDN)
325
+ 3. Shows a button to open draw.io with the diagram in lightbox mode
326
+ 4. In draw.io, hover to see the "Edit" button to open the full editor
327
+
328
+ **Note:** The artifact uses draw.io's lightbox mode (`lightbox=1&dark=auto&border=10&edit=_blank`).
327
329
 
328
330
  ### Example
329
331
 
330
332
  **You:** Create a flowchart for a user login process
331
333
 
332
- **Claude:** Here's your flowchart:
333
-
334
- 👉 [Open in draw.io](https://app.diagrams.net/?pv=0&grid=0#create=...)
334
+ **Claude:** *Creates an HTML artifact with an "Open in draw.io" button*
335
335
 
336
336
  ---
337
337
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawio/mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
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",