You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fc6c209
Browse filesBrowse the repository at this point in the historyBrowse files
fix(filesystem): distinguish CLI-override from unsupported-roots in log message
Addresses review feedback on #3938. The else branch is now reached in
two cases (client lacks roots capability, or CLI dirs override client
roots), so log separately to avoid misleading debug output.
console.error("Client does not support MCP Roots, using allowed directories set from server args:",allowedDirectories);
751
-
}else{
753
+
}else{
752
754
thrownewError(`Server cannot operate: No allowed directories available. Server was started without command-line directories and client either does not support MCP roots protocol or provided empty roots. Please either: 1) Start server with directory arguments, or 2) Use a client that supports MCP roots protocol and provides valid root directories.`);
0 commit comments