From a52bb7641e08674ba0d376e0204762017199043a Mon Sep 17 00:00:00 2001 From: "claude[bot]" <209825114+claude[bot]@users.noreply.github.com> Date: Sun, 17 Aug 2025 17:23:42 +0000 Subject: [PATCH] fix: clarify list_allowed_directories description to mention subdirectory access MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tool description was ambiguous about subdirectory access within allowed directories. Updated the description to explicitly state that subdirectories are also accessible. Fixes #670 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Ola Hungerford --- src/filesystem/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/filesystem/index.ts b/src/filesystem/index.ts index 6723f43600..09b0bd7a1c 100644 --- a/src/filesystem/index.ts +++ b/src/filesystem/index.ts @@ -615,8 +615,10 @@ server.setRequestHandler(ListToolsRequestSchema, async () => { { name: "list_allowed_directories", description: - "Returns the list of root directories that this server is allowed to access. " + - "Use this to understand which directories are available before trying to access files. ", + "Returns the list of directories that this server is allowed to access. " + + "Subdirectories within these allowed directories are also accessible. " + + "Use this to understand which directories and their nested paths are available " + + "before trying to access files.", inputSchema: { type: "object", properties: {},