Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables reading, writing, and validating .tldr files for tldraw, a headless implementation without browser dependencies.

README.md

tldraw-mcp — headless tldraw MCP server

Node-only MCP server exposing read_tldr, write_tldr, and validate_tldr tools. No browser, no DOM, no React — runs in plain Node v24.

Pinned version

@tldraw/editor    5.1.1
@tldraw/store     5.1.1
@tldraw/tlschema  5.1.1

Verified import surface (tldraw 5.1.1)

| Symbol | Package | Notes | |--------|---------|-------| | Store (class) | @tldraw/store | Use directly — createTLStore from @tldraw/editor hangs the process | | createTLSchema | @tldraw/tlschema | NOT in @tldraw/editor for 5.x | | createShapeId | @tldraw/tlschema | | | createBindingId | @tldraw/tlschema | | | parseTldrawJsonFile | @tldraw/tlschema | For reading .tldr files | | toRichText | @tldraw/tlschema | Convert plain text → ProseMirror richText doc |

NEVER import the tldraw umbrella package at runtime. NEVER call new Editor() or createTLStore from @tldraw/editor in read/write/validate paths. @tldraw/tlschema is CJS — load via createRequire in .mjs files (named ESM imports fail).

Tools exposed

  • read_tldr — parse a .tldr file, return records + schema version
  • write_tldr — accept a scene spec, build a .tldr file envelope
  • validate_tldr — validate a .tldr JSON blob against the live schema

Provisioning

Requires Node v24.

npm ci
npm run build

Built output: dist/index.js (ESM, produced by tsc).

MCP registration (LOCAL dev form)

Add to your repo's .mcp.json (already committed at repo root):

{
  "mcpServers": {
    "tldraw": {
      "type": "stdio",
      "command": "node",
      "args": ["tools/tldraw-mcp/dist/index.js"]
    }
  }
}

The universal npx -y github:jinsoo/tldraw-mcp form (see below) can also be used here once the standalone repo is published.

Upstream tracking

To upgrade to a newer tldraw release:

./track-upstream.sh

This bumps @tldraw/* in package.json, re-extracts src/defaults.json via npm run probe-defaults, vendors a fresh llms-docs.txt, rebuilds, and runs the full test suite. Do NOT run during active development.

llms-docs.txt

llms-docs.txt is the tldraw LLM reference doc vendored at the pinned version. It is fetched by track-upstream.sh from https://tldraw.dev/llms-docs.txt.

.tldr file envelope

The correct write shape (do NOT use serializeTldrawJson — needs Editor):

{
  tldrawFileFormatVersion: 1,
  schema: store.schema.serialize(),
  records: store.allRecords()   // flat ARRAY, not a map
}

schemaVersion is 2 for tldraw 5.1.1.

Universal install (any agent)

Runs straight from GitHub — no npm account, no local checkout:

npx -y github:jinsoo/tldraw-mcp

Claude Code (.mcp.json):

{ "mcpServers": { "tldraw": { "type": "stdio", "command": "npx", "args": ["-y", "github:jinsoo/tldraw-mcp"] } } }

Any MCP host that registers stdio servers (config.yaml mcp_servers example):

tldraw: { type: stdio, command: npx, args: ["-y", "github:jinsoo/tldraw-mcp"], enabled: true }

Tools: read_tldr, write_tldr, validate_tldr.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Browser & Scraping servers.