mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-10-12 04:29:51 +08:00
- The list now ships the templates of Insert > Template, the PlantUML parser of Insert > Advanced and the template dialog's icon: the menu items were shown but failed with 404s. 15.1 MB packed; the tarball cap goes from 40 MB to 20 MB, where it still catches a list that grew by a whole js/ directory. - The guard drives both features, fails when the copy it runs against lacks files the editor asked for or when an export does not answer, checks that the copy is the pinned draw.io version, and runs in CI (npm run check-drawio, one E2E shard) so a list regression cannot reach a release.
64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
{
|
|
"name": "@next-ai-drawio/mcp-server",
|
|
"version": "0.3.0",
|
|
"description": "MCP server for Next AI Draw.io - AI-powered diagram generation with real-time browser preview",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"next-ai-drawio-mcp": "./dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc && node scripts/copy-assets.mjs && node scripts/fetch-drawio.mjs",
|
|
"check-drawio": "node scripts/check-drawio-files.mjs",
|
|
"check-package": "node scripts/check-package.mjs",
|
|
"dev": "tsx watch src/index.ts",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"mcp",
|
|
"drawio",
|
|
"diagram",
|
|
"ai",
|
|
"claude",
|
|
"model-context-protocol"
|
|
],
|
|
"author": "DayuanJiang",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/DayuanJiang/next-ai-draw-io",
|
|
"directory": "packages/mcp-server"
|
|
},
|
|
"homepage": "https://next-ai-drawio.jiang.jp",
|
|
"bugs": {
|
|
"url": "https://github.com/DayuanJiang/next-ai-draw-io/issues"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.31.0",
|
|
"linkedom": "^0.18.0",
|
|
"open": "^11.0.0",
|
|
"pako": "^2.2.0",
|
|
"saxes": "^6.0.0",
|
|
"zod": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.0.0",
|
|
"@types/pako": "^2.0.4",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5",
|
|
"vitest": "^4.1.8"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
]
|
|
}
|