
KaiBoard MCP
io.github.ChasenKaiPublished by GitHub account ChasenKaiv0.4.2Updated Oct 25, 2026
Let AI agents draw on your local-first KaiBoard whiteboards (relay or local folder).
Overview
A local MCP server that lets an AI assistant read and edit your own KaiBoard whiteboards, either on a live board through a local relay or in a local folder.
- What you can do
- List boards, folders and trash, read a board's elements, and render a board to PNG for viewing (relay mode). Create, rename, replace and soft-delete boards, and create, rename and delete folders. Move, reorder and restore boards or folders in the tree. Add, patch and delete individual elements on a board. Build editable elements from a Mermaid diagram and write board metadata such as status, version, history and comments.
- When to use it
- Use it when you keep whiteboards in the local-first KaiBoard app and want an assistant to sketch, diagram or reorganize them. Relay mode suits working on the board you are looking at; folder mode suits an offline workspace the agent owns.
- Requirements
- Node.js 18 or newer, run locally over stdio via npx or a global npm install. Relay mode needs the KaiBoard app open on the same machine with Agent co-draw enabled, plus a relay token in the KAIBOARD_TOKEN environment variable; it starts a local relay on 127.0.0.1:8787. Folder mode needs only a writable directory path.
Installation
In SourceWeft
- Open KaiBoard MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
KaiBoard MCP Server
English | 简体中文 · Protocol · Changelog
Let MCP-capable AI agents draw on your own KaiBoard whiteboards.
KaiBoard is a free, open-source, local-first whiteboard: your boards live on your own device, never in the cloud. This repo is the bridge that lets an agent read and edit those boards — the agent runs wherever your MCP client runs, and the canvas stays on your machine.
[Request flow: an MCP client sends kbfs_* tool calls over stdio JSON-RPC to kaiboard-mcp; from there it reaches KaiBoard either through the built-in local relay on 127.0.0.1 (driving the page you have open) or by reading and writing a local folder you choose. No account, no sign-in, and board data is never uploaded to a server.]It contains two independently usable packages:
What it does
@kaibuddy/kaiboard-mcp is a single package that serves two combinable modes through the same set of kbfs_* tools:
Both can be enabled at once:
Install
Requires Node.js >= 18.
Connect your MCP client
Recommended: --relay mode — drives the board you're looking at, with changes visible immediately.
It needs a relay token, obtained from KaiBoard's "Agent co-draw" panel:
--relaystarts a built-in local relay on127.0.0.1:8787that talks to the KaiBoard page. The relay and the page must therefore be on the same machine, and the page has to stay open while the agent works.
--dir mode can also be used on its own (no app required — the agent works in a local folder):
Or combine them: "args": ["-y", "@kaibuddy/kaiboard-mcp", "--relay", "--dir", "/path/to/your/workspace"]
Restart your MCP client after changing the config so it picks up the new server.
Tools
tools/list returns 20 tools: 19 commands plus one capability declaration.
⚠️ marks a destructiveHint tool (may make hard-to-undo changes); the tools in the
read-only group are readOnlyHint: true.
CLI details, envelope format and error codes: see docs/PROTOCOL.md.
Elements and fill colors
Elements use the Excalidraw element format. fill is accepted as a shorthand for backgroundColor, and stroke for strokeColor:
Data and privacy
- Board data is never uploaded to any server. In
--relaymode the relay listens on127.0.0.1only, for same-machine communication; in--dirmode the server reads and writes the local folder you specify. - No account, no sign-in.
- On-disk layout (
--dirmode):kaiboard-data/boards/<id>.jsonpluskaiboard-data/tree.json— a format KaiBoard can open directly.
Development
Third-party notices
Third-party components are referenced as optional peer dependencies (the license text ships inside each package):
Build-time only: typescript (Apache-2.0), @types/node (MIT).
No upstream source code is vendored — every component is used as an ordinary npm dependency.
Versioning
Currently 0.4.x — the API may still change between minor versions. 1.0.0 will mark the stability commitment. See CHANGELOG.md for the current release.
License
Source: README.md at commit 0d8f940
Tools
0Version history
3- v0.4.2LatestSep 28, 2026
- v0.2.0Sep 18, 2026
- v0.1.0Sep 17, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts