contextguard 0.1.5 → 0.1.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
@@ -33,7 +33,7 @@
33
33
 
34
34
  ## 🚀 Quick Start
35
35
 
36
- ### Installation(CLI - optional)
36
+ ### Installation (CLI - optional)
37
37
 
38
38
  ```bash
39
39
  npm install -g contextguard
@@ -54,7 +54,7 @@ Update your Claude Desktop config (`~/Library/Application Support/Claude/claude_
54
54
  "mcpServers": {
55
55
  "secured-server": {
56
56
  "command": "npx",
57
- "args": ["-y", "contextguard", "--server", "node /path/to/your-server.js"]
57
+ "args": ["contextguard", "--server", "node /path/to/your-server.js"]
58
58
  }
59
59
  }
60
60
  }
@@ -211,7 +211,6 @@ Update Claude Desktop config:
211
211
  "protected-test": {
212
212
  "command": "npx",
213
213
  "args": [
214
- "-y",
215
214
  "contextguard",
216
215
  "--server",
217
216
  "node /path/to/mcp-server-demo/demo-server.js",
@@ -299,8 +298,6 @@ npm run dev
299
298
 
300
299
  ## 📄 License & Support
301
300
 
302
- ### Open Source vs Pro
303
-
304
301
  ### 🆓 Open Source (MIT License)
305
302
 
306
303
  - ✅ **Stdio transport** - Standard MCP communication
@@ -391,7 +391,7 @@ Example:
391
391
  const policy = new SecurityPolicy(config);
392
392
  const logger = new SecurityLogger(config.logPath);
393
393
  const wrapper = new MCPSecurityWrapper(serverCommand.split(" "), policy, logger);
394
- console.log("ContextGuard is running");
394
+ // console.log("ContextGuard is running");
395
395
  await wrapper.start();
396
396
  }
397
397
  if (require.main === module) {
@@ -8,5 +8,5 @@
8
8
  "alertThreshold": 5,
9
9
  "enablePromptInjectionDetection": true,
10
10
  "enableSensitiveDataDetection": true,
11
- "logPath": "/var/log/mcp_security.log"
11
+ "logPath": "/tmp/mcp_security.log"
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contextguard",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Security monitoring wrapper for MCP servers",
5
5
  "main": "dist/mcp-security-wrapper.js",
6
6
  "types": "dist/mcp-security-wrapper.d.ts",
@@ -519,7 +519,7 @@ Example:
519
519
  logger
520
520
  );
521
521
 
522
- console.log("ContextGuard is running");
522
+ // console.log("ContextGuard is running");
523
523
 
524
524
  await wrapper.start();
525
525
  }