OpenBoard
A local-first whiteboard MCP server that enables AI agents to create, inspect, and update canvas diagrams and shapes collaboratively via 13 semantic tools.
README
<div align="center">
✦ OpenBoard
Local-first personal whiteboard workspace for developers and external AI agents.
<br /> <br />
<p align="center"> <img src="./assets/dashboard.png" alt="OpenBoard Workspace Dashboard" width="100%" /> </p>
<br /> <br />
# Launch directly without installing:
npx openboard-app start
# Or install globally:
npm install -g openboard-app
openboard start
<br />
All whiteboards, documents, and canvas metadata reside locally in your SQLite database:
~/.openboard/openboard.db
<br /> <br />
</div>
✦ Table of Contents
- 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
✦ Overview
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) │
└─────────────────────────────┘
✦ Key Features
- 🔒 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.
✦ Quick Start
Option 1: Run with npx (No installation required)
npx openboard-app start
Option 2: Install globally via npm
npm install -g openboard-app
openboard start
Option 3: Connect to your AI Agent immediately
openboard mcp
✦ Model Context Protocol (MCP) Integration
OpenBoard provides a universal Model Context Protocol server over stdio (and HTTP/SSE at http://localhost:4747/api/mcp).
Universal MCP JSON Configuration
Add this to your MCP configuration file:
{
"mcpServers": {
"openboard": {
"command": "openboard",
"args": ["mcp"]
}
}
}
✦ AI Agent Quick Setup
| 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 |
✦ 13 Semantic MCP Tools
OpenBoard equips AI agents with 13 semantic tools structured for developer tasks:
Board Organization & Management
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.
Canvas Inspection & Manipulation
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.
✦ Architecture & Guarantees
- 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.
✦ Monorepo Structure
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
✦ Keyboard Shortcuts
| Shortcut | Action |
|---|---|
| <kbd>N</kbd> | Open New Whiteboard modal |
| <kbd>/</kbd> | Focus dashboard search bar |
| <kbd>Esc</kbd> | Clear search input / Dismiss modal or context menu |
| <kbd>Enter</kbd> | Submit modal form / Open selected board |
✦ CLI Reference
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
Options for openboard start
-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
✦ Contributing & Community
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 build
✦ License
OpenBoard is open-source software licensed under the MIT License.
Copyright © 2026 OpenBoard Contributors.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.