@privacyscrubber/mcp-server 2.3.6 → 2.3.7
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 +78 -6
- package/index.js +411 -30
- package/install.js +80 -10
- package/manifest.json +5 -1
- package/package.json +1 -1
- package/pii-masking-run.js +1 -2
- package/ps-license-manager.cjs +1 -1
- package/scrubber-core.cjs +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -52,19 +52,34 @@ All sensitive parameters, identifiers, and variables are intercepted locally ins
|
|
|
52
52
|
|
|
53
53
|
## 🚀 Installation
|
|
54
54
|
|
|
55
|
-
### 1.
|
|
55
|
+
### 1. 1-Click Universal Auto-Installer (Recommended)
|
|
56
|
+
Automatically detects installed AI IDEs on your machine and safely configures PrivacyScrubber without corrupting existing tools:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# Auto-detect and configure all installed clients (Cursor, Claude Desktop, Claude Code, Windsurf, VS Code, Cline, Zed):
|
|
60
|
+
npx -y @privacyscrubber/mcp-server install --all
|
|
61
|
+
|
|
62
|
+
# Or target specific environments directly:
|
|
63
|
+
npx -y @privacyscrubber/mcp-server install --claude-code
|
|
64
|
+
npx -y @privacyscrubber/mcp-server install --vscode
|
|
65
|
+
npx -y @privacyscrubber/mcp-server install --zed
|
|
66
|
+
npx -y @privacyscrubber/mcp-server install --cursor
|
|
67
|
+
npx -y @privacyscrubber/mcp-server install --claude
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### 2. Install via Smithery
|
|
56
71
|
To automatically configure and run with your preferred client, install using Smithery:
|
|
57
72
|
```bash
|
|
58
73
|
npx -y @smithery/cli install @privacyscrubber/mcp-server --write-to-clients
|
|
59
74
|
```
|
|
60
75
|
|
|
61
|
-
###
|
|
76
|
+
### 3. Instant Run with NPX
|
|
62
77
|
Run the server directly without local installation:
|
|
63
78
|
```bash
|
|
64
79
|
npx -y @privacyscrubber/mcp-server
|
|
65
80
|
```
|
|
66
81
|
|
|
67
|
-
###
|
|
82
|
+
### 4. Instant Run with UVX (Python / PyPI)
|
|
68
83
|
Run the server directly inside Python agent workflows (CrewAI, LangChain, AutoGen, LlamaIndex):
|
|
69
84
|
```bash
|
|
70
85
|
uvx privacyscrubber-mcp
|
|
@@ -75,7 +90,7 @@ pip install privacyscrubber-mcp
|
|
|
75
90
|
privacyscrubber-mcp
|
|
76
91
|
```
|
|
77
92
|
|
|
78
|
-
###
|
|
93
|
+
### 5. Programmatic Node.js / TypeScript SDK (Lightweight Presidio Alternative)
|
|
79
94
|
Need direct, in-memory zero-trust PII sanitization in your backend microservice, Next.js app, or RAG vector pipeline rather than an MCP server? Use our official zero-dependency SDK:
|
|
80
95
|
|
|
81
96
|
```bash
|
|
@@ -269,6 +284,39 @@ Add directly from your terminal:
|
|
|
269
284
|
claude mcp add privacyscrubber -- npx -y @privacyscrubber/mcp-server
|
|
270
285
|
```
|
|
271
286
|
|
|
287
|
+
### VS Code Native MCP (`.vscode/mcp.json`)
|
|
288
|
+
For official VS Code Native MCP support, configure your project's `.vscode/mcp.json`:
|
|
289
|
+
```json
|
|
290
|
+
{
|
|
291
|
+
"servers": {
|
|
292
|
+
"privacyscrubber": {
|
|
293
|
+
"type": "stdio",
|
|
294
|
+
"command": "npx",
|
|
295
|
+
"args": ["-y", "@privacyscrubber/mcp-server"],
|
|
296
|
+
"env": {
|
|
297
|
+
"PRIVACYSCRUBBER_KEY": "YOUR_OPTIONAL_PRO_LICENSE_KEY"
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
### Zed IDE (`settings.json`)
|
|
305
|
+
Add to your Zed configuration (`~/.config/zed/settings.json` or `%APPDATA%\Zed\settings.json`):
|
|
306
|
+
```json
|
|
307
|
+
{
|
|
308
|
+
"context_servers": {
|
|
309
|
+
"privacyscrubber": {
|
|
310
|
+
"command": "npx",
|
|
311
|
+
"args": ["-y", "@privacyscrubber/mcp-server"],
|
|
312
|
+
"env": {
|
|
313
|
+
"PRIVACYSCRUBBER_KEY": "YOUR_OPTIONAL_PRO_LICENSE_KEY"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
```
|
|
319
|
+
|
|
272
320
|
---
|
|
273
321
|
|
|
274
322
|
## 🛠️ Provided Tools & JSON-RPC Specifications
|
|
@@ -395,13 +443,13 @@ Returns a visual dashboard showing your current tier, session request count, act
|
|
|
395
443
|
* **Response Example (Free Tier):**
|
|
396
444
|
```
|
|
397
445
|
╔══════════════════════════════════════════════════╗
|
|
398
|
-
║ PrivacyScrubber MCP Server v2.
|
|
446
|
+
║ PrivacyScrubber MCP Server v2.3.7 ║
|
|
399
447
|
╠══════════════════════════════════════════════════╣
|
|
400
448
|
║ 🔓 Tier: FREE ║
|
|
401
449
|
║ 📊 Session requests: 5 ║
|
|
402
450
|
║ 📁 Input size limit: 15,000 characters/request ║
|
|
403
451
|
╠══════════════════════════════════════════════════╣
|
|
404
|
-
║ 🏷️ Profiles: General only — PRO unlocks
|
|
452
|
+
║ 🏷️ Profiles: General only — PRO unlocks 30 more ║
|
|
405
453
|
║ 📋 Custom rules: 🔒 Locked — requires PRO ║
|
|
406
454
|
╠══════════════════════════════════════════════════╣
|
|
407
455
|
║ 💳 Upgrade to PRO — $110 Lifetime ║
|
|
@@ -414,6 +462,30 @@ Returns a visual dashboard showing your current tier, session request count, act
|
|
|
414
462
|
╚══════════════════════════════════════════════════╝
|
|
415
463
|
```
|
|
416
464
|
|
|
465
|
+
### 10. `generate_procurement_memo` (CISO & DPO Procurement Hub)
|
|
466
|
+
|
|
467
|
+
Generates an institutional business case, regulatory risk breakdown, and procurement memo for CISO, DPO, and Legal sign-off. Computes deterministic ROI versus breach penalties and cloud DLP egress fees.
|
|
468
|
+
|
|
469
|
+
* **Arguments:**
|
|
470
|
+
* `targetTier` (string, optional): Target plan (`"teams"` at $99/mo or `"sdk"` at $299/mo). Defaults to `"teams"`.
|
|
471
|
+
* `teamSize` (number, optional): Estimated developer / analyst seat count (defaults to `10`).
|
|
472
|
+
* `primaryFramework` (string, optional): Core compliance framework (`"gdpr"`, `"hipaa"`, `"soc2"`, or `"pci_dss"`). Defaults to `"gdpr"`.
|
|
473
|
+
* **JSON-RPC Call Example:**
|
|
474
|
+
```json
|
|
475
|
+
{
|
|
476
|
+
"method": "tools/call",
|
|
477
|
+
"params": {
|
|
478
|
+
"name": "generate_procurement_memo",
|
|
479
|
+
"arguments": {
|
|
480
|
+
"targetTier": "teams",
|
|
481
|
+
"teamSize": 15,
|
|
482
|
+
"primaryFramework": "gdpr"
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
```
|
|
487
|
+
* **Output:** Formatted Markdown enterprise procurement memorandum ready for immediate insertion into internal RFCs, Confluence wikis, or enterprise purchase requisitions.
|
|
488
|
+
|
|
417
489
|
---
|
|
418
490
|
|
|
419
491
|
## 🛡️ Standalone CLI: `ps-guard`
|