Squigly
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Squigly start a board and diagram how auth works in this repo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
squigly-mcp
Draw with Claude on a live whiteboard. This MCP server puts Claude on a Squigly board with you: you watch it draw, you draw too, and it looks at what you drew and builds on it.
Squigly boards are end-to-end encrypted. The key is the part of the board link after #, and
this server encrypts every shape on your machine with it before anything is sent. The relay
only ever sees ciphertext.
Set up
You need Node 22 or later.
git clone https://github.com/AndBobsYourUncle/squigly-mcp.git
cd squigly-mcp && npm installClaude Code
claude mcp add squigly --scope user -- node /path/to/squigly-mcp/src/server.jsClaude Desktop and other MCP clients (in the client's MCP config file):
{
"mcpServers": {
"squigly": {
"command": "node",
"args": ["/path/to/squigly-mcp/src/server.js"]
}
}
}Then ask: "start a squigly board and diagram how auth works in this repo". Claude makes a board and gives you the link. Open it, and it draws once you're there. You can also open a board on squigly.app yourself, click Share, start a live session, and paste that link to Claude.
Related MCP server: cnvs-whiteboard
What you can do together
Ask Claude to look. "Look at what I drew" gives Claude a picture of the board and reads its structure: boxes and their text, frames, arrows and what each end is attached to, arrow labels, notes and freehand sketches. It also hears who added, moved, changed or deleted what since it last looked.
Take turns. "Sketch the flow and I'll tidy it up." Claude waits until you've drawn and paused, then looks.
Build on what's there. Claude adds nodes next to what they connect to, connects shapes, relabels, restyles and removes, finding shapes by the text on them ("connect API to Cache"). It never redraws the rest, so your moves, colours and wording stay. Ask it to tidy up and it slides the boxes into a clean layout without changing how they look.
Edit Claude's drawing. Move or resize a box and its arrows follow, for everyone watching. Arrows Claude draws between boxes are attached to them, the same as arrows you attach in Squigly by dropping an end on a shape.
Follow Claude. Click Claude in the people list to follow it. Claude chooses what you see, zoom included: it can frame one part of a diagram while it explains it, then the next, then zoom back out. While it draws, your view frames the drawing as it grows.
Point things out. Claude can ring shapes for a few seconds, point its cursor at them, or leave a sticky note next to one.
Undo takes back Claude's last change and leaves anything you edited since alone.
Export the board as SVG, PNG, Mermaid or JSON.
Claude draws from Mermaid (flowchart, sequenceDiagram, mindmap, erDiagram, classDiagram) or from a list of nodes and edges, laid out for you.
Tools
Tool | What it does |
| Start a board and get its link / join one from a link / disconnect |
| Picture, structure and what changed since Claude last looked |
| Wait for someone to draw and pause, then look |
| Every shape's exact geometry and style |
| Mermaid diagrams, laid out |
| Nodes, edges and group frames, laid out |
| Add, connect, update and remove on what's there, with optional relayout |
| Free-form shapes |
| A ring around shapes for a few seconds |
| A sticky note next to a shape, placed where it covers nothing |
| Point at something, and frame or zoom what followers see |
| Take back Claude's last change |
| Save as SVG, PNG, Mermaid or JSON |
| Clear (undoable) / rename |
Settings
Environment variables, all optional:
Variable | Default | |
|
| The name on Claude's cursor |
|
| How fast shapes appear: |
|
| Where it keeps per-board hints (below) |
Privacy
The board link is the key. Anyone with it can open and edit the board, so treat it like a password. Claude is told the same.
Shapes are encrypted on your machine before they leave it. Squigly's relay stores and forwards only ciphertext.
What Claude sees of the board (the picture and the shapes) goes to the model your MCP client uses, like any other tool result.
On disk, the server keeps a small file per board with shape ids, the short keys Claude used for nodes (like
apiin a Mermaid source) and which arrows join which boxes. It stores no key, no labels and no drawing.Boards are saved on squigly.app, encrypted, so a link keeps working later.
Limits
Each message to the relay is at most 1 KB encrypted, so a very long label is refused with a clear error. Freehand lines carry at most 64 points. Changes go out at up to 25 a second.
This server speaks Squigly's live format directly. If Squigly changes that format, this server needs a matching update.
Develop
npm test # offline: encryption, parsing, layout, the collaboration layerSee MAINTAINING.md for how it fits together and the live test scripts.
License
MIT
Available Tools
19 toolsadd_noteAdd a sticky noteA
Puts a sticky note on the board, next to a shape (with a short arrow to it) or in free space. It finds room so it covers nothing.
Inputs: text (required), ref, side, arrow, +2 more.
add_shapesAdd shapesA
Adds individual shapes: rect, ellipse, diamond (with an optional label inside), text, line, arrow (points, or from_id/to_id to join two shapes, which then stay joined when moved) and draw (a freehand stroke). For diagrams, draw_mermaid, draw_diagram and edit_diagram place things for you.
Inputs: shapes (required), speed.
clear_boardClear the boardA
Deletes EVERY shape on the board, including what other people drew. Only when the user asks for a clean board. undo brings it back.
Inputs: confirm (required).
delete_shapesDelete shapesA
Removes exactly these shapes, for everyone. (edit_diagram remove also takes a box's arrows and labels.)
Inputs: refs (required), speed.
draw_diagramDraw a boxes-and-arrows diagramA
Draws nodes and the edges between them, laid out automatically in layers (direction TB, LR, BT or RL), with optional dashed group frames. You choose keys, labels, shapes and colors; it picks every coordinate. To change it afterwards use edit_diagram with the same keys.
Inputs: nodes (required), x, y, font, +6 more.
draw_mermaidDraw a Mermaid diagramA
Draws Mermaid source as hand-drawn shapes, laid out for you. Supports flowchart/graph (shapes, labels, -->, -.->, ==>, -->|label|, &, chains, subgraphs), sequenceDiagram (participants, actors, ->> -->> -x -), notes, loop/alt/opt/par/critical/break blocks, autonumber), mindmap, erDiagram (entities with fields, cardinalities) and classDiagram (members, relationships). Returns ids keyed by node so you can edit_diagram it later.
Inputs: source (required), x, y, speed, +2 more.
edit_diagramChange a diagram on the boardA
Changes what is already on the board, whoever drew it, without redrawing the rest: the user's moves, colours and text stay as they are. Refer to shapes by id, by a node key you used before, or by the text on them (e.g. "API"). New nodes go next to what they connect to, continuing the flow; their arrows are drawn as they appear. remove takes a box's arrows and labels with it. relayout slides the connected boxes into a fresh tidy layout (only when asked to tidy or rearrange).
Inputs: speed, remove, spacing, relayout, +4 more.
export_boardSave the board to a fileA
Writes the board (or some shapes and what connects them) to a file: svg or png (a picture), mermaid (a flowchart read back from the boxes and arrows, to keep in docs and redraw later) or json (the raw shapes). Relative paths are from the directory Claude Code was started in.
Inputs: path (required), format (required), refs, theme.
get_boardList the raw shapesA
Every shape on the board with exact positions, sizes and styles, for precise edits. look_at_board is usually what you want.
Inputs: type.
highlightHighlight shapesA
Draws a ring around shapes while you talk about them, then takes it away by itself after a few seconds. Returns right away.
Inputs: refs (required), color, frame, seconds.
join_boardJoin a live boardA
Joins an existing Squigly live room from its link (https://squigly.app/#room=,). Leaves any board you were on. Then look_at_board to see it.
Inputs: link (required), name.
leave_boardLeave the boardA
Finishes sending, removes your cursor and disconnects. The board stays as it is.
Inputs: no named parameters.
look_at_boardLook at the boardA
Shows you the board as an image (each shape tagged with its id), reads its structure (boxes and the text in them, frames, arrows and what both ends attach to, arrow labels, free text, freehand sketches) and lists what other people added, moved, changed or deleted since you last looked, and who. Call it whenever the user asks you to look at or check the board, or before building on something they drew.
Inputs: focus, image, show_ids.
move_cursorMove your cursor and what followers seeA
Moves your cursor, which everyone on the board sees. Point at a shape while you explain it, or go to x/y. With none of the options, it parks just outside the drawing, out of the way. (Drawing tools already park it when they finish.)
People who click Follow on you see your view, zoom included. Choose it with frame (fit these shapes, or "all" for the whole board), zoom (1 = actual size, 2 = twice as close, 0.5 = further out, centred where the cursor goes) or view (an exact board rectangle). Use it to walk people through a diagram: frame a part, explain it, frame the next. The view stays until you change it or draw; pointing outside it pans it along at the same zoom. It can only steer people who are following you.
Inputs: x, y, ref, view, +2 more.
new_boardStart a new live boardA
Creates a fresh end-to-end encrypted Squigly room and joins it. Returns the link: give it to the user to open in their browser so they can watch (and draw too). The room is saved, so the link keeps working later.
Inputs: name, title.
set_titleRename the boardB
Sets the board's title for everyone.
Inputs: title (required).
undoUndo your last changeA
Takes back your last change(s) to the board (a drawing, an edit, a clear). Anything someone else has changed since is left as they made it, and reported as kept.
Inputs: speed, steps.
update_shapesChange shapesA
Changes shapes by reference: move them (dx/dy, or new x/y), resize, relabel, recolor or restyle. Fields you leave out stay as they are, and arrows attached to a moved box follow it. For lines and arrows, points replaces the whole path.
Inputs: updates (required), speed.
wait_for_changesWait for the user to drawA
Waits until someone else changes the board and then pauses (so you see a finished thought, not half a stroke), then returns the same as look_at_board. For taking turns: "sketch it and I will tidy it", "circle what you mean". Returns early with nothing if the time runs out.
Inputs: quiet_seconds, timeout_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools have clearly distinct roles, and the descriptions actively steer the agent (e.g. look_at_board vs get_board: 'look_at_board is usually what you want'; edit_diagram remove vs delete_shapes). The main soft spots are update_shapes vs edit_diagram (both edit existing shapes by reference) and move_cursor, whose description also covers follow/view/zoom steering that has no tool of its own, which muddies what that tool actually does.
The set follows a verb_noun pattern almost throughout (join_board, look_at_board, add_shapes, delete_shapes, draw_diagram, edit_diagram, export_board). Minor deviations: new_board uses an adjective rather than a verb (create_board would match), and undo/highlight are bare verbs, but nothing is ambiguous or mixed-convention in style.
At 19 tools this is slightly above the comfortable range, but the domain is broad (live collaboration, freehand drawing, diagram generation/editing, export), and each tool covers a genuinely separate capability rather than a duplicate. It sits just short of feeling padded.
The lifecycle is well covered: create/join/leave a room, read (visual + exact), add/update/delete/clear shapes, undo, diagrams in and out, export to four formats, presence (cursor, highlight, wait_for_changes). Gaps are minor: no redo to pair with undo, no way to delete/close or list rooms, and follow/view control is only exposed as options on move_cursor rather than its own operation.
Maintenance
Related MCP Connectors
Give Claude a whiteboard: notes, links, images and diagrams on a board you both see and edit.
A live board you share with Claude, ChatGPT and Cursor: notes, frames, arrows and comments.
Whiteboard where any shape opens into another canvas. Claude Code and Codex plugins render plans on it.
A shared Excalidraw board that people and agents draw on together
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to create, open, and edit persistent tldraw whiteboards in real-time, with live collaboration between human and AI.1-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to collaboratively read, write, draw, and diagram on a shared real-time whiteboard canvas with live human edits.1MIT
- AlicenseAqualityDmaintenanceLets Claude, Codex, Cursor and other MCP clients draw hand-drawn Excalidraw diagrams on a local whiteboard, saving them as real .excalidraw files the agent can inspect, revise and undo. It also provides rendering to PNG, SVG import, and docs so agents can self-serve setup and troubleshooting.1962 npm2MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to turn architecture descriptions, flows, and data into 25 types of auto-laid-out, hand-drawn .excalidraw diagrams that stay editable, with optional SVG/PNG export and a version-controlled knowledge graph the AI can query and lint. Runs fully offline in Cursor, Claude Code, and Windsurf with no API keys, and diagrams can be revised through natural language.-