pizarra
Provides an authenticated shared Excalidraw whiteboard where humans can draw in a browser and MCP agents can read and draw on the same canvas through MCP tools.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
pizarra
A shared handwriting whiteboard for humans and agents. pizarra is an authenticated gateway in front of the unmodified mcp-excalidraw-server (pinned to an upstream commit, see Upstream pin): you draw on the Excalidraw canvas in a browser, and agents (ChatGPT, Claude Code, Codex, …) read and draw on the same board through MCP.
Several boards (
/b/<id>/), each its own upstream canvas process, started on first use and stopped when idle;/and/mcpare boardmain, today's canvas. Editors and viewers per board, invited by GitHub login (docs/multiuser.md)./b/<id>/mcp(and/mcp): upstream's MCP tools over Streamable HTTP, for 2026-07-28 and 2025-era clients, one board per endpoint.OAuth 2.1 authorization server: PKCE S256, RFC 9207
iss, RFC 8707resource, RFC 9728/8414 metadata, rotating refresh tokens, Client ID Metadata Documents and Dynamic Client Registration.Pluggable sign-in (
AUTH_PROVIDERS): GitHub with the device flow by default (no client secret and no signing secret to configure; the logins inALLOWED_GITHUB_LOGINSare the admins, anyone else needs an invite), and signed board tickets from trusted issuers such as Hagalink Projects. Boards can be embedded by listed origins (FRAME_ANCESTORS).The canvas UI, REST API and WebSocket are reachable only through the gateway, with a session or a bearer token.
Architecture
flowchart LR
browser[Browser] -- "session cookie" --> gw
agent[MCP client] -- "Bearer token" --> gw
subgraph container
gw["gateway :3000<br/>auth plugins, boards, /b/<id>/mcp, proxy"]
pool["canvas pool front<br/>127.0.0.1:3100"]
canvas["mcp-excalidraw-server per open board<br/>127.0.0.1:free port (unmodified)"]
gw -- "UI, /api, WebSocket (after auth)" --> pool
gw -- "MCP tools (in-process, one instance per board)" --> pool
pool -- "/b/<id>/... to its board" --> canvas
end
gw -- "device flow" --> github[GitHub]The code is hexagonal, with dependencies pointing inwards (checked by test/unit/architecture.test.mjs):
Path | What lives there |
| The auth bounded context: |
| The boards bounded context: |
| The board gateway: |
| Composition roots: read config, open the boards, start the canvas pool, wire auth and boards into the gateway. |
Related MCP server: @kamiazya/whiteboard-mcp
Run locally
npm run build:upstream # once per pin: builds vendor/mcp-excalidraw-server-<commit>.tgz
npm ci
npm run build
npm start # http://127.0.0.1:3000, auth off on loopbackOn a loopback bind authentication is off unless AUTH_MODE=oauth; on any other bind it is required. See docs/auth.md for every variable, the GitHub OAuth app setup and how to connect clients.
npm test # build, unit tests, wire checks (real gateway + real canvas)
npm run typecheckDeploy
The image runs the gateway and the canvas it supervises:
docker build -t pizarra .
docker run -p 3000:3000 -v pizarra-data:/data \
-e PUBLIC_BASE_URL=https://pizarra.example.com \
-e GITHUB_CLIENT_ID=Ov23xxxxxxxxxxxx -e ALLOWED_GITHUB_LOGINS=FullFran \
-e TRUST_PROXY=1 pizarraFor Dokploy, use compose.dokploy.yml and set PUBLIC_BASE_URL, GITHUB_CLIENT_ID and ALLOWED_GITHUB_LOGINS in its environment; none of them is secret. TLS is terminated by the proxy in front.
Everything durable lives in the /data volume: tokens, registered clients, the signing secret and boards.json at its root, and each board's canvas (elements, files, snapshots) in /data/boards/<id>/canvas with the files written by its MCP file tools in /data/boards/<id>/files. A single-canvas volume (/data/canvas, /data/files) becomes board main on the first start. Boards survive restarts of their canvas process, of the gateway and of the container.
Upstream pin
Upstream is used unmodified, but not from npm: the 2.1.2 npm release has no durable canvas state, while upstream main does (unreleased; its package.json still says 2.1.2). The commit is recorded once, in upstream.json. scripts/build-upstream.sh clones that commit, checks that HEAD is exactly it, runs upstream's own npm ci && npm run build and npm packs it into vendor/ (gitignored), from where package.json installs it as a file: tarball; the Docker image runs the same script in a build stage. The pack is reproducible, so package-lock.json's integrity hash also checks the image's build.
Compiling upstream's frontend (Excalidraw + Mermaid) needs about 2 GB of RAM, so it is done once per pin in GitHub Actions: upstream-tarball.yml builds the tarball when upstream.json changes and publishes it as the release upstream-<first 12 hex digits>. scripts/build-upstream.sh downloads that asset and checks it against the lockfile's integrity hash instead of compiling; BUILD_FROM_SOURCE=1 compiles it locally as before. Before publishing, the workflow checks that its build matches the integrity already in the lockfile, which proves the pack is reproducible. test/unit/upstream.test.mjs checks that upstream.json, package.json, the lockfile and the Dockerfile agree.
To bump it:
Put the new full commit SHA in
upstream.jsonand push: the workflow publishes the releaseupstream-<first 12 hex digits>.BUILD_FROM_SOURCE=1 npm run build:upstream && npm install --save-exact ./vendor/mcp-excalidraw-server-<first 12 hex digits>.tgz(or download the release asset intovendor/and install it), sopackage-lock.jsonrecords its integrity.npm test, then rebuild the image.
Once upstream publishes an npm release that contains durable state, switch back to the registry version (npm install --save-exact mcp-excalidraw-server@<version>), drop upstream.json, the script, the Docker upstream stage and the pin test.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A shared Excalidraw board that people and agents draw on together
Real-time collaborative whiteboard — AI agents and humans edit the same board live over MCP.
Online whiteboard your AI agent draws on: live shared canvases, solo or with your team.
Collaborative whiteboard MCP server — create objects, connectors, C4 diagrams, and manage boards
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to create and manipulate live visual diagrams on an Excalidraw canvas in real-time via MCP tools.37 PyPI15BSD 3-Clause
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to collaboratively draw and annotate Excalidraw diagrams in real-time via MCP tools, synced to a browser canvas.11Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables 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.8MIT
- AlicenseNot gradedqualityCmaintenanceStandalone backend for a self-hosted Excalidraw fork with per-board access control, providing an MCP remote endpoint that lets AI agents draw on real collaboration boards as specific users.MIT