Eraser MCP server for AI agents

Live

OAUTH 2.1

DIAGRAMS

Design

Eraser MCP gives your agent each user's Eraser workspace: generate and edit diagrams and documents from prompts, search files, export diagrams as images, and manage folders, presets, and templates.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Eraser MCP
agent · Acme Q3
Run
Create a sequence diagram of our login flow in the Auth Service file.
S
erasermcp_create_diagram
164ms
Architecture agent
Done. I added a sequence diagram to the Auth Service file covering the browser, API gateway, auth service, and user database.
Sources: Eraser, 1 diagram created
erasermcp
1 diagram
18:29
Message Claude...

Tools your architecture agent reaches for on Eraser, scoped per user.

CALL ANY TOOL
42 tools for Eraser: generate and update diagrams and documents with Eraser's AI, search and export files, and manage folders, teams, presets, rules, and templates.
erasermcp_add_or_remove_template_or_reference
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. 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, - or you just created a template via `create_template_or_reference` WITHOUT a `presetId` and need to attach it now. To create a NEW template/reference file and attach it in a single call, use `create_template_or_reference` with `presetId` set, that avoids leaving a detached file in the team. When removing a file leaves it orphaned from all presets, the file is archived automatically. Templates and references are inherently team-scoped (no private/personal templates exist); the preset choice is the only scoping decision.
Parameters
Name
Type
Required
Description
fileId
string
Required
No description.
kind
string
Required
No description. One of: `template`, `reference`.
operation
string
Required
No description. One of: `add`, `remove`.
presetId
string
Required
No description.
teamId
string
Optional
ID of the team to operate in (get IDs from list_teams). Optional when an active team is already set for this session; required otherwise. Overrides the active team for this call only.
erasermcp_create_diagram
Create diagram
erasermcp_create_document
Create document
erasermcp_create_file
Create file
erasermcp_create_preset
Create preset
erasermcp_create_template_or_reference
Create template or reference
erasermcp_delete_diagram
Delete diagram
erasermcp_delete_document
Delete document
erasermcp_delete_file
Delete file
erasermcp_delete_folder
Delete folder
erasermcp_export_diagram
Export diagram
erasermcp_export_document
Export document
erasermcp_export_file
Export file
erasermcp_get_diagram
Get diagram
erasermcp_get_document
Get document
erasermcp_get_file
Get file
erasermcp_get_me
Get me
erasermcp_get_preset
Get preset
erasermcp_list_diagrams
List diagrams
erasermcp_list_files
List files
erasermcp_list_folders
List folders
erasermcp_list_presets
List presets
erasermcp_manually_create_diagram
Manually create diagram
erasermcp_manually_update_diagram
Manually update diagram
erasermcp_manually_update_file
Manually update file
erasermcp_publish_template_or_reference
Publish template or reference
erasermcp_search
Search
erasermcp_update_document
Update document
erasermcp_update_folder
Update folder
erasermcp_update_rules
Update rules

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Eraser MCP tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["erasermcp"], toolNames: [
    "erasermcp_search",
    "erasermcp_create_diagram",
    "erasermcp_update_diagram"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Create a sequence diagram of our login flow in the Auth Service file" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["erasermcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Create a sequence diagram of our login flow in the Auth Service file" }],
  tools,
});

// Execute the tool call with the user's vaulted Eraser token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["erasermcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Create a sequence diagram of our login flow in the Auth Service file" }],
  tools,
});

// Tool call runs with the user's vaulted Eraser token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["erasermcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "architecture_agent",
  model: "gemini-2.5-pro",
  instruction: "Eraser MCP tools scoped to this user",
  tools,
});

await agent.run("Create a sequence diagram of our login flow in the Auth Service file");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Eraser MCP tool. Click to copy, paste into your agent, done.
Diagrams
Copy the prompt
Copied
Create a sequence diagram of our login flow in the Auth Service file.
Copy the prompt
Copied
Add a Kafka broker between the API and the workers in the Data Pipeline diagram.
Copy the prompt
Copied
Export the System Overview diagram as a PNG.
Documents and files
Copy the prompt
Copied
Write a design doc for the new payment service in this empty file.
Copy the prompt
Copied
Search my workspace for files about the billing migration.
Copy the prompt
Copied
List the diagrams in the Platform Architecture file.
Presets and folders
Copy the prompt
Copied
Create a preset with a rule that all auth flows are sequence diagrams.
Copy the prompt
Copied
List the files in the Engineering folder.
Copy the prompt
Copied
Rename the Drafts folder to Archive.
SEE HOW AUTH WORKS
Each user signs in to Eraser once; Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Eraser MCP
once. We tie it to their identity and the meetings they approved — no shared bot account, no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Eraser MCP
token lives in a vault scoped to them. User A's meetings are never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tokens:
auto-refreshed
3
Resolve
When your agent calls a
Eraser MCP
tool, we fetch the right token server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Eraser MCP
tool call is logged — who triggered it, which meeting was fetched, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other design and developer tool connectors.
Engineering Teams
Engineering standup agent
Pulls commits from GitHub and GitLab, tracks issue movement in Jira, and posts a per-engineer standup brief to Slack. Each engineer's activity is read on their own delegated OAuth.
Engineering Teams
Auto release notes agent
Reads merged GitHub PRs, groups them into structured release notes, publishes the page to Notion, and announces the release in Slack. Every call runs on the engineer's own delegated OAuth.
Engineering Teams
DevOps assistant agent
Polls GitHub for failing checks and stale PRs, opens Linear issues for the ones that need work, and posts a daily digest to Slack. It acts as the engineer, not a shared service account.
Support and Ops Teams
Meeting prep
Pulls agenda, participant context, and open action items before every meeting.
Test other agents
See the same per-user auth pattern across other design and developer tool connectors.
ENGINEERING
Engineering standup agent
Pull commits from GitHub and GitLab, track Jira issue movement, and post a per-engineer standup brief to Slack.
ENGINEERING
Auto-release notes agent
Group merged GitHub PRs into structured release notes, publish the page to Notion, and announce the release in Slack.
ENGINEERING
DevOps assistant agent
Poll GitHub for failing checks and stale pull requests, open Linear issues for the ones that need work, and digest to Slack.
OPS
Meeting prep agent
Assemble the agenda, HubSpot attendee history, and open action items from Gmail before every meeting on the calendar.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Eraser token looks fine in a demo. In production every diagram and document edit looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Eraser today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Eraser as the user or through a shared service account?
As the user. Each user signs in to Eraser once, and Scalekit stores and refreshes their tokens. Audit logs attribute every action to that user, not a shared service account.
Where is the Eraser OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Eraser?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the 16 read-only tools without create, update, or delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Eraser access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Does Eraser's AI generate the diagrams?
Yes. erasermcp_create_diagram and erasermcp_create_document take a natural-language prompt and Eraser's AI generates the result. erasermcp_update_diagram and erasermcp_update_document apply edits described in plain language. The manual create and update tools write caller-supplied DSL or markdown verbatim, with no AI.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""erasermcp"": {
""url"": ""https://mcp.scalekit.com/erasermcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.erasermcp]
url = ""https://mcp.scalekit.com/erasermcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""erasermcp"": {
""url"": ""https://mcp.scalekit.com/erasermcp"",
""type"": ""http""
}
}
}