---
title: "Eraser MCP integration for LuumenAI"
url: "https://www.luumen.ai/integrations/eraser-mcp/"
entity: SoftwareIntegration
category: "AI & automation"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# Eraser MCP integration for LuumenAI

Read and update your team's Eraser diagrams and docs from the terminal

## What LuumenAI can do with Eraser MCP

LuumenAI connects to Eraser MCP with OAuth 2.0 and exposes 42 tools (16 read-only · 12 write · 14 destructive). Reads answer immediately; writes are shown as a plan and require approval by default, configurable per tool by an administrator.

## Key facts

- Authentication: OAuth 2.0
- Tools available: 42 tools (16 read-only · 12 write · 14 destructive)
- Plan: available on all plans
- Category: AI & automation

## About Eraser MCP with LuumenAI

Connect Eraser and Luumen can read the architecture your team already keeps there. It lists files, opens a document's markdown, and pulls a diagram's DSL for context during an incident or a review. When something is out of date, it drafts the new diagram or document and holds the change for your approval first. Sign in once with OAuth.

## Example tools

Read-only (16 in total):

- `ERASER_MCP_EXPORT_DIAGRAM` — Render a canvas diagram to PNG or JPEG and return a temporary image URL.
- `ERASER_MCP_EXPORT_DOCUMENT` — Export a file's markdown document body as a downloadable artifact.
- `ERASER_MCP_EXPORT_FILE` — Returns the Eraser file URL for PDF export.
- `ERASER_MCP_GET_DIAGRAM` — Fetch a diagram's metadata and DSL/JSON code.
- `ERASER_MCP_GET_DOCUMENT` — Fetch the full markdown body of a file's document.
- `ERASER_MCP_GET_FILE` — Fetch a file's metadata, document outline (headers), and the list of diagrams in it.
- `ERASER_MCP_GET_FOLDER` — Fetch a folder by id.
- `ERASER_MCP_GET_ME` — Fetch the current user, active team, and team memberships.

Write and destructive (26 in total, approval required by default):

- `ERASER_MCP_ADD_OR_REMOVE_TEMPLATE_OR_REFERENCE` — Attach or detach an EXISTING file as a template (style anchor) or reference (terminology/concept anchor) of a preset.
- `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.
- `ERASER_MCP_CREATE_DOCUMENT` — PREFERRED for populating a document from a natural-language prompt — Eraser's AI generates the markdown.
- `ERASER_MCP_CREATE_FILE` — Create an empty file, or duplicate an existing file when sourceFileId is provided.
- `ERASER_MCP_CREATE_FOLDER` — Create a new folder.
- `ERASER_MCP_CREATE_PRESET` — Create a new preset (the team-level container for AI styling: templates, references, and rules).
- `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.
- `ERASER_MCP_DELETE_DIAGRAM` — Delete a diagram from a file.

## Frequently asked questions

### How does LuumenAI connect to Eraser MCP?

Authorize once with OAuth 2.0. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in Eraser MCP on its own?

Read actions answer immediately. Anything that writes is shown as a plan and requires approval by default, including the 14 actions classified as destructive. Administrators configure that per tool.

### Is there an audit trail?

Every call to Eraser MCP — read or write, approved or declined — is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/eraser-mcp/
