@declaw/mcp-server
Advanced tools
@@ -14,13 +14,6 @@ import { Sandbox, createSecurityPolicy } from '@declaw/sdk'; | ||
| if (allowedDomains && allowedDomains.length > 0) { | ||
| result.network = { | ||
| policy: 'egress', | ||
| allowedEgressDestinations: allowedDomains.map((d) => ({ | ||
| protocol: 'tcp', | ||
| host: d, | ||
| port: 443, | ||
| })), | ||
| }; | ||
| result.network = { allowOut: allowedDomains }; | ||
| } | ||
| else if (preset === 'strict') { | ||
| result.network = { policy: 'deny-all' }; | ||
| result.network = { denyOut: ['0.0.0.0/0'] }; | ||
| } | ||
@@ -27,0 +20,0 @@ return result; |
+1
-1
| { | ||
| "name": "@declaw/mcp-server", | ||
| "version": "0.1.0", | ||
| "version": "0.1.1", | ||
| "description": "MCP server for Declaw — secure AI sandboxes with network policies, PII scanning, injection defense, and audit logging", | ||
@@ -5,0 +5,0 @@ "type": "module", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
16490
-1.07%326
-2.1%3
50%