Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Tldraw Agent

FreeNot checked

Generates diagrams from natural language text descriptions using tldraw and Playwright, with PNG and SVG export.

GitHubEmbed

About

Generates diagrams from natural language text descriptions using tldraw and Playwright, with PNG and SVG export.

README

Generate diagrams from text. Works anywhere.

npx tldraw-agent draw "User → API → Database"

Install

npm install -g @joelhooks/tldraw-agent

Usage

CLI

tldraw-agent draw "microservices architecture with load balancer"
tldraw-agent draw "signup flow" --format svg -o signup.svg

Library

import { TldrawAgent } from '@joelhooks/tldraw-agent'

const agent = new TldrawAgent()
const { path } = await agent.draw({ prompt: 'system diagram' })

MCP

{
  "mcpServers": {
    "tldraw": { "command": "npx", "args": ["@joelhooks/tldraw-agent", "--mcp"] }
  }
}

Features

  • 🖼️ PNG/SVG export
  • 🤖 LLM-powered layout (Claude, GPT)
  • 📐 Architecture, flowcharts, entity diagrams
  • 🔌 Works as CLI, library, MCP tool, or agent skill

Environment

export AI_GATEWAY_API_KEY=...  # Vercel/Cloudflare AI Gateway key

License

MIT

from github.com/joelhooks/tldraw-agent

Installing Tldraw Agent

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/joelhooks/tldraw-agent

FAQ

Is Tldraw Agent MCP free?

Yes, Tldraw Agent MCP is free — one-click install via Unyly at no cost.

Does Tldraw Agent need an API key?

No, Tldraw Agent runs without API keys or environment variables.

Is Tldraw Agent hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Tldraw Agent in Claude Desktop, Claude Code or Cursor?

Open Tldraw Agent on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Tldraw Agent with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All browse MCPs