tldraw
io.github.tldraw/tldraw
Serveur MCP OK 6 outils
Draw and visually collaborate with your agents on tldraw's canvas.
Fiche technique
- Auteur
- tldraw (espace de noms du registre)
- Dépôt
- github.com/tldraw/tldraw
- Site
- —
- Version
- 0.1.0
- Transport
- Streamable HTTP SSE
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://tldraw-mcp-app.tldraw.workers.dev/mcp Streamable HTTP
https://tldraw-mcp-app.tldraw.workers.dev/sse SSE - Outils
- 6
- Catégories
- IA, agents et mémoire
- Dernière mise à jour
- 6 mars 2026
- Publication
- 6 mars 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.tldraw/tldraw)<a href="https://latlas.dev/mcp/io.github.tldraw/tldraw"><img src="https://latlas.dev/badge/fiche/io.github.tldraw/tldraw.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://tldraw-mcp-app.tldraw.workers.dev/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:08
- Temps de réponse
- 1 011 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- tldraw 1.0.0
- Outils
- 6
- Adresse
- https://tldraw-mcp-app.tldraw.workers.dev/sse
- Dernier résultat
- OK 28 nov. 2026, 11:04
- Temps de réponse
- 1 558 ms (initialize + tools/list)
- Version du protocole
- 2024-11-05
- Nom annoncé
- tldraw 1.0.0
- Outils
- 6
Historique
| Date | Adresse | Résultat | Réponse | Outils |
|---|---|---|---|---|
| 28 nov. 2026, 11:08 | tldraw-mcp-app.tldraw.workers.dev/mcp | OK | 1 011 ms | 6 |
| 28 nov. 2026, 11:04 | tldraw-mcp-app.tldraw.workers.dev/sse | OK | 1 558 ms | 6 |
Outils exposés (6, réponse à tools/list, 28 nov. 2026)
search
Search Editor API
Search the tldraw Editor API spec by writing JavaScript that receives a `spec` object and returns a result. The spec contains: spec.members (all Editor methods/properties with name, kind, signature, description, category), spec.categories (category names), spec.types.shapes (focused shape type definitions with props), spec.types.shapeTypes (list of all shape type strings), spec.helpers (exec helper functions with descriptions, params, examples). Examples: - Find shape methods: return spec.members.filter(m => m.category === "shapes").map(m => ({ name: m.name, signature: m.signature })) - Get arrow shape props: return spec.types.shapes.find(s => s.shapeType === "arrow") - List all categories: return spec.categories - Find a helper: return spec.helpers.find(h => h.name === "createArrowBetweenShapes")
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| code | string | oui | JavaScript code that receives `spec` and returns a result. Must use `return` to produce output. |
exec
Execute Code
Execute JavaScript code on a tldraw canvas. The code runs in the widget with access to the live `editor` instance, helper functions, and normal js. Use the `search` tool first to discover available Editor methods and shape types. Each canvas has a unique `canvasId`. Omit `canvasId` to create a new blank canvas. To edit an existing canvas, pass the `canvasId` that was returned by a previous exec call. Shapes and text grow depending on the amount of text they have. Use clever scripting to ensure there are no unintended overlaps. Examples: - Create a rectangle: editor.createShape({ _type: 'rectangle', shapeId: 'box1', x: 200, y: 120, w: 320, h: 180, text: 'Hello' }) - Connect shapes with an arrow: editor.createShape({ _type: 'arrow', shapeId: 'a1', fromId: 'box1', toId: 'box2', x1: 0, y1: 0, x2: 100, y2: 0 }) - Select and zoom: editor.select('box1'); editor.zoomToSelection() - Read shapes: return editor.getCurrentPageShapes() - Distribute evenly: editor.distributeShapes(editor.getSelectedShapeIds(), 'horizontal') - Box around shapes: boxShapes(['box1', 'box2'], { text: 'Group label', color: 'blue' }) - Stack shapes dynamically: editor.createShape({ _type: 'rectangle', shapeId: 'a', x: 0, y: 0, w: 300, h: 200, text: 'First box\nwith wrapping text' }); const bounds = editor.getShapePageBounds('a'); editor.createShape({ _type: 'rectangle', shapeId: 'b', x: 0, y: bounds.maxY + 20, w: 300, h: 200, text: 'Below first' })
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| code | string | oui | JavaScript code to execute. Has access to `editor` (tldraw Editor instance) and helper functions. |
| canvasId | string | non | Canvas ID to edit. Omit to create a new blank canvas. Pass a canvasId from a previous exec result to continue editing that canvas. |
_exec_callback
Exec Callback
App-only: widget calls this to resolve a pending exec request.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| channel | string | oui | |
| execKey | string | non | |
| result | object | non | |
| error | string | non |
_get_canvas_state
Get Canvas State
App-only: get the latest checkpoint for a canvas by its canvasId.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canvasId | string | oui |
read_checkpoint
Read Checkpoint
App-only: read shapes from a checkpoint by ID.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| checkpointId | string | oui |
save_checkpoint
Save Checkpoint
App-only: save shapes to a checkpoint (from user edits). shapesJson and assetsJson must be JSON array strings.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| checkpointId | string | oui | |
| shapesJson | string | oui | |
| assetsJson | string | non | |
| bindingsJson | string | non | |
| canvasId | string | non |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://tldraw-mcp-app.tldraw.workers.dev/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http tldraw https://tldraw-mcp-app.tldraw.workers.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : tldraw ; URL : https://tldraw-mcp-app.tldraw.workers.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : tldraw ; Server URL : https://tldraw-mcp-app.tldraw.workers.dev/mcp ; Create as a plugin{
"mcpServers": {
"tldraw": {
"url": "https://tldraw-mcp-app.tldraw.workers.dev/mcp"
}
}
}{
"mcpServers": {
"tldraw": {
"type": "http",
"url": "https://tldraw-mcp-app.tldraw.workers.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"tldraw": {
"url": "https://tldraw-mcp-app.tldraw.workers.dev/mcp"
}
}
}{
"mcpServers": {
"tldraw": {
"httpUrl": "https://tldraw-mcp-app.tldraw.workers.dev/mcp"
}
}
}[mcp_servers.tldraw]
url = "https://tldraw-mcp-app.tldraw.workers.dev/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
tldraw · L’Atlas · Test du
[tldraw — L’Atlas](https://latlas.dev/mcp/io.github.tldraw/tldraw)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.