Deploy

Local (Free)

Hooks and stdio MCP on your laptop — irreversible local mask, no hosted proxy quota.

View as Markdown

When to use: Developers on the Free plan who want Cursor, Claude Code, or Claude Desktop protected without sending prompts to Blekline-hosted mask APIs.

Architecture

flowchart LR
  IDE[Cursor / Claude / Codex] --> Hooks[Local hooks]
  Hooks --> LocalMask[Local mask engine]
  LocalMask --> Model[Model or MCP stdio]

Secrets are masked on your machine. Blekline Activity receives metadata only when you configure a workspace token.

Prerequisites

Install

npx @blekline/init --path local
npx @blekline/cursor-hooks init   # if using Cursor

Set blw_... in .blekline/policy.json (maskBackend is local).

Verify

  1. Submit a prompt containing a fake API key in Cursor native chat.
  2. Confirm block + clipboard paste (not silent auto-send).
  3. Open Operations → Activity — event appears without raw prompt storage.

Operate

  • Do not set promptMaskSource: cloud in .blekline/cursor.json on Free — hosted mask is Standard-only.
  • Upgrade to Standard hosted when you need team policy and 100k hosted mask units.

Next steps