Eraser MCP lets agents generate, create, read, search, update, export, and organize technical diagrams and documents in an Eraser workspace.
Description is untrusted, display-only upstream metadata. It never becomes policy, OAuth scope authority, or an agent instruction.
Pakkawork boundary
Research catalogue metadata only. No Pakkawork OAuth, credential, host, quota, executor, or verifier is enabled.
No Pakkawork execution adapter is enabled. Hosted account-authorisation availability is workspace-specific and checked separately in the dashboard.Check workspace connection options
Only field names, types, and required markers are shown. Secret values, default auth URLs, credential material, and inferred OAuth scopes are excluded.
DCR_OAUTH
DCR_OAUTH
eraser_mcp_DCR_OAuth
Provider setup
Developer setup
Client idclient_id · stringOptional
Client secretclient_secret · stringOptional
Redirect URIoauth_redirect_uri · stringOptional
Scopesscopes · stringOptional
User connection
No fields declared in this snapshot.
Capability index
Actions and trigger definitions
Static summaries are available. Live schemas remain disabled until PROVIDER_HUB_API_KEY is configured server-side.
Attach 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 a preset (e.g. 'use this file as a template for the System Design preset'), - you need to detach a file from a preset,…
Untrusted display-only summary
Create diagram
ERASER_MCP_CREATE_DIAGRAM
PREFERRED 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 yourself. Pass `text` only (plus destination params) and LEAVE `diagramType` UNSET unless the user EXPLICITLY named a type…
Untrusted display-only summary
Create document
ERASER_MCP_CREATE_DOCUMENT
PREFERRED 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 returns an error and you should call update_document (for natural-language edits) or manually_update_document (to replace v…
Untrusted display-only summary
Create file
ERASER_MCP_CREATE_FILE
Create 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 tool, if the user has not specified destination, ASK: 1. 'Should the file be private (just for you) or shared with your te…
Untrusted display-only summary
Create folder
ERASER_MCP_CREATE_FOLDER
Create a new folder.
Untrusted display-only summary
Create preset
ERASER_MCP_CREATE_PRESET
Create 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/references via `add_or_remove_template_or_reference` (or `create_template_or_reference` to spin up a fresh template fi…
Untrusted display-only summary
Create template or reference
ERASER_MCP_CREATE_TEMPLATE_OR_REFERENCE
Create 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. Templates and references are ALWAYS team-scoped resources under AI Presets — there is no concept of a private/persona…
Untrusted display-only summary
Delete diagram
ERASER_MCP_DELETE_DIAGRAM
Delete a diagram from a file.
Untrusted display-only summary
Delete document
ERASER_MCP_DELETE_DOCUMENT
Clear a file's document body to an empty markdown document.
Untrusted display-only summary
Delete file
ERASER_MCP_DELETE_FILE
Archive a file.
Untrusted display-only summary
Delete folder
ERASER_MCP_DELETE_FOLDER
Delete a folder. Rejects when the folder is not empty.
Untrusted display-only summary
Delete preset
ERASER_MCP_DELETE_PRESET
Delete a preset. Rejects when the preset has any rules, templates, or references.
Untrusted display-only summary
Export diagram
ERASER_MCP_EXPORT_DIAGRAM
Render 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.net) document — that returns fileUrl rather than imageUrl; download it and save it with a .drawio extension. draw.io exp…
Untrusted display-only summary
Export document
ERASER_MCP_EXPORT_DOCUMENT
Export a file's markdown document body as a downloadable artifact.
Untrusted display-only summary
Export file
ERASER_MCP_EXPORT_FILE
Returns 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 downloadable PDF. For a diagram image, use export_diagram; for the document body as markdown, use export_document.
Untrusted display-only summary
Get diagram
ERASER_MCP_GET_DIAGRAM
Fetch 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 diagram? Use export_diagram instead.
Untrusted display-only summary
Get document
ERASER_MCP_GET_DOCUMENT
Fetch the full markdown body of a file's document.
Untrusted display-only summary
Get file
ERASER_MCP_GET_FILE
Fetch a file's metadata, document outline (headers), and the list of diagrams in it.
Untrusted display-only summary
Get folder
ERASER_MCP_GET_FOLDER
Fetch a folder by id.
Untrusted display-only summary
Get me
ERASER_MCP_GET_ME
Fetch the current user, active team, and team memberships.
Untrusted display-only summary
Get preset
ERASER_MCP_GET_PRESET
Fetch a preset including its rules, templates, and references.
Untrusted display-only summary
Get template or reference
ERASER_MCP_GET_TEMPLATE_OR_REFERENCE
Fetch a template/reference's metadata, document outline, and diagram list.
Untrusted display-only summary
List diagrams
ERASER_MCP_LIST_DIAGRAMS
List the diagrams contained in a file.
Untrusted display-only summary
List files
ERASER_MCP_LIST_FILES
List files in the team workspace, optionally scoped to a folder.
Untrusted display-only summary
List folders
ERASER_MCP_LIST_FOLDERS
List 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 folder') without paging through the entire tree. Combining the two narrows further (e.g. top-level folders containing 'eng'…
Untrusted display-only summary
List presets
ERASER_MCP_LIST_PRESETS
List 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.
Untrusted display-only summary
List teams
ERASER_MCP_LIST_TEAMS
List the teams the current user belongs to (OAuth only).
Untrusted display-only summary
Manually create diagram
ERASER_MCP_MANUALLY_CREATE_DIAGRAM
ADVANCED — 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, etc.) pass the DSL source as `code`. For freeform diagrams pass a freeform definition as `code` — either JSON ({"title…
Untrusted display-only summary
Manually create document
ERASER_MCP_MANUALLY_CREATE_DOCUMENT
ADVANCED — 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 gets stored. Only callable on a file with an empty document body; if the file already has content, call manually_updat…
Untrusted display-only summary
Manually update diagram
ERASER_MCP_MANUALLY_UPDATE_DIAGRAM
ADVANCED — 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. USE ONLY WHEN: - the user gave you literal DSL/JSON they want pasted as-is, - you are converting from a non-Eraser sour…
Untrusted display-only summary
Provenance
Versioned facts, explicit trust.
The detail snapshot comes from an attributed MIT-licensed repository revision. Safe local icons use exact-match CC0 Simple Icons symbols; unmatched brands use monograms.