From b6d7d0c49c9ac490e797b6b422405f83d987c571 Mon Sep 17 00:00:00 2001 From: tarunag10 Date: Sat, 4 Jul 2026 03:50:40 +0530 Subject: [PATCH] Clarify filesystem roots access scope --- src/filesystem/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/filesystem/README.md b/src/filesystem/README.md index c099da1e8c..5e3dc980e8 100644 --- a/src/filesystem/README.md +++ b/src/filesystem/README.md @@ -28,6 +28,8 @@ Roots notified by Client to Server, completely replace any server-side Allowed d **Important**: If server starts without command-line arguments AND client doesn't support roots protocol (or provides empty roots), the server will throw an error during initialization. +When configuring this server in an MCP client, omit filesystem path arguments only if you want the client to define the allowed directories through Roots. In that form, the server does not grant access on its own; it waits for the client to provide Roots during initialization and uses those directories as the access scope. + This is the recommended method, as this enables runtime directory updates via `roots/list_changed` notifications without server restart, providing a more flexible and modern integration experience. ### How It Works