github DayuanJiang/next-ai-draw-io v0.4.3

latest releases: v0.4.12, v0.4.12-beta.5, v0.4.12-beta.4...
one month ago

What's New in v0.4.3

This release introduces the MCP Server - enabling AI agents like Claude Desktop, Cursor, and VS Code to generate and edit draw.io diagrams directly.

MCP Server (Preview)

Added Model Context Protocol server for AI-powered diagram generation with real-time browser preview. Now you can use Next AI Draw.io directly from your favorite AI tools!

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["@next-ai-drawio/mcp-server@latest"]
    }
  }
}

Available tools:

  • start_session - Opens browser with real-time diagram preview
  • display_diagram - Create a new diagram from XML
  • edit_diagram - Edit diagram by ID-based operations (update/add/delete cells)
  • get_diagram - Get the current diagram XML
  • export_diagram - Save diagram to a .drawio file

Supported clients:

  • Claude Desktop
  • VS Code (Copilot)
  • Cursor
  • Claude Code CLI

New Features

  • Vercel AI Gateway Support: Added support for Vercel AI Gateway (#274)
  • PWA Manifest: Added manifest.ts for progressive web app support (#270)
  • Theme Change Warning: Added warning dialog for theme and UI style changes (#248)

Improvements

  • ID-based Diagram Editing: Replaced text-based edit_diagram with ID-based operations for more reliable cell updates, additions, and deletions (#267)
  • Streaming & JSON Repair: Improved edit_diagram streaming performance and JSON repair for better handling of malformed AI responses (#271)

Bug Fixes

  • Fixed potential SSRF attack via custom base URL (GHSA-9qf7-mprq-9qgm)

Contributors

Thanks to all contributors who made this release possible!


Full Changelog: v0.4.1...v0.4.3

Don't miss a new next-ai-draw-io release

NewReleases is sending notifications on new releases.