Skip to content

Excalidraw Plugin

The Excalidraw plugin uses the Excalidraw+ hosted MCP server (https://api.excalidraw.com/api/v1/mcp). Each Slack user connects their own Excalidraw+ account.

Junior exposes every tool that the server gives an OAuth connection: the drawing tools for scenes, collections, diagrams, charts, and slides. Workspace administration tools need an API key, so Junior does not get them.

Install the plugin package alongside @sentry/junior:

Terminal window
pnpm add @sentry/junior @sentry/junior-excalidraw

Add the package name to the plugin set exported from plugins.ts:

plugins.ts
import { defineJuniorPlugins } from "@sentry/junior";
export const plugins = defineJuniorPlugins(["@sentry/junior-excalidraw"]);

No plugin config or env vars are required. JUNIOR_BASE_URL must be a public https URL.

  • Excalidraw+ does not support dynamic client registration. It reads Junior’s Client ID Metadata Document at <JUNIOR_BASE_URL>/api/oauth/client-metadata/mcp/excalidraw. You do not register an OAuth app or set a client secret.
  • Each user completes OAuth the first time Junior calls an Excalidraw+ MCP tool for them. They pick one Excalidraw+ workspace and allow access.
  • Junior sends the authorization link privately, then resumes the same thread after the user authorizes.
  • Junior acts only with the user’s role in that workspace.
  • Draw editable flowcharts, sequence, state, ER, and architecture diagrams from Mermaid or a description.
  • Make charts, tables, sticky-note boards, and slide decks.
  • Find, read, and edit existing scenes, and take screenshots of them.
  • Turn a scene’s share link on or off, and make read-only links.
  • Reads, layout checks, and screenshots skip action review. Drawing, edits, deletes, and share links go through Junior’s normal MCP action review path.
  • A share link lets anyone with it open the scene without signing in. A workspace admin can turn off scene sharing.
  • Scene text is third-party content. Junior treats it as data, not as instructions.
  1. Ask Junior: Draw our checkout flow as an Excalidraw diagram.
  2. Complete the private OAuth flow when Junior prompts for it.
  3. Confirm the thread resumes with a link to the new scene.
  4. Open Junior App Home and confirm Excalidraw appears under Connected accounts.
  • The sign-in says AI connectors are off: a workspace admin turned off Allow AI connectors in Excalidraw+ Settings → API keys.
  • The sign-in fails before it reaches Excalidraw+: JUNIOR_BASE_URL is not a public https URL, so Excalidraw+ cannot read the metadata document.
  • The scene is in the wrong workspace: a connection reaches one workspace. Disconnect from App Home with Unlink, then connect again and pick the other workspace.

Review Credentials & OAuth and Security Hardening.