xintu1314/screenbench
Local MCP workbench for consistent multi-screen HTML design with coding agents
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
ScreenBench uses a local HTML workspace to connect a coding agent with a browser review canvas. screenbench mcp --dir ./design exposes tools over stdio; screenbench serve --dir ./design runs the visual workbench on port 4310. The agent can load design tokens and reference screens through get_design_context, then write HTML into the same workspace the workbench displays. Reviewers can select rendered DOM elements, leaving feedback the agent can retrieve without interpreting screenshots.
The Node.js package exposes screenbench and appbench CLI entry points. Its runtime dependencies are @modelcontextprotocol/sdk, @modelcontextprotocol/ext-apps, qrcode, and zod. The tree includes src/, workbench/, styles/, previews-free/, and dist-mcp-app/, and the manifest defines a build-mcp-app script. The MCP tooling is the documented integration surface; the presence of an MCP app build does not establish that every supported client can embed the same UI.
Key Capabilities & Differentiators
The Community edition bundles 24 design systems with four to six related screens per style, plus tokens.css and guide.md. Pro adds 17 commercial systems, bringing the total to 41. The motion catalog grows from eight free interactions to 36 with Pro. The workbench combines side-by-side rendering, pan and zoom, and project switching with a LAN QR preview so reviewers can check the same flow on a phone.
The MCP surface covers style selection, screen reads and writes, deletion, screenshots, project switching and cloud sync, project rules, and reusable components. A reviewer presses C to annotate a DOM element; the agent retrieves notes with get_feedback and closes them with resolve_feedback. There is a tool-count discrepancy: the advertised total is 18, while the tool table names 19. Before standardizing a workflow around a specific tool, check what the installed server actually exposes.
Trade-offs & Limitations
Compared with a plain browser preview and shared CSS tokens, ScreenBench adds side-by-side flow review and an agent-readable handoff for DOM annotations. It is a better fit for iterating on generated HTML than for replacing a design-authoring tool: its working artifact is the HTML screen, not an editable design document. The bundled systems provide a concrete starting point, but teams with an established component library still need to map the references to their own production components.
The MIT Community edition includes the local workbench and MCP tooling. Pro is a one-time purchase for additional commercial systems and motion assets; the cloud project allowance rises from one to 20. The local workflow avoids a dependency on cloud sync, but client configuration, write and delete permissions in the design workspace, and LAN access still need attention. Use a dedicated design directory, and verify what is reachable before enabling phone previews on a shared network.
Hardware & Deployment Guide
Install with npm i -g screenbench on Node.js 20 or newer. In the target project, screenbench setup --dir ./design registers the MCP server with a supported client; the CLI lists Claude Code, Cursor, Codex, Windsurf, and Antigravity. For manual setup, use screenbench mcp --dir ./design as the client command: Codex uses ~/.codex/config.toml, while the other listed clients use JSON configuration. Start screenbench serve --dir ./design separately and open http://localhost:4310/#project.
Keep both processes pointed at the same directory, using an absolute path when the client's working directory is uncertain. The local design loop uses Node.js and browser rendering rather than bundled model inference, so size it around the number and complexity of rendered screens, not model VRAM. Cloud sync is separate from self-hosted preview, and screenbench activate <PRO-KEY> supports offline Pro activation. There is no GitHub release listed; pin a tested npm version for team rollouts.
--dir.tokens.css, and guide.md; Pro adds 17 commercial systems.C to annotate a DOM element, then have the agent retrieve and resolve notes with get_feedback and resolve_feedback.Teams using coding agents to prototype multi-screen mobile HTML flows with shared design tokens, side-by-side review, and element-level feedback.
Your source of truth is an editable design document, your deliverable must be native UI rather than HTML, or your existing design system and preview workflow already cover these needs.
Quick Start & Installation
npm i -g screenbench
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| screenbench ★ | 204 | +204 | HTML | MIT | Local MCP workbench for consistent multi-screen HTML design with coding agents |
| taste-skill | 125.3k | +2.9k | JavaScript | MIT | An agent skill for directing company website design and checking builds in a bro |
| context7 | 65.8k | +333 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/xintu1314/screenbench.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about screenbench
How do I connect an MCP client, and which command starts the canvas?
screenbench setup --dir ./design for automatic registration, or configure your client to launch screenbench mcp --dir ./design over stdio. Run screenbench serve --dir ./design for the browser workbench on port 4310. Point both at the same project directory; if the client starts from a different working directory, use an absolute path. A useful first check is that the client can call get_design_context and list_screens for the intended project.Does ScreenBench need a GPU, and how should I size the local runtime?
What does the MIT license cover for self-hosting, and what changes with Pro?
When is ScreenBench a better fit than plain browser previews or a design-authoring tool?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy