@privacyscrubber/mcp-server 2.3.6 → 2.3.8

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
@@ -52,19 +52,34 @@ All sensitive parameters, identifiers, and variables are intercepted locally ins
52
52
 
53
53
  ## 🚀 Installation
54
54
 
55
- ### 1. Install via Smithery
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
- ### 2. Instant Run with NPX
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
- ### 3. Instant Run with UVX (Python / PyPI)
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
- ### 4. Programmatic Node.js / TypeScript SDK (Lightweight Presidio Alternative)
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.2.8 ║
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 25 more ║
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`
@@ -421,17 +493,23 @@ Returns a visual dashboard showing your current tier, session request count, act
421
493
  PrivacyScrubber bundles `ps-guard` for Unix pipe, pre-commit, and agentic workflows:
422
494
 
423
495
  ```bash
496
+ # Run on-demand via scoped npx (zero external lookup):
497
+ cat .env | npx -y -p @privacyscrubber/mcp-server ps-guard --profile dev
498
+
499
+ # Or install globally for direct command access:
500
+ npm install -g @privacyscrubber/mcp-server
501
+
424
502
  # Pipe any output through RAM redaction
425
- cat .env | npx ps-guard --profile dev
503
+ cat .env | ps-guard --profile dev
426
504
 
427
505
  # Execute commands through the ZTDS safety wrapper
428
- npx ps-guard -- npm test
506
+ ps-guard -- npm test
429
507
 
430
508
  # Review git diff with secrets redacted
431
- npx ps-guard --diff --staged
509
+ ps-guard --diff --staged
432
510
 
433
511
  # Generate rules for all AI IDEs (.cursorrules, .windsurfrules, CLAUDE.md, copilot, cline)
434
- npx ps-guard --rules
512
+ ps-guard --rules
435
513
  ```
436
514
 
437
515
  ---