diff --git a/README.md b/README.md index bb6fc58..22df69f 100644 --- a/README.md +++ b/README.md @@ -153,30 +153,7 @@ This fork extends [yctimlin/mcp_excalidraw](https://github.com/yctimlin/mcp_exca ## Architecture -``` -┌─────────────────────────────────────────────────┐ -│ MCP Process (single node process) │ -│ │ -│ ┌──────────────┐ ┌──────────────────────┐ │ -│ │ MCP Server │────▶│ Canvas Server │ │ -│ │ (stdio) │ │ (Express + WS) │ │ -│ │ 32 tools │ │ http://localhost:PORT │ │ -│ └──────────────┘ └──────────┬───────────┘ │ -│ │ │ -│ ┌──────────▼───────────┐ │ -│ │ SQLite Database │ │ -│ │ ~/.excalidraw-mcp/ │ │ -│ │ excalidraw.db │ │ -│ └──────────────────────┘ │ -└─────────────────────────────────────────────────┘ - ▲ ▲ - │ stdio │ HTTP/WS - ┌────┴─────┐ ┌───────┴──────┐ - │ Any MCP │ │ Browser │ - │ Client │ │ :3000 │ - │ │ │ (Excalidraw) │ - └──────────┘ └──────────────┘ -``` +![Architecture](docs/screenshots/architecture.png) - **Single process**: The MCP server embeds the canvas server. Starting the MCP starts both; stopping it stops both. - **SQLite**: Stored at `~/.excalidraw-mcp/excalidraw.db` by default. WAL mode + `busy_timeout` for multi-process safety. diff --git a/docs/screenshots/architecture.png b/docs/screenshots/architecture.png new file mode 100644 index 0000000..5d495d2 Binary files /dev/null and b/docs/screenshots/architecture.png differ