@excaliwow/mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@excaliwow/mcpCreate a flowchart for the user signup process"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@excaliwow/mcp
The Excaliwow Model Context Protocol server — lets an AI agent create, read,
render, manage, and edit diagrams in your Excaliwow account through the same
public REST API (/api/v1) the CLI uses. It runs over stdio, so any MCP
client (Claude Desktop, Claude Code, etc.) can launch it with npx.
The public excaliwow/mcp repository contains
distribution metadata and documentation for this package; the hosted application
source is not published there.
Install
First mint a Personal Access Token at https://excaliwow.com/app/settings
(Settings → Developer / API tokens) with read + write capabilities —
enough for sixteen of the eighteen tools. Add delete only if you want the agent
to trash and restore diagrams (see Security notes). Pass it as
EXCALIWOW_TOKEN.
Claude Code (CLI)
One command. --scope local stores the server in your own settings, so the
token never lands in a file you might commit. Export the token first so the
literal PAT never lands in your shell history — --env NAME="$NAME" passes
the value through without typing it a second time on the command line:
export EXCALIWOW_TOKEN=excw_pat_…
claude mcp add excaliwow --scope local \
--env EXCALIWOW_TOKEN="$EXCALIWOW_TOKEN" \
-- npx -y @excaliwow/mcpClaude Desktop (and other JSON-config clients)
Add it to your client's config file (e.g. Claude Desktop's
claude_desktop_config.json, or your client's MCP settings — see your client's
MCP setup docs). The spec is unversioned, so npx -y always launches the latest
release — you pick up new tools and fixes automatically, with nothing to bump:
{
"mcpServers": {
"excaliwow": {
"command": "npx",
"args": ["-y", "@excaliwow/mcp"],
"env": {
"EXCALIWOW_TOKEN": "excw_pat_…"
}
}
}
}The server reads EXCALIWOW_TOKEN per call from the environment (or, if you also
use @excaliwow/cli and have run excaliwow auth login, that stored login) and
never writes the token to disk itself.
Related MCP server: excalidraw-mcp
Troubleshooting
"Not authenticated" / 401 / the agent's tool calls fail. The server starts
even without a token (so it can list its tools), so a missing or invalid
EXCALIWOW_TOKEN only surfaces when the agent first calls a tool. Starting with
no token prints a one-line EXCALIWOW_TOKEN is not set warning to stderr. To
check a token directly, run the health probe — it makes one authenticated read
and prints a clear verdict (ok, 401 — token is invalid or expired, or
could not reach <url> when the API itself is unreachable) and exits with a
matching code (0 ok, 1 missing/invalid token, 2 unreachable):
npx -y @excaliwow/mcp --healthCLI flags
Flag | Effect |
| Check the token + API reachability, then exit (0 ok, 1 missing/invalid token, 2 unreachable). |
| Print the installed version and exit. |
| Print usage (flags + env vars) and exit. |
Tools
Eighteen tools, scoped to safe agent use:
Tool | Capability | What it does |
|
| Create a diagram from the high-level node/edge DSL (auto-laid-out); returns the editor URL. Best for quick flowcharts. |
|
| Create a rich, hand-authored diagram from a raw Excalidraw scene — full control of layout, style, and typography. |
|
| Compact summary (title + per-type counts) plus a rendered PNG; opt into |
|
| Return a diagram's full raw scene ( |
|
| Render to full-fidelity bytes to save (png base64, or svg as raw text) — the bytes to keep, not a vision image. |
|
| Page through your diagrams ( |
|
| Move a diagram to a folder (or to root). |
|
| Additively merge a DSL fragment (add nodes/edges, update node style/label). |
|
| Replace a diagram's contents in place — from a fresh |
|
| Soft-delete a diagram to trash. Reversible (see |
|
| Restore a trashed diagram, reopening it at its original id and URL. |
|
| Check a diagram for overlaps, clipped labels, out-of-frame elements, and low-contrast text. |
|
| Apply element-addressable deltas (add/update/move/resize/restyle/delete) in place — the cheapest edit path. |
|
| Create a diagram from a named layout template ( |
|
| List the curated icons you can embed via an |
|
| List the caller's folders (id + name + parentId) to resolve or discover a |
|
| Create a folder (optionally nested under a |
|
| Change only a diagram's title, leaving its contents and id/url untouched. |
read_diagram returns a summary + image, never the raw scene JSON, to keep
context small. Pass includeGeometry: true to additionally get a compact,
bounded { id, type, label, x, y, w, h } list (top-left x/y) so the agent can
detect label/box collisions or misplaced nodes programmatically instead of
eyeballing the PNG — it is derived from the scene, so it is present even when the
render fails, and it is a small fixed-field summary, not the raw element dump.
Pass includeScene: 'compact' instead for a bounded, element-addressable
projection — a superset of the geometry fields that also carries style, text,
and container/binding refs (≤17 fields/element) — the read half of the
read_diagram → patch_elements surgical-edit loop.
export_diagram returns the rendered bytes to save to a file — png as
base64, svg as raw text — distinct from read_diagram, which returns an image
block for a vision model to look at. An MCP server runs over stdio and cannot
write to your repo, so a client with filesystem access (e.g. Claude Code) decodes
and saves the bytes itself. Or skip the round-trip through the model and stream
straight to disk with the CLI: excaliwow diagrams render <id> -o docs/architecture.png (or .svg) — also the fallback when a render is too large
to return inline.
trash_diagram / restore_diagram are a reversible pair
gated on the delete capability — registered always, they return a clean
insufficient_scope error (changing nothing) unless the token carries delete,
so a read + write token can't trash anything. Hard-delete/purge and making a
diagram publicly shareable are deliberately not agent tools — those are
irreversible, so a misled agent can't destroy or expose your diagram. Purge or
publish from the dashboard or the CLI.
Two authoring paths
generate_diagram takes the high-level node/edge DSL and auto-lays it out —
reach for it when you just want a quick flowchart. create_scene takes a raw,
hand-authored Excalidraw scene, so the agent controls every element's position,
size, color, stroke, fill, typography, and connections — the path for rich,
polished, custom diagrams. You author elements tersely (id, type, geometry,
text, colors) and the Excalidraw boilerplate is filled in for you; a
fully-specified element (or a pasted .excalidraw scene) is passed through
unchanged. To iterate on a rich diagram: get_scene → edit the elements →
regenerate_diagram with the edited scene.
Discovery resources
The DSL grammar + a worked example are embedded in the generate_diagram tool
description, with the full reference served as an MCP resource at
excaliwow://dsl/reference. The rich-scene authoring primer + a worked
example ride in the create_scene description, with the full guide (every
element type, all styling props, bindings, groups, frames, palette, and
layout/beauty heuristics) at excaliwow://scene/authoring.
Environment variables
Var | Effect |
| Required (standalone). Bearer PAT; read per call, never written to disk by this server. |
| API origin. Default |
Requirements
Node >= 22.11.0. This is a support-policy floor, not a technical one —
nothing shipped here uses a Node-22-only API (the code's newest runtime
dependency is global fetch, available since Node 18); the floor tracks
"current LTS" so npx -y @excaliwow/mcp runs on a Node build we actually test
against, and matches @excaliwow/cli's floor. If your MCP client is stuck on
an older Node and npx refuses to run this server, that refusal is
intentional — upgrade Node rather than treat it as a bug.
Security notes
Keep the token out of anything you commit. A project-scoped config that lives in the repo (a committed
.mcp.json, orclaude mcp add --scope project) puts the token into git history. Use a user- or local-scoped config (--scope local), or reference an environment variable instead of pasting the literal token.Typing the literal token on a command line puts it in your shell history (
~/.zsh_history,~/.bash_history, …) and briefly in the process list.export EXCALIWOW_TOKEN=…once, then pass it through with--env EXCALIWOW_TOKEN="$EXCALIWOW_TOKEN"(or pull it from a secrets manager) instead of pasting the PAT into theclaude mcp addcommand itself.Mint with
read+write(adddeleteonly if you want trash/restore). Sixteen of the eighteen tools need justread+write; aread+writePAT can neither expose your diagrams publicly nor delete them, even if the agent is misled (trash_diagram/restore_diagramsimply returninsufficient_scopeand do nothing). Add thedeletecapability only if you want the agent to be able to soft-delete and restore — it's reversible, but it's still a capability to grant deliberately. Pick capabilities specifically rather than the coarseread-writepreset, which additionally grantspublish(anddelete).The token is a credential to your account. It lives only in your MCP client config / environment; this server does not persist it. Treat that config the way you'd treat any secrets file.
Support
Found a bug or have a question? See excaliwow.com/docs/mcp or reach us at excaliwow.com/contact.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol server that enables LLMs to create, modify, and manipulate Excalidraw diagrams through a structured API.Last updated111,9312,244MIT
- Alicense-qualityCmaintenanceEnables AI agents to create and manipulate live visual diagrams on an Excalidraw canvas in real-time via MCP tools.Last updated3,69114BSD 3-Clause
- AlicenseAqualityCmaintenanceGenerates Excalidraw architecture diagrams with support for 60+ components including GCP, Kafka, and AI/Agentic shapes. Provides MCP tools for creating, modifying, and converting diagrams from structured input or Mermaid syntax.Last updated41MIT
- Alicense-qualityDmaintenanceEnables AI agents to create, modify, and share diagrams on a live Excalidraw canvas through MCP tools, supporting shapes, text, arrows, batch operations, and export to shareable links with images.Last updated1,9318MIT
Related MCP Connectors
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/excaliwow/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server