summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark McDonald <[email protected]>2025-06-12 13:49:58 +0800
committerGitHub <[email protected]>2025-06-11 22:49:58 -0700
commit041e7c177caf4725d5089b7af38c6d9afcbce10b (patch)
tree615081b8ac4ed85210f579652aac3c65c553ffe3
parent6fc70280313d9081cd655d909296210a3a321b2b (diff)
Added note about using MCP/tools with a sandbox (#933)
-rw-r--r--docs/tools/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tools/index.md b/docs/tools/index.md
index 2efce3bd..56aa8333 100644
--- a/docs/tools/index.md
+++ b/docs/tools/index.md
@@ -33,7 +33,7 @@ You will typically see messages in the CLI indicating when a tool is being calle
Many tools, especially those that can modify your file system or execute commands (`write_file`, `edit`, `run_shell_command`), are designed with safety in mind. The Gemini CLI will typically:
- **Require Confirmation:** Prompt you before executing potentially sensitive operations, showing you what action is about to be taken.
-- **Utilize Sandboxing:** All tools are subject to restrictions enforced by sandboxing (see [README](../../README.md#sandboxing)).
+- **Utilize Sandboxing:** All tools are subject to restrictions enforced by sandboxing (see [README](../../README.md#sandboxing)). This means that when operating in a sandbox, any tools (including MCP servers) you wish to use must be available _inside_ the sandbox environment. For example, to run an MCP server through `npx`, the `npx` executable must be installed within the sandbox's Docker image or be available in the `sandbox-exec` environment.
It's important to always review confirmation prompts carefully before allowing a tool to proceed.