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": ["
|
|
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) {
|
package/package.json
CHANGED