tldraw

•

Create, edit, and export visual diagrams and whiteboard architectures directly as native tldraw boards.

tldraw-mcp empowers Claude Code and other MCP-compatible clients to construct and manipulate rich diagrams stored as native .tldr files. It supports comprehensive canvas operations including 20 outline shapes, Markdown-formatted rich text, sticky notes, frames, and dynamic arrow bindings. Using a headless browser, the server renders live visual previews back to the AI assistant to catch overlapping or clipped shapes, while offering multi-format export to PNG, SVG, JPEG, or WebP and seamless two-way interoperability with tldraw.com.

Key Features

01Automated canvas organization supporting multi-page boards, grouping, alignment, distribution, and grid arrangements
02Comprehensive shape generation supporting sticky notes, frames, connectors, embeds, and rich-text Markdown formatting
03Headless browser-powered visual feedback providing layout and overlap warnings directly to the AI
04Two-way file compatibility enabling Claude to read, modify, and re-export boards downloaded from tldraw.com
05Multi-format image export allowing canvas pages or selected shapes to be saved as SVG, PNG, JPEG, or WebP
060 GitHub stars

Use Cases

01Generating software architecture diagrams and flowcharts directly from codebase analysis in Claude Code
02Exporting automated documentation diagrams and visual assets as vector SVG or raster images
03Updating and rearranging existing hand-drawn tldraw wireframes through conversational prompts