Create, edit, and manage Excalidraw diagrams and whiteboards through AI agents. Generate flowcharts, architecture diagrams, and visual workflows; organize scenes and collections, update existing drawings, and export diagrams as shareable links.
Try asking
Encrypted at rest, isolated from the model
Resolved from an AES-256-GCM vault at the moment of the call and attached to the request — the model never sees the secrets.
List scenes in the whole workspace, or in one collection with collectionId, with their ids and sharing links. Returns 25 per page by default (limit: up to 100); while hasNextPage is true, call again with offset to get the rest.
Create an empty scene in a collection and return its sceneId (for the drawing tools) and url (for your reply). collectionId is required: find it with list_collections, or make one with create_collection. To draw right away, skip this and pass newScene to the first drawing tool instead.
Get scene metadata
Update scene metadata
Delete scene by ID
Share scene by public link
Share presentation slides
List a scene's read-only (embeddable) links with their url and embedHtml iframe, newest first.
Create a read-only link to a scene that anyone can open without signing in, and that embeds in other sites: returns its url and an embedHtml iframe. Use it when the user wants to embed or show a drawing elsewhere. Start it on what to show: frameId for a slide, elementIds for a drawing (the ids a write tool returned), or area; without them it starts on all content. A scene can have many read-only links, each with its own start and options; share_scene is the scene's one public view or edit link instead.
Change a read-only link (list_readonly_links gives the ids): its name, where it starts (frameId, elementIds or area), its display options, or status 'inactive' to turn it off and 'active' to turn it on again. Only the fields you pass change; the url stays the same.
Delete a read-only link for good: its url and every embed of it stop working. To turn it off for a while, use update_readonly_link with status 'inactive'.
Read a scene's full content: every element on the canvas (deleted ones are left out), the app state and the scene version. Image files are left out unless you pass images: true. An image element still has its position, size and fileId, which is all it takes to move, resize or delete it. To find shapes, labels or text, search_scene_content returns less.
Search a scene's shapes and text without loading the full scene content. Returns full matching Excalidraw element nodes for standalone text, labeled shapes, and other elements filtered by type, frame, and text query.
Add, update, and delete scene elements using valid Excalidraw element format. Before adding hand-built content, read the matching read_*_format guide (read_diagram_format for hand-built diagrams, read_presentation_format for custom slides, read_freeform_format for everything else); pass topics to read only what you need. Do not include ids in add. Use tempId for same-request references such as frameId, containerId, startBinding.elementId, and endBinding.elementId. Use real persisted ids for update/delete. New elements go on top; use zOrder to stack elements elsewhere, and never set index. Use label for shape-owned text. Bind arrows explicitly with startBinding/endBinding when they point at shapes. Do not copy XML, Markdown prose, comments, or documentation tags into JSON payloads.
Guide for diagrams: which diagram tool fits, Mermaid tips and color classes, create_diagram input, and the rules for hand-built swimlanes and layouts. Read it before hand-building a diagram with edit_scene_content; the diagram tools themselves don't need it. Topics: workflow, core, mermaid, create_diagram, hand_built, examples.
Guide for presentations (one frame = one slide): compose_slide layouts, custom slides with create_slide, slide content and typography, talking points in presenter notes, and reveal animations. Read it once before building a deck (planning, talking points, design) and before a custom slide (create_slide); compose_slide calls need nothing else. Topics: workflow, core, slides, content, animations, charts, examples.
Guide for everything else built with edit_scene_content: timelines, wireframes, tables, charts, sticky-note boards, annotations, and drawings, plus the element format. Read it before adding hand-built content that is not a diagram or a slide; not needed for updates, deletes, create_sticky_notes, or add_image. Topics: workflow, core, timelines, wireframes, tables, boards, drawings, charts, examples.
Find the fonts text can use, as the value of "fontFamily" on texts and labels in edit_scene_content: Excalidraw's own as numbers (5 Excalifont is the default) and Google fonts as ids ("google:Kalam"). Every font has Latin letters; "cjk" says which of Chinese, Japanese, and Korean it is made for. Filter by kind, by one of those languages, or by name. Returns 25 per page by default (limit: up to 100); while hasNextPage is true, call again with offset to get the rest.
Create a laid-out node-and-edge diagram from semantic JSON: nodes (with a kind for shape and color), groups, and labeled edges. Same layout engine and look as create_mermaid_diagram; use whichever input is easier. Prefer create_mermaid_diagram for sequence, class, ER, and state diagrams. The tool sizes, places, colors, and connects everything; never hand-position boxes and arrows for a node-and-edge diagram.
Read back a diagram that create_mermaid_diagram or create_diagram generated, e.g. in an earlier conversation. Without diagramId, lists the scene's diagrams (id, type, title, bounds). With diagramId, returns the Mermaid definition (or create_diagram input) it was generated from, its options, and the element id of every node. To extend or restructure a diagram: read its source here, edit it, and call the same tool with the full new source and replaceDiagramId. Regenerating discards edits made to the diagram since it was generated (moved or restyled elements, notes added to it); for small changes use edit_scene_content with the node element ids instead.
Create a diagram from Mermaid syntax. The server lays it out (Pele, the engine behind Excalidraw's own Mermaid import), sizes every shape to its text, colors it, and writes native, editable Excalidraw elements. Use it for anything Mermaid expresses well: flowchart (graph), sequenceDiagram, classDiagram, erDiagram, stateDiagram-v2, mindmap become editable shapes and arrows; other Mermaid types become a static image. Color nodes (flowcharts, state diagrams) by meaning with built-in classes, no classDef needed: A:::database or class A,B service. Classes: service (blue), database (green), queue (yellow), client (cyan), external (pink), pending (yellow), warning (red), danger (red), error (red), success (green), decision (yellow), terminal (violet), highlight (orange), muted (gray), note (a sticky note, flowcharts only). Flowchart edges become elbow arrows with small filled heads, which stay orthogonal when nodes are moved (a curve set in the definition's config keeps them curved). Mind maps: write mindmap syntax (indented children under root((Central idea))); branches are split around the center, one color each. Nodes and edges are placed in the order they are declared: when two edges cross, swapping their lines (or the order of the nodes they lead to) usually untangles them. Syntax errors come back with the line and column to fix.
Create (or recompose) a finished slide from content: pick a layout and pass the text, and the server does all geometry. It sizes and wraps every text with the real fonts, aligns cards and columns, shrinks text when content is long, colors items, and can add reveal animations. Layouts: title, section, bullets, cards, columns, stats, steps, quote, diagram (a Mermaid diagram), chart (a create_chart chart), and table (a create_table table), each fitted to the slide. Prefer it over create_slide + hand-positioned edit_scene_content. Pass frameId to rework an existing slide in place.
Create or recompose a whole deck in one call: an array of slides, each exactly as compose_slide takes it, composed in order (style, accent, decor, animate, animationEffect, and direction set defaults for all). Returns each slide's frameId, number, title and item element ids, reveal clicks, layoutIssues, and warnings. Stops at the first slide that fails, keeping the slides before it.
Add an empty slide to fill by hand: a properly positioned and ordered Excalidraw frame (one frame = one slide). Prefer compose_slide, which builds the whole slide from content; use create_slide only for custom slides no compose_slide layout fits. The tool computes the frame position, size, and slide order automatically and returns the frame id, safe content area, and suggested layout regions to fill with edit_scene_content. Always use this instead of creating frame elements manually when building presentations. Call read_presentation_format first for slide design guidance.
Update a slide's name, presenter notes, or position in the presentation order. Use this instead of editing the frame with edit_scene_content: it merges customData safely, so slide order and notes never overwrite each other.
Set a slide's reveal animations: which elements appear on each presenter click and with which entrance effect (fade or slide in from a direction). Replaces the slide's whole animation sequence. Unlisted elements are visible from the start. Use it after filling a slide, for progressive reveals such as list items, process steps, or diagram build-ups.
Copy a slide with everything on it (content, presenter notes, reveal animations) into a new slide, right after the original or at slideNumber. Use it for slides that share a design, then change the copy with compose_slide (frameId) or edit_scene_content.
Delete a slide with everything on it, and renumber the slides after it. Arrows from other content to the slide are unbound, not deleted.
List a presentation's slides (frames) in presentation order with their bounds, safe content areas, presenter notes, element counts, and reveal animations. Use this to navigate or review a deck before editing it.
Add a board of real Excalidraw sticky notes, laid out in clusters: brainstorms, retrospectives, affinity maps, idea walls, feedback collections, to-do boards, and 2x2 matrices (columns: 2). Pass clusters of short note texts; the tool sizes, colors, and aligns every note and writes cluster headings. With frameId the board goes onto a slide, shrunk to fit. The result lists every note's id and bounds and each cluster's cell, for follow-ups such as dot votes, quadrant boxes, or arrows. Always prefer this over hand-placing notes for more than a few notes. Use edit_scene_content with type 'stickynote' for a single note or notes attached to existing content.
Add an editable table: comparison tables, pricing grids, glossaries and translations, feature matrices, schedules, specs. Pass the columns (headers) and rows of cell texts; the tool measures every cell with the real fonts (any language), sizes the columns to their content, wraps long cells inside their column without breaking words, insets and aligns the text, and tints the header row. Numbers align right and short marks (✓, —) center by default. highlightColumn marks a recommended column; with frameId the table is fitted onto a slide. Prefer this over hand-placing rectangles and texts for any grid of text. The result lists every cell's element ids for later edits, and a tableId to regenerate the table in place with replaceTableId.
Draw an accurate chart from data as native, editable Excalidraw elements: column, bar, line, area, pie, donut, scatter, waterfall, or funnel. The server computes every bar, slice, and point from the values, plus nice axis ticks, gridlines, value and category labels, legend, and colors; never hand-place chart shapes. Pass categories and series for most types, points for scatter. On a slide, pass frameId. To change the data later, call it again with replaceChartId.
Move, scale, rotate, mirror, or duplicate a set of elements in one call, keeping labels in their shapes and arrows attached. Select by elementIds, groupId, diagramId, chartId, tableId, or frameId (a slide's content); whole groups, labels, and arrows between selected shapes come along. Use it to move or resize a diagram or a group, to mirror one half of a symmetric drawing into the other (duplicate with flip), to repeat an element in a row, or to rearrange a layout without rewriting every coordinate.
Add an image to a scene from a public URL or an inline base64 data URL. The tool stores the image file, detects its natural dimensions, scales it to fit, and creates the image element, optionally inside a frame (slide). Use this for logos, photos, screenshots, and illustrations in presentations and diagrams instead of drawing image-like shapes.
Check a scene (or just some elements) for layout problems and get a list of fixes, without rendering an image: text sticking out of shapes, words broken mid-word, text on top of other text or crossed by lines, arrows passing through shapes, running inside the shape they're bound to, making U-turns, drawn on top of each other, or crossing each other, arrow labels covering shapes, overlapping shapes, arrows that look attached but aren't bound, elements outside their frame, and generated diagrams too wide or tall for one screen. Write tools already run this check on what they change (layoutIssues, only the problems the write caused). Use this tool to re-check a whole scene or slide, content other tools wrote, or that a fix worked. Each issue has a source: "generator" when it involves content a generator tool wrote (diagram, chart, table, composed slide), which you should fix; "freeform" for hand-placed content, drawn by a person or added with edit_scene_content. Fix freeform issues in what you placed in this conversation; report the rest to the user rather than rearranging their drawing.
Render a scene, a frame, or just the region around some elements as a PNG, to visually inspect the result. Pass the elementIds a write tool returned to check what you just changed at full resolution. Write tools already report layout problems (layoutIssues); this is the visual check after that. Full-scene renders are scaled down to fit 1920x1080; use elementIds to see details of a large scene. On a scene with many or large images, images: false is much faster when the pictures aren't what you check.
List the workspace's collections (folders of scenes) with their ids. Personal API keys also get the key owner's private collection (id 'private'). Returns 25 per page by default (limit: up to 100); while hasNextPage is true, call again with offset to get the rest.
Create collection
Get collection by ID
Update collection
Delete collection
Deprecated alias of list_scenes with collectionId (same result); use list_scenes. Lists the scenes in one collection with their ids and sharing links, 25 per page by default (limit: up to 100); while hasNextPage is true, call again with offset.
Deprecated alias of create_scene (same input, same result); use create_scene. Creates an empty scene in the given collection and returns its sceneId (for the drawing tools) and url (for your reply).
Pick your app for a step-by-step guide. Most sign in with OAuth, so there is no API key to copy.
Discovery, routing, credentials, tool scoping and execution logs all happen at the gateway→connections stay ACTIVE with no work from you
Excalidraw MCP runs through a gateway that holds the credentials, scopes the access and records every call.
Managed auth, hosted MCP servers, and every Excalidraw MCP tool your agent needs.
Free to start.
Add as preferred source on Google