@privacyscrubber/mcp-server 2.4.5 → 2.4.6

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
@@ -61,6 +61,9 @@ Automatically detects installed AI IDEs on your machine and safely configures Pr
61
61
  # Auto-detect and configure all installed clients (Cursor, Claude Desktop, Claude Code, Windsurf, VS Code, Cline, Zed):
62
62
  npx -y @privacyscrubber/mcp-server install --all
63
63
 
64
+ # Scaffold project-level deterministic IDE hooks (.cursor/hooks.json, .claude/settings.json) & agent rules:
65
+ npx -y @privacyscrubber/mcp-server install --workspace
66
+
64
67
  # Or target specific environments directly:
65
68
  npx -y @privacyscrubber/mcp-server install --claude-code
66
69
  npx -y @privacyscrubber/mcp-server install --vscode
@@ -460,8 +463,8 @@ Reverses token placeholders (`[API_KEY_1]`, `[SECRET_1]`) in AI-generated code o
460
463
  * `content` (string, required): Content containing tokens to restore on disk.
461
464
  * `create_backup` (boolean, optional): Backup existing file before write (defaults to `true`).
462
465
 
463
- ### 8. `create_agent_rules` (1-Click Agent Rule Injection)
464
- Automatically scaffolds CISO-grade Zero-Trust directives into `.cursorrules`, `.windsurfrules`, `CLAUDE.md`, `.github/copilot-instructions.md`, or `.clinerules`.
466
+ ### 8. `create_agent_rules` (1-Click Agent Rule & Deterministic Hook Injection)
467
+ Automatically scaffolds CISO-grade Zero-Trust directives into `.cursorrules`, `.windsurfrules`, `CLAUDE.md`, `.github/copilot-instructions.md`, `.clinerules`, plus deterministic IDE lifecycle hooks in `.cursor/hooks.json` (`beforeReadFile`, `beforeShellExecution`) and `.claude/settings.json` (`PreToolUse`).
465
468
 
466
469
  * **Arguments:**
467
470
  * `agent_types` (array, optional): `["all"]`, `["cursor"]`, `["windsurf"]`, `["claude_code"]`, `["copilot"]`, `["cline"]`. Defaults to `["all"]`.
@@ -482,13 +485,13 @@ Returns a visual dashboard showing your current tier, session request count, act
482
485
  * **Response Example (Free Tier):**
483
486
  ```
484
487
  ╔══════════════════════════════════════════════════╗
485
- ║ PrivacyScrubber MCP Server v2.4.5 ║
488
+ ║ PrivacyScrubber MCP Server v2.4.6 ║
486
489
  ╠══════════════════════════════════════════════════╣
487
490
  ║ 🔓 Tier: FREE ║
488
491
  ║ 📊 Session requests: 5 ║
489
- ║ 📁 Input size limit: 15,000 characters/request ║
492
+ ║ 📁 Input size limit: 15k General / 5k Vertical ║
490
493
  ╠══════════════════════════════════════════════════╣
491
- ║ 🏷️ Profiles: General only — PRO unlocks 30 more ║
494
+ ║ 🏷️ Profiles: 30 Specialized (5k trial) ║
492
495
  ║ 📋 Custom rules: 🔒 Locked — requires PRO ║
493
496
  ╠══════════════════════════════════════════════════╣
494
497
  ║ 💳 Upgrade to PRO — $110 Lifetime ║
@@ -547,8 +550,12 @@ ps-guard -- npm test
547
550
  # Review git diff with secrets redacted
548
551
  ps-guard --diff --staged
549
552
 
550
- # Generate rules for all AI IDEs (.cursorrules, .windsurfrules, CLAUDE.md, copilot, cline)
553
+ # Generate rules & deterministic hooks (.cursor/hooks.json, .claude/settings.json, .cursorrules, CLAUDE.md)
551
554
  ps-guard --rules
555
+
556
+ # Deterministic IDE Lifecycle Hook Handler (Claude Code PreToolUse & Cursor v1.7+ beforeReadFile/beforeShellExecution)
557
+ # Blocks native reads of .env*, *.pem, *.key, id_rsa, *credentials*.json and redirects the agent to guard_read_file / guard_exec:
558
+ npx -y @privacyscrubber/mcp-server --hook
552
559
  ```
553
560
 
554
561
  ---
@@ -561,7 +568,7 @@ Looking for real-time protection directly inside your web browser?
561
568
 
562
569
  ## 📄 License & Commercial Upgrade
563
570
 
564
- By default, the server runs under the **Free Tier** (restricted to 15,000 characters per request and the basic `General` PII profile). To unlock 30 specialized engineering, medical, legal, and financial PII profiles, as well as team-wide custom rules, you can purchase a commercial license.
571
+ By default, the server runs under the **Free Tier** (15,000 characters per request on the `General` PII profile and a 5,000-character trial quota per request across all 30 specialized industry profiles). To unlock unlimited throughput across all 30 specialized engineering, medical, legal, and financial PII profiles, as well as team-wide custom rules, you can purchase a commercial license.
565
572
 
566
573
  ### Commercial Plan & Feature Comparison
567
574