@privacyscrubber/mcp-server 2.3.9 → 2.4.0

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.
@@ -0,0 +1,78 @@
1
+ {
2
+ "serverInfo": {
3
+ "name": "privacyscrubber/pii-masking-mcp",
4
+ "version": "1.6.9"
5
+ },
6
+ "tools": [
7
+ {
8
+ "name": "sanitize_text",
9
+ "description": "Locally scrubs PII, secrets, and credentials (like API keys, passwords, emails, phones, names) from code, logs, or text. Replaces them with safe placeholders (e.g., [EMAIL_1], [API_KEY_1]). Keep your data secure before passing it to any LLM.",
10
+ "inputSchema": {
11
+ "type": "object",
12
+ "properties": {
13
+ "text": {
14
+ "type": "string",
15
+ "description": "The raw text, code, or logs to sanitize."
16
+ },
17
+ "profile": {
18
+ "type": "string",
19
+ "description": "The detection profile to use. Available: 'General' (Free), or PRO profiles: 'Dev' (Engineering/Code), 'Medical', 'Pharma', 'Legal', 'Compliance', 'CCPA', 'Finance', 'Bizops', 'Sales', 'WealthMgmt', 'Insurance', 'Accounting', 'HR', 'Security', 'Marketing', 'Support', 'RealEstate', 'Agents', 'Academic', 'Creative', 'Tech', 'Personal'. Defaults to 'General'."
20
+ }
21
+ },
22
+ "required": ["text"]
23
+ }
24
+ },
25
+ {
26
+ "name": "reveal_text",
27
+ "description": "Replaces masked tokens (e.g., [EMAIL_1], [API_KEY_1]) in the LLM's response back with the original private data from the local volatile RAM-only session map.",
28
+ "inputSchema": {
29
+ "type": "object",
30
+ "properties": {
31
+ "text": {
32
+ "type": "string",
33
+ "description": "The AI generated response containing placeholders to restore."
34
+ }
35
+ },
36
+ "required": ["text"]
37
+ }
38
+ },
39
+ {
40
+ "name": "sanitize_file",
41
+ "description": "Reads a local file, sanitizes its contents using the selected profile, and outputs the safe version for AI analysis. Securely keeps original identifiers in memory.",
42
+ "inputSchema": {
43
+ "type": "object",
44
+ "properties": {
45
+ "file_path": {
46
+ "type": "string",
47
+ "description": "Absolute path to the file to sanitize."
48
+ },
49
+ "profile": {
50
+ "type": "string",
51
+ "description": "The detection profile to use. Available: 'General' (Free), or PRO profiles: 'Dev' (Engineering/Code), 'Medical', 'Pharma', 'Legal', 'Compliance', 'CCPA', 'Finance', 'Bizops', 'Sales', 'WealthMgmt', 'Insurance', 'Accounting', 'HR', 'Security', 'Marketing', 'Support', 'RealEstate', 'Agents', 'Academic', 'Creative', 'Tech', 'Personal'. Defaults to 'General'."
52
+ }
53
+ },
54
+ "required": ["file_path"]
55
+ }
56
+ },
57
+ {
58
+ "name": "create_default_config",
59
+ "description": "Creates a default 'privacyscrubber.json' configuration file in the active workspace root directory if one does not exist. Includes template structures for custom regex rules and exclusion bypass patterns.",
60
+ "inputSchema": {
61
+ "type": "object",
62
+ "properties": {},
63
+ "required": []
64
+ }
65
+ },
66
+ {
67
+ "name": "check_status",
68
+ "description": "Returns the current PrivacyScrubber MCP tier, session usage, available profiles, and PRO upgrade instructions. Call this to see your license status or get setup help.",
69
+ "inputSchema": {
70
+ "type": "object",
71
+ "properties": {},
72
+ "required": []
73
+ }
74
+ }
75
+ ],
76
+ "resources": [],
77
+ "prompts": []
78
+ }
package/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ # PrivacyScrubber MCP Server License Agreement
2
+
3
+ **Copyright (c) 2026 Ilya Sibiryakov (BrandMeWeb). All Rights Reserved.**
4
+
5
+ ### 1. Grant of License — Community / Development Tier
6
+ Subject to the terms and conditions of this Agreement, BrandMeWeb grants you a personal, worldwide, non-exclusive, non-transferable license to install and run the PrivacyScrubber MCP Server (`@privacyscrubber/mcp-server`) in local IDE environments (such as Cursor, Windsurf, Claude Desktop, and CLI tools) solely for personal evaluation, development, and standard local data sanitization under published Free Tier quotas.
7
+
8
+ ### 2. Commercial, Multi-User & Enterprise Tier
9
+ Use of this software within commercial organizations, production automated pipelines, CI/CD gates, high-volume batch processing, multi-seat corporate teams, or the invocation of the 30 Specialized Industry Profiles (HIPAA PHI, Financial PAN/IBAN, Legal Privilege, DevSecOps Cloud Secrets, Automotive, Telecom, Biotech) requires a valid commercial license key:
10
+ - **PrivacyScrubber PRO**: Individual professional use ($15/mo or $110 Lifetime).
11
+ - **PrivacyScrubber TEAMS**: Team and small enterprise seats ($99/mo flat).
12
+ - **PrivacyScrubber Enterprise / Air-Gapped**: Dedicated corporate VPC clusters, Nitro Enclaves, and custom profile calibration ($12,000/yr).
13
+
14
+ Licensing and key activation: https://privacyscrubber.com/pricing
15
+
16
+ ### 3. Restrictions on Reverse-Engineering & Redistribution
17
+ Except as expressly authorized herein, you may not:
18
+ - Decompile, disassemble, reverse-engineer, or attempt to reconstruct the underlying pattern databases, regular expression taxonomies, or proprietary tokenization finite-state machines.
19
+ - Extract, harvest, or scrape the 30 specialized industry entity taxonomies to train competing machine learning models or build competing redaction products.
20
+ - Distribute, sublicense, lease, or commercially exploit standalone copies of the engine without an active Enterprise OEM agreement.
21
+
22
+ ### 4. Disclaimer of Warranties & Limitation of Liability
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  [![NPM Version](https://img.shields.io/npm/v/@privacyscrubber/mcp-server?color=blue)](https://www.npmjs.com/package/@privacyscrubber/mcp-server)
4
4
  [![NPM Downloads](https://img.shields.io/npm/dm/@privacyscrubber/mcp-server?color=3b82f6)](https://www.npmjs.com/package/@privacyscrubber/mcp-server)
5
+ [![PyPI Version](https://img.shields.io/pypi/v/privacyscrubber-mcp.svg?color=blue)](https://pypi.org/project/privacyscrubber-mcp/)
6
+ [![PyPI Downloads](https://img.shields.io/pypi/dm/privacyscrubber-mcp.svg?color=3b82f6)](https://pypi.org/project/privacyscrubber-mcp/)
5
7
  [![NPM SDK](https://img.shields.io/npm/v/@privacyscrubber/sdk?label=%40privacyscrubber%2Fsdk&color=10b981)](https://www.npmjs.com/package/@privacyscrubber/sdk)
6
8
  [![Presidio Alternative](https://img.shields.io/badge/Presidio%20Alternative-Node.js%20%26%20TS-0078D4.svg)](https://www.npmjs.com/package/@privacyscrubber/sdk)
7
9
  [![Zero Dependencies](https://img.shields.io/badge/dependencies-0-success.svg)](https://www.npmjs.com/package/@privacyscrubber/sdk)
@@ -223,7 +225,7 @@ When AI IDEs (Cursor, Claude Desktop, Windsurf) connect to model providers, deve
223
225
  The MCP server communicates exclusively over local standard input/output (`stdio`) child processes spawned by your IDE. It opens **zero external listening ports** and initiates **zero remote network requests**.
224
226
  2. **Volatile RAM-Only Token Map**:
225
227
  The mapping table between synthetic tokens (`[AWS_KEY_1]`, `[EMAIL_1]`) and raw cleartext is maintained exclusively in ephemeral node memory and is wiped the moment your IDE session closes.
226
- 3. **Deterministic AST Lookarounds vs Cloud Proxy Overhead**:
228
+ 3. **Local ZTDS™ In-Memory Engine vs Cloud Proxy Overhead**:
227
229
  Unlike cloud DLP gateways (Nightfall, Skyflow) that add 200–400ms latency and transmit unencrypted code to third parties, `@privacyscrubber/mcp-server` runs locally in <2ms with zero data egress.
228
230
  4. **Permanent Standards & Academic Validation**:
229
231
  - **IETF Specification**: [draft-sibiryakov-ztds-protocol-01](https://datatracker.ietf.org/doc/draft-sibiryakov-ztds-protocol/) — Revision 01 · 2026-09-23 · 13 pages
@@ -254,13 +256,50 @@ Add this to your Claude Desktop config file:
254
256
  }
255
257
  ```
256
258
 
257
- ### Cursor / Windsurf
258
- 1. Navigate to Settings -> Features -> MCP.
259
- 2. Add new MCP server:
260
- * **Name:** `privacyscrubber`
261
- * **Type:** `command`
262
- * **Command:** `npx -y @privacyscrubber/mcp-server`
263
- 3. Optional: Set `PRIVACYSCRUBBER_KEY` as an environment variable in your system shell.
259
+ ### Cursor
260
+
261
+ Add to your project's `.cursor/mcp.json` (workspace) or `~/.cursor/mcp.json` (global):
262
+
263
+ ```json
264
+ {
265
+ "mcpServers": {
266
+ "privacyscrubber": {
267
+ "command": "npx",
268
+ "args": ["-y", "@privacyscrubber/mcp-server"],
269
+ "env": {
270
+ "PRIVACYSCRUBBER_KEY": "YOUR_PRO_OR_TEAMS_LICENSE_KEY"
271
+ }
272
+ }
273
+ }
274
+ }
275
+ ```
276
+
277
+ *Or via Cursor GUI:* Open **Settings** (<kbd>Cmd/Ctrl + ,</kbd>) &rarr; **Features** &rarr; **MCP** &rarr; **+ Add New MCP Tool**:
278
+ - **Name:** `privacyscrubber`
279
+ - **Type:** `command`
280
+ - **Command:** `npx -y @privacyscrubber/mcp-server`
281
+
282
+ ### Windsurf (Codeium)
283
+
284
+ Add to `~/.codeium/windsurf/mcp_config.json`:
285
+
286
+ ```json
287
+ {
288
+ "mcpServers": {
289
+ "privacyscrubber": {
290
+ "command": "npx",
291
+ "args": ["-y", "@privacyscrubber/mcp-server"],
292
+ "env": {
293
+ "PRIVACYSCRUBBER_KEY": "YOUR_PRO_OR_TEAMS_LICENSE_KEY"
294
+ }
295
+ }
296
+ }
297
+ }
298
+ ```
299
+
300
+ *Or via Windsurf GUI:* Open **Settings** &rarr; **MCP Settings** &rarr; add new command server `npx -y @privacyscrubber/mcp-server`.
301
+
302
+ > Ready-to-copy JSON templates for all supported clients are available in [`examples/configs/`](examples/configs/).
264
303
 
265
304
  ### Cline / Roo Code
266
305
  Add to `cline_mcp_settings.json`:
@@ -443,7 +482,7 @@ Returns a visual dashboard showing your current tier, session request count, act
443
482
  * **Response Example (Free Tier):**
444
483
  ```
445
484
  ╔══════════════════════════════════════════════════╗
446
- ║ PrivacyScrubber MCP Server v2.3.8 ║
485
+ ║ PrivacyScrubber MCP Server v2.4.0 ║
447
486
  ╠══════════════════════════════════════════════════╣
448
487
  ║ 🔓 Tier: FREE ║
449
488
  ║ 📊 Session requests: 5 ║
@@ -658,8 +697,8 @@ MIT © [Ilya Sibiryakov](https://privacyscrubber.com) (BrandMeWeb)
658
697
  The Zero-Trust Data Sanitization (ZTDS) architecture, in-memory deterministic tokenization, cryptographic session handoff, and stdio execution methods implemented in this package are proprietary technology of Ilya Sibiryakov (BrandMeWeb) and are protected under **Patent Pending** status:
659
698
 
660
699
  - **Legal Status:** U.S. & International Patents Pending
661
- - **Priority Framework:** Paris Convention Art. 4 & 35 U.S.C. § 119 Priority (locked through September 14, 2027)
662
- - **Filing / Priority Date:** September 14, 2026
700
+ - **Priority Framework:** Paris Convention Art. 4 & 35 U.S.C. § 119 Priority (Active 12-Month Window)
701
+ - **Patent Status:** U.S. & International Patents Pending (Priority Locked)
663
702
  - **Official Title:** *SYSTEM AND METHOD FOR CLIENT-SIDE ZERO-TRUST DATA SANITIZATION AND CRYPTOGRAPHIC SESSION HANDOFF IN ARTIFICIAL INTELLIGENCE WORKFLOWS*
664
703
  - **Patent Disclosures Hub:** [privacyscrubber.com/patents/](https://privacyscrubber.com/patents/) (formal verification via counsel NDA).
665
704