Skip to content

Commit 80db98a

Browse files
docs: update screenshot troubleshooting and refresh architecture diagram
- Replace outdated browser-dependency note with Playwright installation guide - Regenerate architecture diagram — clean minimalist style, white text on dark navy, more white space, removed clutter and redundant icons Co-Authored-By: AdaL <adal@sylph.ai>
1 parent a122d68 commit 80db98a

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,17 @@ npx @modelcontextprotocol/inspector --cli \
354354

355355
## Troubleshooting
356356

357-
### Screenshot tools return an error
357+
### Screenshot tool fails with "empty data"
358358

359-
`get_canvas_screenshot` requires a live browser client because screenshots are rendered by the tldraw frontend, not by the MCP stdio process. Start the canvas server with `npm run canvas`, open `http://127.0.0.1:3000` in a browser, wait for the canvas to load, then call the screenshot tool again.
359+
`get_canvas_screenshot` prefers a server-side render (SVG + Playwright, no browser required). If Playwright is not installed or the export fails for any reason, it falls back to browser-based rendering. To ensure screenshots always work:
360+
361+
```bash
362+
# Install Playwright (one-time)
363+
npm install playwright
364+
npx playwright install chromium
365+
```
366+
367+
If the error persists even with Playwright installed, ensure the canvas server is running (`npm run canvas`) and try again.
360368

361369
---
362370

assets/architecture-diagram.png

-42.6 KB
Loading

0 commit comments

Comments
 (0)