feat(claude): allow Context7 domain in enabled sandbox
Where the Claude sandbox is enabled, permit network access to mcp.context7.com only, and validate that exact shape. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d5c29cb1b6
commit
3067d82e1a
5 files changed
+7
-6
No files matched your search
@@ -24,7 +24,7 @@ case "$platform" in
|
||||
;;
|
||||
esac
|
||||
sandbox='{"enabled": false}'
|
||||
[ "$sandbox_supported" != true ] || sandbox='{"enabled": true, "allowUnsandboxedCommands": false, "failIfUnavailable": true}'
|
||||
[ "$sandbox_supported" != true ] || sandbox='{"enabled": true, "allowUnsandboxedCommands": false, "failIfUnavailable": true, "network": {"allowedDomains": ["mcp.context7.com"]}}'
|
||||
plugin_manifest="$root/adapters/plugins.tsv"
|
||||
capability_manifest="$root/adapters/claude/capabilities.tsv"
|
||||
|
||||
|
||||
Reference in new issue
Block a user