mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 22:32:27 +08:00
1.2 KiB
1.2 KiB
Release Notes
v0.4.3 (2024-12-17)
New Features
-
MCP Server (Preview): Added Model Context Protocol server that enables AI agents like Claude Desktop, Cursor, and VS Code to generate and edit draw.io diagrams with real-time browser preview.
{ "mcpServers": { "drawio": { "command": "npx", "args": ["@next-ai-drawio/mcp-server@latest"] } } }Available tools:
start_session- Opens browser with real-time diagram previewdisplay_diagram- Create a new diagram from XMLedit_diagram- Edit diagram by ID-based operations (update/add/delete cells)get_diagram- Get the current diagram XMLexport_diagram- Save diagram to a.drawiofile
Technical Changes
- Added
packages/mcp-server/as a separate npm package (@next-ai-drawio/mcp-server) - Updated
tsconfig.jsonto excludepackages/from Next.js build - Updated
.gitignorefor monorepo structure (packages/*/node_modules,packages/*/dist)
Documentation
- Added MCP Server section to all README files (English, Chinese, Japanese)
- Added detailed MCP server documentation in
packages/mcp-server/README.md