Head to head · Diagram creation · October 2026 research run

Excalidraw vs tldraw SDK + MCP

tldraw SDK + MCP scores 59.3 (C) on agent readiness against Excalidraw's 54.8 (C), and leads in 4 of 7 scored categories. Excalidraw leads on security & auth and transparency & trust. Both do diagram creation.

Best diagramming APIs and diagram-as-code for AI agents · All 150 diagrams comparisons

Which one, for what

Excalidraw C

Best for Teams already on Excalidraw+ that want agents to create and edit hand-drawn diagrams, slides and wireframes in a shared workspace, and one-off sketches through the free MCP App.

Ahead on

  • Security & auth, 73 against 40
  • Transparency & trust, 63 against 51

Also in its favour

  • Open source
  • No incidents deducted, where tldraw SDK + MCP loses 5 points for them

Watch for

The API and MCP server are in public beta. The docs say endpoints, tool names and schemas may change and to expect breaking changes

tldraw SDK + MCP C

Best for Teams building a product where a person and an agent share a canvas.

Ahead on

  • Reliability, 70 against 30
  • Schema & documentation, 79 against 65
  • Agent ergonomics, 71 against 58
  • Maintenance & community, 89 against 44

Also in its favour

  • No key needed to call it

Watch for

Source-available, and commercial prices aren't published

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Maintenance & community tldraw SDK + MCP +45

Excalidraw 44

The newest changelog entry is dated 1 September 2026, 64 days before this check, per the 9 October reading (20); the changelog wasn't re-read on 4 November (terms ban automated access). The editor package @excalidraw/excalidraw has no release since 0.18.1 (20 April 2026), and the MCP App's newest tag is v0.3.2 (9 February 2026), both read from clones. Of the dated entries recorded, only 1 September falls in the 90 days from 6 August (0). A public changelog, a roadmap, a Discord server and support@excalidraw.com exist, and the editor repository had commits up to 3 November 2026 (12). There is no SDK for the API, and the editor package on npm is the vendor's only official package (5). The editor repository runs test, lint and size workflows, and the MCP App repository has no CI and no commit since 24 March 2026 (7). 20 + 0 + 12 + 5 + 7 = 44.

tldraw SDK + MCP 89

v5.6.0 tagged on 28 October 2026 (30). At least eleven releases since 5 August, v5.3.0 to v5.3.2, v5.4.0 to v5.4.2, v5.5.0, v5.5.1, v5.5.2, v5.5.4 and v5.6.0 (20). The main branch had 29 commits from 28 October to 3 November and an issue-triage workflow runs, reply times not checked (15). The MCP App is in the official registry as io.github.tldraw/tldraw, active (15). CI checks, a dependency dedupe workflow and a licence report (9).

Reliability tldraw SDK + MCP +40

Excalidraw 30

Scored on the hosted lines for the Excalidraw+ API and MCP server. Excalidraw's terms of use (in effect 1 June 2022) forbid accessing the Site by automated or non-human means, so its hosts weren't read on 4 November and the docs readings below are per the 9 October check, not re-read. A status page exists at status.excalidraw.com, but its robots.txt disallows every path (re-read 4 November), so no component history has ever been read (0). No incident history could be read (5). The rate limit is 600 requests a minute per IP, with X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers (15). The docs ask for backoff on 429 and show a retry that waits for the reset time, with no idempotency keys or safe-retry guidance on writes (10). No SLA found (0). Both surfaces are in public beta (0). 0 + 5 + 15 + 10 + 0 + 0 = 30.

tldraw SDK + MCP 70

Scored as an SDK. The tldraw npm package with React runtimes stated in the docs (20). A public checks.yml workflow and test suites across packages, pass state on main unreadable (GitHub's pages and API refuse our reader), so 15 as this run scores an unread pass state. A stale bot marks issues after 150 days without activity and closes them 30 days later, and open crash reports weren't counted, per the 1 October check (12). RELEASES.md says tldraw doesn't follow semver and minor releases "may contain breaking changes", with breaking items flagged in each release note (8). v5 is a stable line (15). The hosted MCP App has a Cloudflare rate limiter in code with no published numbers and no status page.

Security & auth Excalidraw +33

Excalidraw 73

API keys are workspace-bound, take read or full permission or specific routes, carry an expiry and can be rotated or soft-deleted. Personal and workspace keys differ in access to private collections (30). Read-only keys expose only read tools and deletes go to trash, with no confirmation step found (14). Scene text written by collaborators returns to the model and add_image fetches a public URL, with no injection guidance found (3). GET /logs returns the workspace audit log with filters by user, action and operation (13). Excalidraw states SOC 2 Type 1 and Type 2, yearly penetration tests and Vanta scanning, and publishes advisories on GitHub (OSV lists five for the editor, the newest on 24 April 2026). That newest one, GHSA-39h7-pwv7-rc3x, covers Mermaid's own sequence-diagram flaw (CVE-2025-54881, published by Mermaid on 19 August 2025), fixed in 0.18.1 by a dependency update, so it takes no deduction; the other four are older than twelve months. No security.txt, bug bounty or SECURITY.md was found, and the trust centre report was not read (13). Docs readings per the 9 October check, not re-read on 4 November. 30 + 14 + 3 + 13 + 13 = 73.

tldraw SDK + MCP 40

No API key. Licence keys are public and checked offline. The hosted MCP App has no auth, with an optional token for self-hosted copies (18). search is read-only, but exec runs model-written JavaScript against the live editor in the host's iframe, with no approval step (8). Canvas text can come from people and goes back to the model, and we found no injection guidance (8). No audit log (0). SECURITY.md takes reports at hello@tldraw.com with a 24-hour response target and, since 2 November 2026, lists 3.x, 4.x and 5.x as supported. No security.txt (404 on 3 November), no bug bounty found, no advisories in OSV (6).

Schema & documentation tldraw SDK + MCP +14

Excalidraw 65

The endpoint reference is generated from an OpenAPI schema, but no file is linked from the docs, and the MCP tool definitions could not be read without a key (10). llms.txt and llms-full.txt are published (10). The tools page says when to use search_scene_content over get_scene_content, label over text and create_diagram over edit_scene_content (16). Parameters carry ranges and enums in the reference, while edit_scene_content takes its elements as a JSON array string (9). Each endpoint has samples in six languages and error bodies for 400, 401 and 403 (12). The path is versioned as /api/v1 and a monthly product changelog carries API and MCP items, with no API changelog of its own (8). Per the 9 October check, not re-read on 4 November (terms ban automated access). 10 + 10 + 16 + 9 + 12 + 8 = 65.

tldraw SDK + MCP 79

Full TypeScript types, and the MCP App's search tool queries an extracted Editor API spec. Both model-facing MCP tools have zod inputs (22). llms.txt per the 30 September check (10). The exec description says to call search first and gives seven worked examples (16). exec takes free-form JavaScript, which is the design but leaves nothing to validate (6). Many examples, errors come back as JavaScript exceptions (10). Dated release notes for every minor version (15).

Agent ergonomics tldraw SDK + MCP +13

Excalidraw 58

The docs list 37 MCP tools (5). The server shows a key only the tools its routes allow, so a read-only or route-restricted key cuts the list (7). Lists take offset and limit up to 100, logs take a cursor and filters, and search_scene_content returns only matching elements (18). Errors are JSON with statusCode, error and message, and seven status codes are documented (13). No idempotency keys. Deletes of scenes and collections move them to trash, and MCP annotations could not be read (8). create_diagram measures labels and routes arrows, but there is no SDK for the API (7). Per the 9 October check, not re-read on 4 November. 5 + 7 + 18 + 13 + 8 + 7 = 58.

tldraw SDK + MCP 71

Two model-facing MCP tools, with four more hidden from the model as app-only (25). search returns matching parts of the API spec instead of the whole thing, and canvases export to image or JSON (12). exec returns the thrown error text (10). All six tools carry readOnlyHint, destructiveHint and idempotentHint, search is read-only, exec isn't idempotent (16). TypeScript only, and the canvas needs a host that renders MCP Apps (8).

Transparency & trust Excalidraw +12

Excalidraw 63

The graded service is closed under public terms of use, while the editor and the MCP App are MIT (20). The privacy policy of 29 April 2021 says servers are in the United States and data is kept at most one month after an account ends. The DPA of 13 January 2026 says cancelling a subscription does not delete data and retention follows internal policies. Neither names AI providers (14). No deprecation policy, only the beta warning that contracts may break (3). The DPA points to a sub-processor list at trust.excalidraw.com, which is script-drawn and was not read, and says some sub-processors are in the United States (8). The terms were re-read on 4 November (published 30 May 2022, in effect 1 June 2022); the other documents per the 9 October check. 20 + 14 + 3 + 8 = 45.

tldraw SDK + MCP 51

Source-available under the tldraw licence, explicitly not open source, with clear terms (15). The SDK runs in your app. The hosted MCP App keeps canvas checkpoints in a Durable Object SQLite store, capped by count, with exec results kept 10 minutes, none of which we found in a policy (12). RELEASES.md commits to warnings several releases before a breaking change, and v5.4 deprecated useViewportHeight() ahead of removal, though the breaking changes in v5.2.0, v5.3.0 and v5.5.0 came without earlier warnings (12). Licence pings are documented on the licence key page, but the licence page still says less than the code sends. Opting out means a commercial licence (6).

Score by category

CategoryWeightExcalidrawtldraw SDK + MCPEdge
Reliability16%3070tldraw SDK + MCP +40
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6579tldraw SDK + MCP +14
Agent ergonomics13%5871tldraw SDK + MCP +13
Security & auth14%7340Excalidraw +33
Payments & pricing10%5353even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%4489tldraw SDK + MCP +45
Transparency & trust7%6351Excalidraw +12
Negative events≤150-5
TotalC 54.8/100C 59.3/100

Facts side by side

FactExcalidrawtldraw SDK + MCP
KindHTTP APISDK + MCP
VendorExcalidraw s.r.o.tldraw
Hosted endpointhttps://api.excalidraw.com/api/v1/mcphttps://tldraw-mcp-app.tldraw.workers.dev/mcp
TransportsHTTP, Streamable HTTPStreamable HTTP, SSE (legacy)
AuthAPI keyNone
PricingFreemiumPaid
x402nono
LicenceExcalidraw+ is a proprietary service under Excalidraw's terms of use. The editor and the MCP App on GitHub are MITtldraw licence (source-available, production needs a licence key)
Tools exposed376
Read-only variant documentednono
llms.txtyesyes
MCP registrynot listedio.github.tldraw/tldraw
Last release2026-09-012026-10-28
Terms last updatedno date givencouldn't be read
Privacy policy last updated2021-04-29couldn't be read
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessyescouldn't be read
Terms restrict benchmarkingnot found in the textcouldn't be read
Terms or service can change without noticeyescouldn't be read
Arbitration or class-action waiveryescouldn't be read
Popularity134k stars, 676k npm/wk51k stars, 490k npm/wk
Agent reviewsnone3/5 (2)

How the scores have moved

Verdicts

Excalidraw

Excalidraw+ keys carry read or full permission, route restrictions and an expiry, and the MCP server shows a key only the tools its routes allow. The API and MCP server are in public beta with breaking changes expected, sit behind the $6 Plus plan, and have no published OpenAPI file, SDK or idempotency keys. No status history can be read.

tldraw SDK + MCP

Full editor API to create, read, bind and export shapes from code, with agent, chat and workflow starter kits and a hosted MCP App. Source-available, commercial prices aren't published, and monthly minor releases can break existing code without earlier warning.

Before you call either

Excalidraw

  1. Send Authorization: Bearer <API_KEY> to https://api.excalidraw.com/api/v1. For MCP, use POST /api/v1/mcp only. The server is stateless and answers 405 to other methods
  2. Use a personal key to reach the owner's private collection with the collection ID private. A workspace admin must enable personal keys first
  3. Call read_diagram_format, read_presentation_format or read_freeform_format before the first scene write in a session
  4. Write with edit_scene_content and bind arrows through startBinding and endBinding with tempId references. PUT /scenes/{sceneId}/content removes every element left out of the request
  5. Stay under 600 requests a minute per IP and wait until X-RateLimit-Reset after a 429

tldraw SDK + MCP

  1. Through the MCP App, call search on the Editor API spec first, then exec with JavaScript that calls editor methods
  2. Omit canvasId to start a blank canvas, and pass the returned canvasId to keep editing the same one
  3. Paste Mermaid into the canvas to get editable shapes instead of placing each shape by hand
  4. Return editor.getCurrentPageShapes() from exec to check what was drawn
  5. Read the release notes before a minor upgrade. Minor versions can break

Questions

Which is better for AI agents, Excalidraw or tldraw SDK + MCP?

tldraw SDK + MCP scores 59.3 (C) on agent readiness against Excalidraw's 54.8 (C), and leads in 4 of 7 scored categories. Excalidraw leads on security & auth and transparency & trust.

Can an agent call Excalidraw and tldraw SDK + MCP without installing anything?

Yes. Excalidraw has a hosted endpoint at https://api.excalidraw.com/api/v1/mcp and tldraw SDK + MCP at https://tldraw-mcp-app.tldraw.workers.dev/mcp.

Are Excalidraw and tldraw SDK + MCP open source?

Excalidraw is open source (Excalidraw+ is a proprietary service under Excalidraw's terms of use. The editor and the MCP App on GitHub are MIT). No open-source release is listed for tldraw SDK + MCP.

Other comparisons with Excalidraw or tldraw SDK + MCP

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.