Tldraw Agent
FreeNot checkedGenerates diagrams from natural language text descriptions using tldraw and Playwright, with PNG and SVG export.
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
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-agentFAQ
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
Playwright
Browser automation, scraping, screenshots
by MicrosoftPuppeteer
Browser automation and web scraping.
by modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
by opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
by robhunterCompare 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
