We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2fcfb commit 75475f2Copy full SHA for 75475f2
src/mcp/client/session.py
@@ -122,6 +122,9 @@ async def initialize(self) -> types.InitializeResult:
122
else None
123
)
124
roots = (
125
+ # TODO: Should this be based on whether we
126
+ # _will_ send notifications, or only whether
127
+ # they're supported?
128
types.RootsCapability(listChanged=True)
129
if self._list_roots_callback is not _default_list_roots_callback
130
0 commit comments