Skip to main content
Glama
helpra-design

helpra-design

by HelpraDev
README.md
<div align="center">
  <h1>Helpra Design</h1>
  <p><strong>AI-first local design studio &amp; MCP server for visual interfaces</strong></p>
  <p>
    <a href="LICENSE"><img alt="Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-59534e"></a>
    <a href="https://www.npmjs.com/package/@helpra/design"><img alt="npm: @helpra/design" src="https://img.shields.io/badge/npm-%40helpra%2Fdesign-CB3837?logo=npm"></a>
    <a href="https://design.helpra.app"><img alt="Live Demo: design.helpra.app" src="https://img.shields.io/badge/live_demo-design.helpra.app-a75536"></a>
    <a href="#mcp-tools"><img alt="71 MCP tools" src="https://img.shields.io/badge/MCP-71_tools-326856"></a>
    <a href="#quickstart"><img alt="macOS, Linux, and Windows" src="https://img.shields.io/badge/OS-macOS%20%2F%20Linux%20%2F%20Windows-475569"></a>
  </p>
  <p>
    <a href="https://design.helpra.app"><strong>Live Interactive Sandbox</strong></a> ·
    <a href="#quickstart"><strong>Quickstart</strong> (<code>npx @helpra/design</code>)</a> ·
    <a href="#works-seamlessly-with-orca"><strong>Orca Integration</strong></a> ·
    <a href="#mcp-tools"><strong>MCP Tools</strong></a>
  </p>
</div>

Sketch an idea, review live HTML and React, and hand off the exact screen to your AI agent. Designers, developers, and agents work from the same Git-friendly project files, with one shared design system.

![Helpra Design's infinite canvas with live desktop and mobile artboards](docs/images/infinite-canvas.png)

## Quickstart

With **Node.js 24+**, launch the studio on macOS, Linux, or Windows in about 30 seconds.

```sh
npx @helpra/design
```

From an interactive terminal, the studio opens in your browser at `http://127.0.0.1:4310` by default. Use the printed URL if the port is busy or the browser stays closed. Projects live under `~/.helpra/design`. To load the bundled Helpra Studio example, run `npx @helpra/design demo` and open the URL it prints.

## Works seamlessly with Orca

**Keep the canvas beside your agent's chat.** Open the studio in Orca's built-in browser from a workspace with an active bot or agent. Helpra Design finds the matching session automatically. The green dot in the Home header shows the active IDE, and clicking it reveals the selected target.

Pin a comment to an artboard, sketch on a blank artboard with Pencil (`C02`), or attach screenshots. With **Send to agent** checked, saving delivers a compact message straight to the open Orca chat or agent terminal in one click. The agent gets the working-copy, artboard, and thread IDs, available anchor coordinates, the `deepLink`, and local file paths for available screenshots and attachments. Delivery status appears in the discussion.

The stock Orca CLI handles local delivery and carries that context automatically. For a remote studio, run `orca-bridge` on the machine with Orca or configure a signed webhook for your own receiver. [Orca setup and remote delivery](docs/orca-integration.md)

## What you can build

- **Infinite Canvas & Review Flow.** Add artboards on the spot and align them with the four-arrow **Move** tool and 2D Smart Guides. Remove a frame with `Delete` and bring it back with `Ctrl/Cmd+Z`. Review across **In progress**, **Review**, **Needs rework**, and **Approved**, with a smooth camera fly-to as you advance through the queue.
- **Sketch to AI (`C02`).** Add a blank artboard, pencil a wireframe directly on it, and write what should happen. Send the sketch and comment together so your agent can build from the drawing and the project's design system.
- **Open Design System.** Browse tokens across **2–64 themes**, try live component previews, and navigate multi-file Markdown documentation from its table of contents. Sync shared component directories through `componentDirs`.

| Open Design System | Sketch to AI |
| --- | --- |
| [![Design system overview with token categories and a Markdown table of contents](docs/images/open-design-system.png)](docs/images/open-design-system.png) | [![A pencil wireframe with a comment describing what the AI agent should build](docs/images/sketch-to-ai.png)](docs/images/sketch-to-ai.png) |

## MCP Tools

The local server exposes **71 tools** to create projects, manage canvases and artboards, work with components and design systems, capture screens, and validate changes. Start with `design_list_projects` and `design_get_guide`, then call `design_get_project_brief` for the complete saved design system, the component tree, and up to five reference PNGs over stdio. [MCP and CLI reference](docs/api.md#mcp-and-cli) · [Agent workflow](docs/agent-workflow.md)

### Connect your agent

The local stdio server discovers the studio workspace automatically. Open **MCP settings** from Home or use the configuration for your client below.

<details>
<summary>Codex</summary>

Add to `~/.codex/config.toml`.

```toml
[mcp_servers.helpra-design]
command = "npx"
args = ["-y", "@helpra/design", "mcp"]
```

</details>

<details>
<summary>Claude Code</summary>

```sh
claude mcp add helpra-design -- npx -y @helpra/design mcp
```

</details>

<details>
<summary>Cursor, Windsurf, and Antigravity</summary>

Open Cursor's `mcp.json`, Windsurf's MCP configuration, or Antigravity's `mcp_config.json`. In Antigravity IDE, go to **MCP Servers → Manage MCP Servers → View raw config**. Merge this entry into `mcpServers`.

```json
{
  "mcpServers": {
    "helpra-design": {
      "command": "npx",
      "args": ["-y", "@helpra/design", "mcp"]
    }
  }
}
```

</details>

## Run it your way

- **Local-first.** Keep portable projects and their design systems on disk and version them in Git. The editor, CLI, and MCP work with the same project files.
- **Remote VPS.** Self-host with separate HTTPS origins for the studio and previews, plus authenticated HTTP MCP for your agents. [Self-hosting guide](docs/orca-integration.md#optional-self-hosting) · [Docker Compose](deploy/compose.oss.yaml)
- **Embed SDK.** Use `@helpra/design/embed` in an Electron host or iframe to share theme, locale, and active-agent context and route feedback through your host. [Embed SDK guide](docs/orca-integration.md#electron-host-sdk)

To run the interactive sandbox from a source checkout, install dependencies with `npm ci`, run `npm run build:site`, and serve `dist/site/` with a static file server. Sandbox edits and discussions last for the current tab.

Released under the [Apache-2.0 license](LICENSE). [Русский](README.ru.md)