KaiBoard MCP — Model Context Protocol server + command core, letting AI agents draw on local-first KaiBoard whiteboards.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add kaiboard-mcp -- npx -y @kaibuddy/kaiboard-mcp{
"mcpServers": {
"kaiboard-mcp": {
"command": "npx",
"args": ["-y", "@kaibuddy/kaiboard-mcp"]
}
}
}Resumen de MCP Servers
# KaiBoard MCP Server
**English** | [简体中文](./README.zh-CN.md) · [Protocol](./docs/PROTOCOL.md) · [Changelog](./CHANGELOG.md)
> 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**.
It contains two independently usable packages:
| Package | Role |
|---|---|
| [`@kaibuddy/kaiboard-mcp`](https://www.npmjs.com/package/@kaibuddy/kaiboard-mcp) | MCP server (stdio JSON-RPC 2.0) exposing the `kbfs_*` tools |
| [`@kaibuddy/kaiboard-core`](https://www.npmjs.com/package/@kaibuddy/kaiboard-core) | Storage-agnostic command core (executor, element model, snapshots, Mermaid conversion) |
---
## What it does
`@kaibuddy/kaiboard-mcp` is a **single package** that serves two **combinable** modes through the same set of `kbfs_*` tools:
| | `--relay` mode (recommended) | `--dir` mode |
|---|---|---|
| Backend | A running KaiBoard page | A local folder you choose |
| App must be open? | Yes (with "Agent co-draw" enabled in the app) | No |
| Typical use | The agent works on the user's live board, changes visible immediately | A workspace the agent owns offline |
| Data location | The user's own KaiBoard library | `<folder>/kaiboard-data/` |
Both can be enabled at once:
```bash
kaiboard-mcp --relay --dir /path/to/workspace
```
## Install
```bash
npm install -g @kaibuddy/kaiboard-mcp
# or run without installing
npx -y @kaibuddy/kaiboard-mcp
```
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:
```json
{
"kaiboard": {
"command": "npx",
"args": ["-y", "@kaibuddy/kaiboard-mcp", "--relay"],
"env": { "KAIBOARD_TOKEN": "<your-token>" }
}
}
```
> `--relay` starts a **built-in local relay** on `127.0.0.1:8787` that 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):
```json
{
"kaiboard-mcp": {
"command": "npx",
"args": ["-y", "@kaibuddy/kaiboard-mcp", "--dir", "/path/to/your/workspace"]
}
}
```
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 **12 tools** (11 commands + 1 capability declaration):
| Tool | Purpose |
|---|---|
| `kbfs_list_capabilities` | Discover runtime capabilities (commands, storage modes, whether the page is connected) |
| `kbfs_list_boards` | List boards and folders |
| `kbfs_get_board` | Read a board's elements |
| `kbfs_get_screenshot` | Render a board to PNG so the agent can look at it (`--relay`; degrades gracefully under `--dir`) |
| `kbfs_add_element` | Add elements |
| `kbfs_patch_element` | Patch element properties by id |
| `kbfs_delete_element` | Delete elements by id |
| `kbfs_replace_board` | Replace a board's contents (auto-snapshot) |
| `kbfs_create_board` | Create a board |
| `kbfs_delete_board` | Delete a board (soft delete, restorable in the app) |
| `kbfs_from_mermaid` | Build native editable elements from a Mermaid diagram |
| `kbfs_set_metadata` | Write board metadata (status / version / history / comments) |
CLI details, envelope format and error codes: see **[`docs/PROTOCOL.md`](./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`:
```json
{
"type": "rectangle",
"id": "r1",
"x": 40, "y": 40, "width": 160, "height": 90,
"fill": "#ffec99",
"stroke": "#e8590c"
}
```
## Data and privacy
- **Board data is never uploaded to any server.** In `--relay` mode the relay listens on `127.0.0.1` only, for same-machine communication; in `--dir` mode the server reads and writes the local folder you specify.
- No account, no sign-in.
- On-disk layout (`--dir` mode): `kaiboard-data/boards/<id>.json` plus `kaiboard-data/tree.json` — a format KaiBoard can open directly.
## Development
```bash
npm install
npm run typecheck # type check
npm run build # build both packages into their dist/
npm run e2e # end-to-end (core + fs adapter / real stdio server)
npm run smoke # real MCP client smoke test (initialize -> tools/call)
```
## Third-party notices
Third-party components are referenced as **optional** peer dependencies (the license text ships inside each package):
| Component | License | Role |
|---|---|---|
| `@excalidraw/excalidraw` | MIT | element types / canvas rendering (provided by the host) |
| `@excalidraw/mermaid-to-excalidraw` | MIT | Mermaid → element conversion (optional) |
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.1.x` — the API may still change between minor versions. `1.0.0` will mark the stability commitment.
## License
[MIT](./LICENSE)
Lo que la gente pregunta sobre kaiboard-mcp
¿Qué es ChasenKai/kaiboard-mcp?
+
ChasenKai/kaiboard-mcp es mcp servers para el ecosistema de Claude AI. KaiBoard MCP — Model Context Protocol server + command core, letting AI agents draw on local-first KaiBoard whiteboards. Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-09-18.
¿Cómo se instala kaiboard-mcp?
+
Puedes instalar kaiboard-mcp clonando el repositorio (https://github.com/ChasenKai/kaiboard-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar ChasenKai/kaiboard-mcp?
+
Nuestro agente de seguridad ha analizado ChasenKai/kaiboard-mcp y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene ChasenKai/kaiboard-mcp?
+
ChasenKai/kaiboard-mcp es mantenido por ChasenKai. La última actividad registrada en GitHub es del 2026-09-18, con 1 issues abiertos.
¿Hay alternativas a kaiboard-mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega kaiboard-mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/chasenkai-kaiboard-mcp)<a href="https://claudewave.com/repo/chasenkai-kaiboard-mcp"><img src="https://claudewave.com/api/badge/chasenkai-kaiboard-mcp" alt="Featured on ClaudeWave: ChasenKai/kaiboard-mcp" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.