@cuylabs/agent-excalidraw-canvas-ui
v0.6.0
Published
Static browser UI for the Agent Excalidraw Canvas Server
Readme
@cuylabs/agent-excalidraw-canvas-ui
Static browser UI for the Agent Excalidraw Canvas Server.
This package contains the built React/Vite Excalidraw preview app served by
@cuylabs/mcp-excalidraw when the MCP server starts with --canvas. It is a
runtime asset package, not a general-purpose React component library.
Most users should install @cuylabs/mcp-excalidraw; it depends on this package
and serves the packaged dist directory automatically.
The UI treats the MCP session as the source of truth. Its native Excalidraw load/save/export actions are disabled and replaced with explicit MCP-aware scene and library import/export controls. Canvas edits sync back to the Canvas Server with elements, syncable app state, and embedded image files.
Package Contents
| Path | Purpose |
| ----------- | -------------------------------------------------------------------------- |
| dist/ | Built static HTML, JavaScript, CSS, and assets served by the Canvas Server |
| README.md | Package documentation |
Development
pnpm --filter @cuylabs/agent-excalidraw-canvas-ui dev
pnpm --filter @cuylabs/agent-excalidraw-canvas-ui build
pnpm --filter @cuylabs/agent-excalidraw-canvas-ui typecheckDuring development, Vite proxies /api and /ws to a Canvas Server running on
localhost:3000.
