Skip to content

Commit 75475f2

Browse files
committed
add comment back
1 parent de2fcfb commit 75475f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mcp/client/session.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ async def initialize(self) -> types.InitializeResult:
122122
else None
123123
)
124124
roots = (
125+
# TODO: Should this be based on whether we
126+
# _will_ send notifications, or only whether
127+
# they're supported?
125128
types.RootsCapability(listChanged=True)
126129
if self._list_roots_callback is not _default_list_roots_callback
127130
else None

0 commit comments

Comments
 (0)