Local-first personal whiteboard workspace for developers and external AI agents.
🌐 Live Website & Docs • ⚡ Quickstart • 🤖 MCP Tools • 📦 npm Package
# Launch directly without installing:
npx openboard-app start
# Or install globally:
npm install -g openboard-app
openboard startAll whiteboards, documents, and canvas metadata reside locally in your SQLite database:
~/.openboard/openboard.db
- Overview
- Key Features
- Quick Start
- Model Context Protocol (MCP) Integration
- AI Agent Quick Setup
- 13 Semantic MCP Tools
- Architecture & Guarantees
- Monorepo Structure
- Keyboard Shortcuts
- CLI Reference
- Contributing & Community
- License
OpenBoard is a modern, lightweight, local-first infinite whiteboard pairing an interactive tldraw canvas with a high-performance Model Context Protocol (MCP) server.
It is designed for developers who want a fast personal whiteboard and for autonomous AI coding agents (Claude Code, Cursor, OpenCode, OpenAI Codex, OpenClaw, Hermes) to inspect, create, organize, and update software architecture diagrams, system topologies, database schemas, and workflows collaboratively.
┌───────────────────────────────────────────────────────────┐
│ EXTERNAL AI AGENT │
│ (Claude Code, Cursor, OpenCode, Codex, Hermes...) │
└─────────────────────────────┬─────────────────────────────┘
│ JSON-RPC 2.0 (stdio / SSE)
▼
┌───────────────────────────────────────────────────────────┐
│ OPENBOARD MCP SERVER │
│ (13 High-Level Semantic Tools) │
└──────────────┬─────────────────────────────┬──────────────┘
│ │
▼ ▼
┌───────────────────────────┐ ┌─────────────────────────────┐
│ LOCAL SQLITE DATABASE │ │ HEADLESS CANVAS ENGINE │
│ (~/.openboard/openboard.db│ │ (tldraw store + SVG vector)│
└───────────────────────────┘ └──────────────┬──────────────┘
│
▼ SSE Live Sync
┌─────────────────────────────┐
│ BROWSER WHITEBOARD │
│ (http://localhost:4747) │
└─────────────────────────────┘
- 🔒 Local-First & 100% Private: Zero cloud dependencies, zero telemetry, zero accounts. Everything lives in your local SQLite database (
~/.openboard/openboard.db). - 🤖 AI Agent Native: Built-in stdio & SSE Model Context Protocol server exposing 13 semantic tools for creating and mutating canvas elements.
- 🎨 Twenty-Inspired Dark Workspace: Elegant near-black surfaces (
#0e0e11), electric blue accents (#2563eb), zero-dependency SVG iconography, and responsive design. - 👁️ Headless Canvas Inspection & SVG Screenshots: Agents inspect semantic canvas hierarchies and render pixel-perfect vector SVG snapshots without needing a browser window.
- ⚡ Live Browser Projection (SSE): If a user is viewing a board in their browser, agent modifications stream seamlessly into the viewport in real time.
- ⌨️ Keyboard-First Productivity: Press
Nfor new whiteboards,/to focus search,Escto dismiss dialogs, andEnterto confirm. - 🗃️ Complete Board Lifecycle: Multi-board dashboard, favorites, instant duplication, debounced autosave, soft delete (Trash), and permanent purging.
npx openboard-app startnpm install -g openboard-app
openboard startopenboard mcpOpenBoard provides a universal Model Context Protocol server over stdio (and HTTP/SSE at http://localhost:4747/api/mcp).
Add this to your MCP configuration file:
{
"mcpServers": {
"openboard": {
"command": "openboard",
"args": ["mcp"]
}
}
}| AI Client | Setup Path or Command | Format |
|---|---|---|
| Claude Code | claude mcp add openboard --command="openboard" --args="mcp" |
CLI / ~/.claude.json |
| Cursor | ~/.cursor/mcp.json |
JSON (mcpServers) |
| OpenCode | ~/.config/opencode/opencode.jsonc |
JSONC (mcp.openboard) |
| OpenAI Codex | ~/.codex/config.toml |
TOML (mcp_servers.openboard) |
| OpenClaw | ~/.openclaw/config.json |
JSON (mcpServers) |
| Hermes Agent | ~/.hermes/config.yaml |
YAML (mcp_servers) |
| Generic MCP | Any client supporting stdio MCP JSON-RPC 2.0 | openboard mcp |
OpenBoard equips AI agents with 13 semantic tools structured for developer tasks:
list_boards: Search and filter whiteboards (all,recent,favorites,trash).create_board: Create a new whiteboard with title and optional description.get_board: Retrieve board metadata, document summary, and timestamps.rename_board: Rename an existing whiteboard.duplicate_board: Clone a board and its complete canvas document.favorite_board: Bookmark or toggle favorite status.delete_board: Move a whiteboard to Trash (soft delete).restore_board: Recover a deleted whiteboard from Trash.
get_canvas_state: Retrieve structured shapes, bounds, text, and arrow bindings.get_canvas_screenshot: Render a headless vector SVG visual screenshot.create_shapes: Create shapes (rectangles, ellipses, notes, text, frames, arrows).update_shapes: Modify positions, dimensions, text, colors, or arrow bindings.delete_shapes: Remove shapes and automatically clean up associated connections.
- MCP does not connect directly to SQLite: All operations flow through domain-validated
BoardServiceandCanvasService. - MCP does not connect directly to React: Canvas operations execute against a headless tldraw store engine.
- Browser Optional for AI Agents: Agents can create, query, and modify boards whether the web UI is open or closed.
- Explicit
board_idtargeting: Every canvas operation explicitly references the target board ID. - Live Projection: If a user opens the board in a browser, changes made by external agents project into the active view instantly via SSE.
openboard/
├── apps/
│ ├── web/ # React 18 + Vite frontend (tldraw canvas, Twenty dark UI, Docs)
│ └── server/ # Express + SQLite API server + SSE live projection
├── packages/
│ ├── shared/ # TypeScript interfaces, DTOs, schemas & shape contracts
│ ├── storage/ # SQLiteBoardRepository with ACID migrations & memory fallback
│ ├── core/ # BoardService, CanvasService, HeadlessSvgRenderer
│ └── mcp/ # OpenBoardMcpServer (stdio / SSE JSON-RPC 2.0 transport)
├── cli/ # openboard-app CLI binary with embedded web assets
├── docs/ # Architectural guides & AI agent integration tutorials
└── .github/ # CI workflows and issue / PR templates
| Shortcut | Action |
|---|---|
| N | Open New Whiteboard modal |
| / | Focus dashboard search bar |
| Esc | Clear search input / Dismiss modal or context menu |
| Enter | Submit modal form / Open selected board |
openboard start # Start local workspace server & open web dashboard (default port: 4747)
openboard mcp # Start Model Context Protocol server on stdio for AI agents
openboard info # Display local configuration, database path, and agent MCP details
openboard -v # Display installed version
openboard --help # Display CLI help-p, --port <number>: Port to listen on (default:4747)-h, --host <host>: Host address to bind to (default:localhost)--db <path>: Custom SQLite database path (default:~/.openboard/openboard.db)--no-open: Do not automatically open browser on startup
Contributions are warmly welcome! Whether you are reporting an issue, proposing an MCP feature, or improving developer documentation:
- Read our Contributing Guidelines.
- Check our Code of Conduct.
- Report security disclosures privately per our Security Policy.
# Clone the repository
git clone https://github.com/atpaawej/openboard.git
cd openboard
# Install dependencies & build
npm install
npm run typecheck
npm run test
npm run buildOpenBoard is open-source software licensed under the MIT License.
Copyright © 2026 OpenBoard Contributors.
