@nodatachat/mcp 1.3.23 → 1.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -32,11 +32,14 @@ That's it — **no flags**. Self‑serve: registering opens an instant free **sa
32
32
  Run the line above with no credential. The server still connects (it never fails the MCP handshake) and exposes two setup tools:
33
33
 
34
34
  - **`nodata_get_started`** — call it first. It explains what you get and the single next step.
35
- - **`nodata_connect`** — register once, autoload forever:
36
- 1. `nodata_connect` (no args) → opens the free signup in your browser (work email + company, ~30s). Your **12‑word recovery phrase** is generated **in your browser — NoData never sees it**. The page shows your org key **once**.
37
- 2. `nodata_connect` with `api_key: "<that key>"` → saved to `~/.nodata/credentials.json` (chmod 600).
38
- 3. Restart, or run `/mcp` → every later start loads your identity with nothing to retype. *Registration ≠ login.*
35
+ - **`nodata_connect`** — connect this computer once, autoload forever. Nothing to copy:
36
+ 1. `nodata_connect` (no args) → a page opens in your browser. Sign in (or create a free account), check the code it shows, and click **Approve**. Signing in with a work address sends this computer to your organisation: it joins at once, or waits for your admin, as the organisation chose.
37
+ 2. On approval this computer gets its own device key, saved to `~/.nodata/credentials.json` (chmod 600). No org key is copied anywhere.
38
+ 3. Run `/mcp` → the organisation tools appear, and every later start loads them with nothing to retype.
39
39
 
40
+ From a terminal it is the same: `npx -y @nodatachat/mcp@latest connect`. Only if you must use an org key: `connect --key` (or `nodata_connect` with `step: "key"`) asks for it in a terminal, not shown on screen. Never paste a key into a chat.
41
+
42
+ If you create an account, its page generates a **12‑word recovery phrase in your browser — NoData never sees it**.
40
43
  Keep the 12‑word phrase somewhere safe — it is the only way back into your org, and NoData cannot reissue it.
41
44
 
42
45
  ---
@@ -114,6 +117,7 @@ Any mode except agent mode, **no account needed**, entirely on your machine. Any
114
117
  |-----|------|--------------|
115
118
  | "scan this folder" | `nodata_scan_folder` | The **whole** result — counts by type, folder and file — plus a full content‑free HTML report in `~/.nodata/reports` (every finding, never a value). |
116
119
  | "what should I do with these?" | `nodata_plan` | A **recommended policy** per file after the scan: tier (Restricted / Confidential / Internal) and action (clean copy + lock, lock, clean copy, keep); credentials also get "rotate at the source". Nothing happens until you approve, and you can change any line first. Proposing is not accepting. |
120
+ | "the scan got it wrong" | `nodata_scan_feedback` | Tell NoData what the scan flagged that is **not** sensitive, and what kinds it **missed**. Only kind labels and counts leave your machine ("ID×2 not sensitive · phone×1 missed") — never a value, a file name or free text — and you see the exact line sent. It changes no file. |
117
121
  | "lock what it found" | `nodata_protect` | Seals the files with findings to this device's key as `<file>.ndc` — the same v3 seal and format as `nodata protect`, so `nodata open` opens it too. Local receipt with hashes. |
118
122
  | "clean copy of this file" | `nodata_redact` | A copy with every detected value replaced by `[CARD]`, `[ID]`, `[IBAN]`, `[PHONE]`, `[EMAIL]`; a personal‑data column (CSV or Excel) is replaced with one stable token per person (`[NAME-1]` …) and amounts stay whole. Excel stays Excel. Same detectors as the scan. |
119
123
  | "open this .ndc" | `nodata_open` | Opens it back next to itself, hash‑checked. |