Eraser MCP for AI agents
Agents read Eraser MCP at once. Changes and sends are held for a person's approval by default.
About Eraser MCP
Eraser MCP lets agents generate, create, read, search, update, export, and organize technical diagrams and documents in an Eraser workspace.
What an agent can do in Eraser MCP
Every Eraser MCP action is classed by the platform as a read, a change or a send. Reads run at once. Changes and sends are held for a person by default.
Runs at once (reads)
Looks things up in Eraser MCP without asking first. 16 actions.
- Export diagramRender a canvas diagram to PNG or JPEG and return a temporary image URL. Tell the user to download it from the returned imageUrl. Set format: "drawio" instead to export an editable draw.io (diagrams.n
- Export documentExport a file's markdown document body as a downloadable artifact.
- Export fileReturns the Eraser file URL for PDF export. NOTE: programmatic PDF export is not yet available via MCP — this returns a link for the user to export from the Eraser app's export menu, not a downloadabl
- Get diagramFetch a diagram's metadata and DSL/JSON code. For freeform diagrams, set includeFreeformDefinition: true to get the full scene structure (elements, connections, titles). Need a PNG image of the diagra
- Get documentFetch the full markdown body of a file's document.
- Get fileFetch a file's metadata, document outline (headers), and the list of diagrams in it.
- Get folderFetch a folder by id.
- Get meFetch the current user, active team, and team memberships.
- Get presetFetch a preset including its rules, templates, and references.
- Get template or referenceFetch a template/reference's metadata, document outline, and diagram list.
- List diagramsList the diagrams contained in a file.
- List filesList files in the team workspace, optionally scoped to a folder.
Show all 16
- List foldersList folders. Pass `parentFolderId` to scope to direct children of a folder (or `null` for top-level only). Pass `nameContains` to resolve a folder the user names by string (e.g. 'the Engineering fold
- List presetsList the team's presets. Pass `nameContains` to resolve a preset the user names by string (e.g. 'the Marketing preset') without scanning the full list — much cheaper in context tokens.
- List teamsList the teams the current user belongs to (OAuth only).
- SearchFull-text and semantic search across files or diagrams. Omit 'kind' for content search (finds matching blocks). Use kind: 'file' only to look up a file by name (no block content returned). Use kind: '
Held for approval by default (changes and sends)
Held for a person's approval by default. The approval is recorded and the action is sent once, never twice, with 10 seconds to undo. 26 actions.
- Add or remove template or referenceAttach or detach an EXISTING file as a template (style anchor) or reference (terminology/concept anchor) of a preset. Use this tool when: - the user has an existing workspace they want to promote into
- Create diagramPREFERRED for creating a diagram from a natural-language prompt — Eraser's AI picks the diagram type, generates the DSL, and renders it. DO NOT pre-classify the user's request into a diagram type your
- Create documentPREFERRED for populating a document from a natural-language prompt — Eraser's AI generates the markdown. Only callable on a file with an empty document body; if the file already has content, this retu
- Create fileCreate an empty file, or duplicate an existing file when sourceFileId is provided. Never populates content from a prompt — use create_document/create_diagram for AI generation. BEFORE calling this too
- Create folderCreate a new folder.
- Create presetCreate a new preset (the team-level container for AI styling: templates, references, and rules). After creating, the typical next steps to make the preset useful are: 1. Add example files as templates
- Create template or referenceCreate a new template (style anchor) or reference (terminology/concept anchor) file and, when `presetId` is provided, attach it to that preset in a single call. Auto-publishes the file's first version
- Delete diagramDelete a diagram from a file.
- Delete documentClear a file's document body to an empty markdown document.
- Delete fileArchive a file.
- Delete folderDelete a folder. Rejects when the folder is not empty.
- Delete presetDelete a preset. Rejects when the preset has any rules, templates, or references.
Show all 26
- Manually create diagramADVANCED — most callers should use create_diagram instead. This tool writes a caller-supplied diagram definition VERBATIM into a new diagram; no AI runs. For DSL diagrams (flowchart-dsl, sequence-dsl,
- Manually create documentADVANCED — most callers should use create_document instead. This tool populates an empty file's document body with caller-supplied markdown VERBATIM; no AI runs and the bytes you pass are exactly what
- Manually update diagramADVANCED — most callers should use update_diagram instead. This tool writes a diagram's complete DSL/JSON (or freeform edits) VERBATIM; no AI runs and the bytes you pass are exactly what gets stored.
- Manually update documentADVANCED — most callers should use update_document instead. This tool replaces a file's document body with caller-supplied markdown VERBATIM; no AI runs and the WHOLE body is overwritten (no targeted
- Manually update fileReplace a file's document markdown and/or diagram code in one call. No AI — caller supplies exact markdown/DSL/JSON.
- Publish template or referencePublish a new version of a template/reference file.
- Select teamSet the active team for the session when the user belongs to multiple teams (OAuth only).
- Update diagramUSE THIS for any user request that describes the change in natural language — verbs like 'add', 'remove', 'change', 'rename', 'recolor', 'make it more X', etc. Eraser's AI applies the change to the ex
- Update documentUSE THIS for any user request that describes the change in natural language — verbs like 'add a section', 'rewrite the intro', 'fix the typo', 'remove the deprecated paragraph', etc. Eraser's AI appli
- Update fileUpdate file metadata (title, folder, sharing). When applyTemplate is provided, AI fills the file's document and diagrams from a preset template.
- Update folderRename or move a folder, or bulk-apply a link-sharing setting to every file inside it (recursively). Note: folders do not store linkAccess themselves — to change sharing you MUST pass both `linkAccess
- Update presetRename a preset or update its metadata (`name`, `description`, `isDefault`). Does NOT modify rules or templates/references — use `update_rules` and `add_or_remove_template_or_reference` for those.
- Update rulesAdd, update, or remove rules on a preset in a single batched call. Rules are natural-language instructions the AI will follow when generating diagrams/documents under this preset (e.g. 'use dark theme
- Update template or referenceRename a template or reference file.
Changes wait in Needs you
Changes and sends in Eraser MCP are held for a person's approval by default. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.
Eraser MCP questions
Can an agent change data in Eraser MCP on its own?
Not by default. Changes and sends in Eraser MCP are held for a person's approval. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.
What can an agent read in Eraser MCP?
This connector lists 16 read actions. Reads run at once, without waiting for approval.
How does Eraser MCP connect?
It connects with dcr oauth. Connectors are built and maintained by third-party developers; availability is confirmed during scoping.