{"slug": "diagram-mcp-servers-let-your-agent-draw-in-draw-io-tldraw-and-excalidraw", "title": "Diagram MCP servers: let your agent draw in draw.io, tldraw and Excalidraw", "summary": "A developer blog published on 2026-11-28 recommends three ways to let coding agents produce diagrams: the draw.io MCP server installed via `npx -y @next-ai-drawio/mcp-server`, which draws on a live browser canvas that can be edited by hand; tldraw's hosted server at `https://tldraw-mcp-app.tldraw.workers.dev/mcp` for quick whiteboard sketches; and diagram skills that write draw.io or Excalidraw files directly into a repository when no server is needed. The post argues file-based diagrams suit pull-request review while browser canvases do not, and points readers to Calyban, free for Windows and Linux, to install the servers into Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI or Claude Desktop in one click.", "body_md": "[Dev blog](https://calyban.com/blog) · [Guides](https://calyban.com/blog#guide) · 2026-11-28\n\n# Diagram MCP servers: let your agent draw in draw.io, tldraw and Excalidraw\n\n**Short answer:** for editable diagrams, add the draw.io server (`npx -y @next-ai-drawio/mcp-server`), which draws on a live canvas in your browser that you can also edit by hand. For a quick whiteboard, add tldraw’s hosted server at `https://tldraw-mcp-app.tldraw.workers.dev/mcp`. If you only want a diagram file in your repo, a diagram skill does it without any server.\n\nOr search “diagram” in [Calyban](https://calyban.com/) and install any of these into your agents in one click, servers and skills alike. Free, no account.\n\nAgents are good at diagrams now. Mostly they need somewhere to draw.\n\n## draw.io\n\n[Next AI Draw.io](https://calyban.com/mcp/io-github-dayuanjiang-next-ai-drawio) opens a draw.io canvas in your browser and your agent draws on it while you watch. You can grab a box and fix it by hand at any point. When it looks right, export it from draw.io like any other diagram.\n\n```\nclaude mcp add drawio -- npx -y @next-ai-drawio/mcp-server\n```\n\nOn Windows, `cmd /c` goes before `npx`.\n\nAsk: “Draw the architecture of this repo: services, the database, the queue, and which service calls which.” The agent reads the code, then draws.\n\n## tldraw\n\n[tldraw](https://calyban.com/mcp/io-github-tldraw-tldraw) is published by the tldraw team and hosted, so there’s nothing to run locally:\n\n```\nclaude mcp add --transport http tldraw https://tldraw-mcp-app.tldraw.workers.dev/mcp\n```\n\nIt suits sketches, flows and brainstorms more than tidy architecture charts. The hand-drawn look is a feature when the diagram is a draft.\n\n## No server at all: diagram skills\n\nIf the diagram belongs in your docs as code, skip the canvas:\n\n- [Draw Io](https://calyban.com/skills/davila7-draw-io) and[Excalidraw](https://calyban.com/skills/davila7-excalidraw) skills teach the agent to write those formats directly into files in your repo.\n- Cathryn Lavery’s diagram-design collection has `import-drawio` and`import-excalidraw` commands for bringing existing diagrams in. The[diagram design kit](https://calyban.com/kits/collection-cathrynlavery-diagram-design) installs the set.\n\nA file in the repo gets reviewed in pull requests like everything else, which a canvas in a browser tab doesn’t.\n\n## Which one?\n\n- A diagram you’ll keep editing: draw.io.\n- A quick shared sketch: tldraw.\n- A diagram that lives next to the code: a skill.\n\n## The Calyban way\n\nSearch “diagram” in Calyban and all of these show up together. **Install** puts the servers into Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI or Claude Desktop in each one’s own format, and copies the skills into each agent’s skills folder from GitHub at a pinned commit, safety-checked first.\n\nCalyban is free for Windows and Linux at [/#download](https://calyban.com/#download). Share the best diagram your agent has drawn on [Discord](https://discord.gg/pHDNtgYvWn).", "url": "https://wpnews.pro/news/diagram-mcp-servers-let-your-agent-draw-in-draw-io-tldraw-and-excalidraw", "canonical_source": "https://calyban.com/blog/diagram-mcp-servers-drawio-tldraw", "published_at": "2026-11-28 00:00:00+00:00", "updated_at": "2026-11-29 06:14:40.825270+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["draw.io", "tldraw", "Excalidraw", "Next AI Draw.io", "Calyban", "Claude Code", "Cursor", "GitHub Copilot"], "also_reported_by": [], "takeaway": "Add the draw.io MCP server with `npx -y @next-ai-drawio/mcp-server` (prefix `cmd /c` on Windows) to have an agent draw on an editable browser canvas, or use a diagram skill to write draw.io/Excalidraw files into the repo for pull-request review.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/diagram-mcp-servers-let-your-agent-draw-in-draw-io-tldraw-and-excalidraw", "markdown": "https://wpnews.pro/news/diagram-mcp-servers-let-your-agent-draw-in-draw-io-tldraw-and-excalidraw.md", "text": "https://wpnews.pro/news/diagram-mcp-servers-let-your-agent-draw-in-draw-io-tldraw-and-excalidraw.txt", "jsonld": "https://wpnews.pro/news/diagram-mcp-servers-let-your-agent-draw-in-draw-io-tldraw-and-excalidraw.jsonld"}}