Skip to main content
Glama
README.md
# RepoCanvas

[![RepoCanvas MCP server](https://glama.ai/mcp/servers/@block9team/repocanvas-mcp/badges/score.svg)](https://glama.ai/mcp/servers/@block9team/repocanvas-mcp)

Local visual workspace & MCP App launcher for AI coding tools. Runs locally on 127.0.0.1.

![RepoCanvas Point & Note with live MCP replies](https://repocanvas.com/docs/screenshots/launch/02-point-and-note-mcp-reply.webp)

[Website & Interactive Demo](https://repocanvas.com/) · [Docs](https://repocanvas.com/docs) · [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=repocanvas.repocanvas) · [Open VSX](https://open-vsx.org/extension/repocanvas/repocanvas)

## Quick Start

Start the local MCP server (stdio + MCP Apps UI):

```bash
npx -y repocanvas --mcp
```

Or paste directly into `.cursor/mcp.json`, `.vscode/mcp.json`, Claude Desktop, or Windsurf:

```json
{
  "mcpServers": {
    "repocanvas": {
      "command": "npx",
      "args": ["-y", "repocanvas", "--mcp"]
    }
  }
}
```

Open the interactive terminal launcher (works over SSH / headless terminals too):

```bash
npx -y repocanvas launcher
```

Launch directly against the current repository:

```bash
npx -y repocanvas
```

## MCP Tools Included

| Tool | Purpose |
| :--- | :--- |
| `open_repocanvas` | Launch or attach the local loopback workspace for a repo or URL |
| `repocanvas_launcher` | Render the interactive MCP Apps project launcher inside supported IDEs |
| `repocanvas_get_annotations` | Read open visual arrows, area boxes, voice notes, and `file:line` context |
| `repocanvas_reply_annotation` | Ask clarifying questions inline on a live UI pin |
| `repocanvas_resolve_annotation` | Mark a note resolved with verification details & 1-click Rollback support |
| `repocanvas_await_notes` | Live-listener wait for newly submitted UI notes |
| `repocanvas_capture_screens` | Capture all pages across desktop and mobile viewports |
| `repocanvas_sync_intent` | Sync inspected route & intent state with the open canvas |
| `repocanvas_status` / `repocanvas_stop` | Inspect active session health or cleanly stop the background bridge |

## Security & Audit

RepoCanvas ships this package specifically to be easy to inspect before running:

- **Zero runtime dependencies**: `package.json` has `"dependencies": {}` (no transitive `node_modules` tree).
- **Unminified, readable runner**: `bin/repocanvas.mjs` is formatted, non-minified ESM JavaScript. The MCP App HTML UI is kept separate in `assets/launcher.html` so security tools and reviewers can audit the server code cleanly without scrolling past serialized HTML.
- **Network scope**: Binds strictly to `127.0.0.1`. Only fetches static UI assets from `https://repocanvas.com` when proxying the local workspace UI; never uploads source files or sends telemetry from the MCP runner.
- **Filesystem scope**: Reads selected workspace files locally (skipping `.env*` secrets) and stores local bridge/annotation state only inside OS app-data directories (`%LOCALAPPDATA%\RepoCanvas`, `~/Library/Application Support/RepoCanvas`, `~/.local/state/repocanvas`).
- **Audit before running**:
  ```bash
  npm pack repocanvas --dry-run
  # or inspect bin/repocanvas.mjs & assets/launcher.html directly inside the tarball
  ```

## Supported IDEs & Interfaces

Antigravity, VS Code (`repocanvas.repocanvas`), Cursor, Windsurf, Claude Desktop, Claude Code, Goose, Zed, JetBrains AI Assistant & Junie, Gemini CLI, Codex, terminal TUI (`npx repocanvas launcher`), and standalone `http://127.0.0.1:<port>/launcher`.