We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7300631 commit 677f40aCopy full SHA for 677f40a
1 file changed
src/everything/server/roots.ts
@@ -41,7 +41,7 @@ export const syncRoots = async (server: McpServer, sessionId?: string) => {
41
const response = await server.server.listRoots();
42
if (response && "roots" in response) {
43
// Store the roots list for this client
44
- roots.set(sessionId, response?.roots);
+ roots.set(sessionId, response.roots);
45
46
// Notify the client of roots received
47
await server.sendLoggingMessage(
0 commit comments