tldraw-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WS_PORT | No | Widget WS server port | 4000 |
| TLDRAW_WS_URL | No | Widget WebSocket URL | ws://localhost:4000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_shapeC | Create a shape on the canvas (rectangle, ellipse, text, note, etc.) |
| update_shapeC | Update properties of an existing shape |
| delete_shapesC | Delete one or more shapes from the canvas |
| connect_shapesC | Connect two shapes with an arrow |
| get_snapshotB | Get current state of all shapes on the canvas |
| clear_canvasA | Remove all shapes from the canvas |
| zoom_to_fitA | Zoom the canvas to fit all shapes in view |
| create_frameC | Create a frame to group shapes together |
| create_flowchartC | Create a flowchart diagram with nodes and connections. Nodes are auto-arranged. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dpunj/tldraw-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server