Skip to content

Commit 70fa275

Browse files
authored
1 parent 9add99d commit 70fa275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,9 @@ class WorkbenchMcpManagementService extends Disposable implements IWorkbenchMcpM
347347
if (profile) {
348348
profile = await this.remoteUserDataProfilesService.getRemoteProfile(profile);
349349
} else {
350-
profile = (await this.remoteUserDataProfilesService.getRemoteProfiles()).find(p => this.uriIdentityService.extUri.isEqual(p.extensionsResource, mcpResource));
350+
profile = (await this.remoteUserDataProfilesService.getRemoteProfiles()).find(p => this.uriIdentityService.extUri.isEqual(p.mcpResource, mcpResource));
351351
}
352-
return profile?.extensionsResource;
352+
return profile?.mcpResource;
353353
}
354354
}
355355

0 commit comments

Comments
 (0)