@codingame/monaco-vscode-mcp-service-override 29.1.0 → 30.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/mcp/browser/mcp.contribution.js +3 -3
  3. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpAddContextContribution.js +2 -2
  4. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommands.js +60 -60
  5. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpElicitationService.js +25 -25
  6. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpLanguageFeatures.js +21 -21
  7. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpMigration.js +4 -4
  8. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpResourceQuickAccess.js +8 -8
  9. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServersView.js +17 -17
  10. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpWorkbenchService.js +10 -10
  11. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/extensionMcpDiscovery.js +4 -4
  12. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/nativeMcpDiscoveryAbstract.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.js +3 -0
  14. package/vscode/src/vs/workbench/contrib/mcp/common/mcpContextKeys.js +4 -4
  15. package/vscode/src/vs/workbench/contrib/mcp/common/mcpLanguageModelToolContribution.js +6 -6
  16. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistry.js +13 -13
  17. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSamplingLog.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSamplingService.js +11 -11
  19. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSandboxService.js +3 -3
  20. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServerConnection.js +3 -3
  21. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.js +9 -9
@@ -115,7 +115,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
115
115
  diagnostics.push({
116
116
  severity: MarkerSeverity.Warning,
117
117
  message: ( localize(
118
- 10481,
118
+ 10546,
119
119
  "Variable `{0}` not found, did you mean ${{1}}?",
120
120
  name,
121
121
  getClosestMatchingVariable(name) + (arg ? `:${arg}` : "")
@@ -181,14 +181,14 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
181
181
  range,
182
182
  command: {
183
183
  id: McpCommandIds.ShowOutput,
184
- title: "$(error) " + ( localize(10482, "Error")),
184
+ title: "$(error) " + ( localize(10547, "Error")),
185
185
  arguments: [server.definition.id]
186
186
  }
187
187
  }, {
188
188
  range,
189
189
  command: {
190
190
  id: McpCommandIds.RestartServer,
191
- title: ( localize(10483, "Restart")),
191
+ title: ( localize(10548, "Restart")),
192
192
  arguments: [server.definition.id, {
193
193
  autoTrustChanges: true
194
194
  }]
@@ -199,7 +199,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
199
199
  range,
200
200
  command: {
201
201
  id: McpCommandIds.RestartServer,
202
- title: ( localize(10484, "Debug")),
202
+ title: ( localize(10549, "Debug")),
203
203
  arguments: [server.definition.id, {
204
204
  debug: true,
205
205
  autoTrustChanges: true
@@ -213,14 +213,14 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
213
213
  range,
214
214
  command: {
215
215
  id: McpCommandIds.ShowOutput,
216
- title: "$(loading~spin) " + ( localize(10485, "Starting")),
216
+ title: "$(loading~spin) " + ( localize(10550, "Starting")),
217
217
  arguments: [server.definition.id]
218
218
  }
219
219
  }, {
220
220
  range,
221
221
  command: {
222
222
  id: McpCommandIds.StopServer,
223
- title: ( localize(10486, "Cancel")),
223
+ title: ( localize(10551, "Cancel")),
224
224
  arguments: [server.definition.id]
225
225
  }
226
226
  });
@@ -230,21 +230,21 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
230
230
  range,
231
231
  command: {
232
232
  id: McpCommandIds.ShowOutput,
233
- title: "$(check) " + ( localize(10487, "Running")),
233
+ title: "$(check) " + ( localize(10552, "Running")),
234
234
  arguments: [server.definition.id]
235
235
  }
236
236
  }, {
237
237
  range,
238
238
  command: {
239
239
  id: McpCommandIds.StopServer,
240
- title: ( localize(10488, "Stop")),
240
+ title: ( localize(10553, "Stop")),
241
241
  arguments: [server.definition.id]
242
242
  }
243
243
  }, {
244
244
  range,
245
245
  command: {
246
246
  id: McpCommandIds.RestartServer,
247
- title: ( localize(10483, "Restart")),
247
+ title: ( localize(10548, "Restart")),
248
248
  arguments: [server.definition.id, {
249
249
  autoTrustChanges: true
250
250
  }]
@@ -255,7 +255,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
255
255
  range,
256
256
  command: {
257
257
  id: McpCommandIds.RestartServer,
258
- title: ( localize(10484, "Debug")),
258
+ title: ( localize(10549, "Debug")),
259
259
  arguments: [server.definition.id, {
260
260
  autoTrustChanges: true,
261
261
  debug: true
@@ -269,7 +269,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
269
269
  range,
270
270
  command: {
271
271
  id: McpCommandIds.StartServer,
272
- title: "$(debug-start) " + ( localize(10489, "Start")),
272
+ title: "$(debug-start) " + ( localize(10554, "Start")),
273
273
  arguments: [server.definition.id, {
274
274
  autoTrustChanges: true
275
275
  }]
@@ -280,7 +280,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
280
280
  range,
281
281
  command: {
282
282
  id: McpCommandIds.StartServer,
283
- title: ( localize(10484, "Debug")),
283
+ title: ( localize(10549, "Debug")),
284
284
  arguments: [server.definition.id, {
285
285
  autoTrustChanges: true,
286
286
  debug: true
@@ -296,7 +296,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
296
296
  range,
297
297
  command: {
298
298
  id: "",
299
- title: ( localize(10490, "{0} tools", toolCount))
299
+ title: ( localize(10555, "{0} tools", toolCount))
300
300
  }
301
301
  });
302
302
  }
@@ -306,7 +306,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
306
306
  range,
307
307
  command: {
308
308
  id: McpCommandIds.StartPromptForServer,
309
- title: ( localize(10491, "{0} prompts", promptCount)),
309
+ title: ( localize(10556, "{0} prompts", promptCount)),
310
310
  arguments: [server]
311
311
  }
312
312
  });
@@ -315,7 +315,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
315
315
  range,
316
316
  command: {
317
317
  id: McpCommandIds.ServerOptions,
318
- title: ( localize(10492, "More...")),
318
+ title: ( localize(10557, "More...")),
319
319
  arguments: [server.definition.id]
320
320
  }
321
321
  });
@@ -390,19 +390,19 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
390
390
  function pushAnnotation(savedId, offset, saved) {
391
391
  const tooltip = ( new MarkdownString([createMarkdownCommandLink({
392
392
  id: McpCommandIds.EditStoredInput,
393
- text: ( localize(10493, "Edit")),
393
+ text: ( localize(10558, "Edit")),
394
394
  arguments: [savedId, model.uri, mcpConfigurationSection, inConfig.target],
395
- tooltip: ( localize(10494, "Edit saved value"))
395
+ tooltip: ( localize(10559, "Edit saved value"))
396
396
  }), createMarkdownCommandLink({
397
397
  id: McpCommandIds.RemoveStoredInput,
398
- text: ( localize(10495, "Clear")),
398
+ text: ( localize(10560, "Clear")),
399
399
  arguments: [inConfig.scope, savedId],
400
- tooltip: ( localize(10496, "Clear saved value"))
400
+ tooltip: ( localize(10561, "Clear saved value"))
401
401
  }), createMarkdownCommandLink({
402
402
  id: McpCommandIds.RemoveStoredInput,
403
- text: ( localize(10497, "Clear All")),
403
+ text: ( localize(10562, "Clear All")),
404
404
  arguments: [inConfig.scope],
405
- tooltip: ( localize(10498, "Clear all saved values"))
405
+ tooltip: ( localize(10563, "Clear all saved values"))
406
406
  })].join(" | "), {
407
407
  isTrusted: true
408
408
  }));
@@ -98,16 +98,16 @@ let McpConfigMigrationContribution = class McpConfigMigrationContribution extend
98
98
  }
99
99
  showMcpConfigErrorNotification(isRemote) {
100
100
  const message = isRemote ? ( localize(
101
- 10499,
101
+ 10564,
102
102
  "MCP servers should no longer be configured in remote user settings. Use the dedicated MCP configuration instead."
103
103
  )) : ( localize(
104
- 10500,
104
+ 10565,
105
105
  "MCP servers should no longer be configured in user settings. Use the dedicated MCP configuration instead."
106
106
  ));
107
- const openConfigLabel = isRemote ? ( localize(10501, "Open Remote User MCP Configuration")) : ( localize(10502, "Open User MCP Configuration"));
107
+ const openConfigLabel = isRemote ? ( localize(10566, "Open Remote User MCP Configuration")) : ( localize(10567, "Open User MCP Configuration"));
108
108
  const commandId = isRemote ? McpCommandIds.OpenRemoteUserMcp : McpCommandIds.OpenUserMcp;
109
109
  this.notificationService.prompt(Severity.Error, message, [{
110
- label: ( localize(10503, "Update Now")),
110
+ label: ( localize(10568, "Update Now")),
111
111
  run: async () => {
112
112
  await this.migrateMcpConfig();
113
113
  await this.commandService.executeCommand(commandId);
@@ -74,7 +74,7 @@ let McpResourcePickHelper = class McpResourcePickHelper extends Disposable {
74
74
  id: resource.template.template,
75
75
  label: resource.title || resource.name,
76
76
  description: resource.description,
77
- detail: ( localize(10519, "Resource template: {0}", resource.template.template)),
77
+ detail: ( localize(10584, "Resource template: {0}", resource.template.template)),
78
78
  iconPath
79
79
  };
80
80
  }
@@ -221,7 +221,7 @@ let McpResourcePickHelper = class McpResourcePickHelper extends Disposable {
221
221
  return uri;
222
222
  }
223
223
  this._notificationService.warn(( localize(
224
- 10520,
224
+ 10585,
225
225
  "The resource {0} was not found.",
226
226
  (McpResourceURI.toServer(uri).resourceURL.toString())
227
227
  )));
@@ -266,13 +266,13 @@ let McpResourcePickHelper = class McpResourcePickHelper extends Disposable {
266
266
  }
267
267
  }
268
268
  let placeholder = ( localize(
269
- 10521,
269
+ 10586,
270
270
  "Value for ${0} in {1}",
271
271
  variable.name.toUpperCase(),
272
272
  rt.template.resolve(variablesWithPlaceholders).replaceAll("%24", "$")
273
273
  ));
274
274
  if (variable.optional) {
275
- placeholder += " (" + ( localize(10522, "Optional")) + ")";
275
+ placeholder += " (" + ( localize(10587, "Optional")) + ")";
276
276
  }
277
277
  input.placeholder = placeholder;
278
278
  input.value = "";
@@ -292,7 +292,7 @@ let McpResourcePickHelper = class McpResourcePickHelper extends Disposable {
292
292
  } else if (variable.optional) {
293
293
  items.unshift({
294
294
  id: currentID,
295
- label: ( localize(10523, "<Empty>"))
295
+ label: ( localize(10588, "<Empty>"))
296
296
  });
297
297
  }
298
298
  input.items = items;
@@ -463,7 +463,7 @@ let AbstractMcpResourceAccessPick = class AbstractMcpResourceAccessPick {
463
463
  picker.keepScrollPosition = true;
464
464
  const store = ( new DisposableStore());
465
465
  const goBackId = "_goback_";
466
- const attachButton = ( localize(10524, "Attach to chat"));
466
+ const attachButton = ( localize(10589, "Attach to chat"));
467
467
  const helper = store.add(this._instantiationService.createInstance(McpResourcePickHelper));
468
468
  if (this._scopeTo) {
469
469
  helper.explicitServers = [this._scopeTo];
@@ -491,7 +491,7 @@ let AbstractMcpResourceAccessPick = class AbstractMcpResourceAccessPick {
491
491
  if (helper.checkIfNestedResources()) {
492
492
  const goBackItem = {
493
493
  id: goBackId,
494
- label: ( localize(10525, "Go back ↩")),
494
+ label: ( localize(10590, "Go back ↩")),
495
495
  alwaysShow: true
496
496
  };
497
497
  items.push(goBackItem);
@@ -573,7 +573,7 @@ let McpResourceQuickPick = class McpResourceQuickPick extends AbstractMcpResourc
573
573
  const qp = store.add(this._quickInputService.createQuickPick({
574
574
  useSeparators: true
575
575
  }));
576
- qp.placeholder = ( localize(10526, "Search for resources"));
576
+ qp.placeholder = ( localize(10591, "Search for resources"));
577
577
  store.add(this.applyToPick(qp, token));
578
578
  store.add(qp.onDidHide(() => store.dispose()));
579
579
  qp.show();
@@ -142,7 +142,7 @@ let McpServersListView = class McpServersListView extends AbstractExtensionsList
142
142
  return mcpServer?.label ?? "";
143
143
  },
144
144
  getWidgetAriaLabel() {
145
- return localize(10604, "MCP Servers");
145
+ return localize(10669, "MCP Servers");
146
146
  }
147
147
  },
148
148
  overrideStyles: getLocationBasedViewColors(this.viewDescriptorService.getViewLocationById(this.id)).listOverrideStyles,
@@ -251,43 +251,43 @@ let McpServersListView = class McpServersListView extends AbstractExtensionsList
251
251
  const iconElement = append(iconContainer, $("span"));
252
252
  iconElement.className = ThemeIcon.asClassName(mcpServerIcon);
253
253
  const title = append(welcomeContent, $(".mcp-welcome-title"));
254
- title.textContent = ( localize(10605, "MCP Servers"));
254
+ title.textContent = ( localize(10670, "MCP Servers"));
255
255
  const settingsCommandLink = ( createMarkdownCommandLink({
256
256
  id: "workbench.action.openSettings",
257
257
  arguments: [`@id:${mcpGalleryServiceEnablementConfig}`],
258
258
  text: mcpGalleryServiceEnablementConfig,
259
- tooltip: ( localize(10606, "Open Settings"))
259
+ tooltip: ( localize(10671, "Open Settings"))
260
260
  }).toString());
261
261
  const description = append(welcomeContent, $(".mcp-welcome-description"));
262
262
  const markdownResult = this._register(this.markdownRendererService.render(( new MarkdownString(( localize(
263
- 10607,
263
+ 10672,
264
264
  "Browse and install [Model Context Protocol (MCP) servers](https://code.visualstudio.com/docs/copilot/customization/mcp-servers) directly from VS Code to extend agent mode with extra tools for connecting to databases, invoking APIs and performing specialized tasks."
265
265
  )), {
266
266
  isTrusted: {
267
267
  enabledCommands: ["workbench.action.openSettings"]
268
268
  }
269
269
  })).appendMarkdown("\n\n").appendMarkdown(( localize(
270
- 10608,
270
+ 10673,
271
271
  "This feature is currently in preview. You can disable it anytime using the setting {0}.",
272
272
  settingsCommandLink
273
273
  )))));
274
274
  description.appendChild(markdownResult.element);
275
275
  const buttonContainer = append(welcomeContent, $(".mcp-welcome-button-container"));
276
276
  const button = this._register(( new Button(buttonContainer, {
277
- title: ( localize(10609, "Enable MCP Servers Marketplace")),
277
+ title: ( localize(10674, "Enable MCP Servers Marketplace")),
278
278
  ...defaultButtonStyles
279
279
  })));
280
- button.label = ( localize(10609, "Enable MCP Servers Marketplace"));
280
+ button.label = ( localize(10674, "Enable MCP Servers Marketplace"));
281
281
  this._register(button.onDidClick(async () => {
282
282
  const {
283
283
  result
284
284
  } = await this.dialogService.prompt({
285
285
  type: "info",
286
- message: ( localize(10610, "Enable MCP Servers Marketplace?")),
286
+ message: ( localize(10675, "Enable MCP Servers Marketplace?")),
287
287
  custom: {
288
288
  markdownDetails: [{
289
289
  markdown: ( new MarkdownString(( localize(
290
- 10608,
290
+ 10673,
291
291
  "This feature is currently in preview. You can disable it anytime using the setting {0}.",
292
292
  settingsCommandLink
293
293
  )), {
@@ -296,10 +296,10 @@ let McpServersListView = class McpServersListView extends AbstractExtensionsList
296
296
  }]
297
297
  },
298
298
  buttons: [{
299
- label: ( localize(10611, "Enable")),
299
+ label: ( localize(10676, "Enable")),
300
300
  run: () => true
301
301
  }, {
302
- label: ( localize(10612, "Cancel")),
302
+ label: ( localize(10677, "Cancel")),
303
303
  run: () => false
304
304
  }]
305
305
  });
@@ -319,7 +319,7 @@ let McpServersListView = class McpServersListView extends AbstractExtensionsList
319
319
  this.bodyTemplate.messageBox.textContent = message.text;
320
320
  } else if (count === 0) {
321
321
  this.bodyTemplate.messageSeverityIcon.className = "";
322
- this.bodyTemplate.messageBox.textContent = ( localize(10613, "No MCP Servers found."));
322
+ this.bodyTemplate.messageBox.textContent = ( localize(10678, "No MCP Servers found."));
323
323
  }
324
324
  if (this.bodyTemplate.messageBox.textContent) {
325
325
  alert(this.bodyTemplate.messageBox.textContent);
@@ -533,7 +533,7 @@ class McpServersViewsContribution extends Disposable {
533
533
  super();
534
534
  ( Registry.as(Extensions.ViewsRegistry)).registerViews([{
535
535
  id: InstalledMcpServersViewId,
536
- name: ( localize2(10614, "MCP Servers - Installed")),
536
+ name: ( localize2(10679, "MCP Servers - Installed")),
537
537
  ctorDescriptor: ( new SyncDescriptor(McpServersListView, [{}])),
538
538
  when: ( ContextKeyExpr.and(DefaultViewsContext, HasInstalledMcpServersContext, ( ChatContextKeys.Setup.hidden.negate()))),
539
539
  weight: 40,
@@ -541,7 +541,7 @@ class McpServersViewsContribution extends Disposable {
541
541
  canToggleVisibility: true
542
542
  }, {
543
543
  id: "workbench.views.mcp.default.marketplace",
544
- name: ( localize2(10615, "MCP Servers")),
544
+ name: ( localize2(10680, "MCP Servers")),
545
545
  ctorDescriptor: ( new SyncDescriptor(DefaultBrowseMcpServersView, [{}])),
546
546
  when: ( ContextKeyExpr.and(DefaultViewsContext, ( HasInstalledMcpServersContext.toNegated()), ( ChatContextKeys.Setup.hidden.negate()), ( McpServersGalleryStatusContext.isEqualTo(McpGalleryManifestStatus.Available)), ( ContextKeyExpr.or(( ContextKeyDefinedExpr.create(`config.${mcpGalleryServiceUrlConfig}`)), ( ProductQualityContext.notEqualsTo("stable")), ( ContextKeyDefinedExpr.create(`config.${mcpGalleryServiceEnablementConfig}`)))))),
547
547
  weight: 40,
@@ -549,12 +549,12 @@ class McpServersViewsContribution extends Disposable {
549
549
  canToggleVisibility: true
550
550
  }, {
551
551
  id: "workbench.views.mcp.marketplace",
552
- name: ( localize2(10615, "MCP Servers")),
552
+ name: ( localize2(10680, "MCP Servers")),
553
553
  ctorDescriptor: ( new SyncDescriptor(McpServersListView, [{}])),
554
554
  when: ( ContextKeyExpr.and(SearchMcpServersContext, ( ChatContextKeys.Setup.hidden.negate()), ( McpServersGalleryStatusContext.isEqualTo(McpGalleryManifestStatus.Available)), ( ContextKeyExpr.or(( ContextKeyDefinedExpr.create(`config.${mcpGalleryServiceUrlConfig}`)), ( ProductQualityContext.notEqualsTo("stable")), ( ContextKeyDefinedExpr.create(`config.${mcpGalleryServiceEnablementConfig}`))))))
555
555
  }, {
556
556
  id: "workbench.views.mcp.default.welcomeView",
557
- name: ( localize2(10615, "MCP Servers")),
557
+ name: ( localize2(10680, "MCP Servers")),
558
558
  ctorDescriptor: ( new SyncDescriptor(DefaultBrowseMcpServersView, [{
559
559
  showWelcome: true
560
560
  }])),
@@ -564,7 +564,7 @@ class McpServersViewsContribution extends Disposable {
564
564
  canToggleVisibility: true
565
565
  }, {
566
566
  id: "workbench.views.mcp.welcomeView",
567
- name: ( localize2(10615, "MCP Servers")),
567
+ name: ( localize2(10680, "MCP Servers")),
568
568
  ctorDescriptor: ( new SyncDescriptor(McpServersListView, [{
569
569
  showWelcome: true
570
570
  }])),
@@ -450,7 +450,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
450
450
  const existing = result.get(server.name);
451
451
  if (existing) {
452
452
  this.logService.warn(( localize(
453
- 10616,
453
+ 10681,
454
454
  "Overwriting mcp server '{0}' from {1} with {2}.",
455
455
  server.name,
456
456
  server.mcpResource.path,
@@ -463,7 +463,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
463
463
  const existing = result.get(server.name);
464
464
  if (existing) {
465
465
  this.logService.warn(( localize(
466
- 10616,
466
+ 10681,
467
467
  "Overwriting mcp server '{0}' from {1} with {2}.",
468
468
  server.name,
469
469
  server.mcpResource.path,
@@ -476,7 +476,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
476
476
  }
477
477
  canInstall(mcpServer) {
478
478
  if (!(mcpServer instanceof McpWorkbenchServer)) {
479
- return ( new MarkdownString()).appendText(( localize(10617, "The provided object is not an mcp server.")));
479
+ return ( new MarkdownString()).appendText(( localize(10682, "The provided object is not an mcp server.")));
480
480
  }
481
481
  if (mcpServer.gallery) {
482
482
  const result = this.mcpManagementService.canInstall(mcpServer.gallery);
@@ -493,7 +493,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
493
493
  return result;
494
494
  }
495
495
  return ( new MarkdownString()).appendText(( localize(
496
- 10618,
496
+ 10683,
497
497
  "Cannot install the '{0}' MCP Server because it is not available in this setup.",
498
498
  mcpServer.label
499
499
  )));
@@ -600,7 +600,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
600
600
  id: USER_CONFIG_ID,
601
601
  key: "userLocalValue",
602
602
  target: ConfigurationTarget.USER_LOCAL,
603
- label: ( localize(10619, "Global in {0}", this.productService.nameShort)),
603
+ label: ( localize(10684, "Global in {0}", this.productService.nameShort)),
604
604
  scope: StorageScope.PROFILE,
605
605
  order: McpCollectionSortOrder.User,
606
606
  uri: mcpResource,
@@ -789,7 +789,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
789
789
  state: McpServerEnablementState.DisabledProfile,
790
790
  message: {
791
791
  severity: Severity.Info,
792
- text: ( new MarkdownString(( localize(10620, "This MCP server is disabled."))))
792
+ text: ( new MarkdownString(( localize(10685, "This MCP server is disabled."))))
793
793
  }
794
794
  };
795
795
  }
@@ -798,7 +798,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
798
798
  state: McpServerEnablementState.DisabledWorkspace,
799
799
  message: {
800
800
  severity: Severity.Info,
801
- text: ( new MarkdownString(( localize(10621, "This MCP server is disabled for this workspace."))))
801
+ text: ( new MarkdownString(( localize(10686, "This MCP server is disabled for this workspace."))))
802
802
  }
803
803
  };
804
804
  }
@@ -818,7 +818,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
818
818
  message: {
819
819
  severity: Severity.Warning,
820
820
  text: ( new MarkdownString(( localize(
821
- 10622,
821
+ 10687,
822
822
  "This MCP Server is disabled because MCP servers are configured to be disabled in the Editor. Please check your [settings]({0}).",
823
823
  settingsCommandLink
824
824
  ))))
@@ -832,7 +832,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
832
832
  message: {
833
833
  severity: Severity.Warning,
834
834
  text: ( new MarkdownString(( localize(
835
- 10623,
835
+ 10688,
836
836
  "This MCP Server is disabled because it is configured to be disabled in the Editor. Please check your [settings]({0}).",
837
837
  settingsCommandLink
838
838
  ))))
@@ -846,7 +846,7 @@ let McpWorkbenchService = class McpWorkbenchService extends Disposable {
846
846
  message: {
847
847
  severity: Severity.Warning,
848
848
  text: ( new MarkdownString(( localize(
849
- 10623,
849
+ 10688,
850
850
  "This MCP Server is disabled because it is configured to be disabled in the Editor. Please check your [settings]({0}).",
851
851
  settingsCommandLink
852
852
  ))))
@@ -141,20 +141,20 @@ let ExtensionMcpDiscovery = ExtensionMcpDiscovery_1 = class ExtensionMcpDiscover
141
141
  }
142
142
  static _validate(user) {
143
143
  if (!Array.isArray(user.value)) {
144
- user.collector.error(( localize(10624, "Expected an array of MCP collections")));
144
+ user.collector.error(( localize(10689, "Expected an array of MCP collections")));
145
145
  return false;
146
146
  }
147
147
  for (const contribution of user.value) {
148
148
  if (typeof contribution.id !== "string" || isFalsyOrWhitespace(contribution.id)) {
149
- user.collector.error(( localize(10625, "Expected 'id' to be a non-empty string.")));
149
+ user.collector.error(( localize(10690, "Expected 'id' to be a non-empty string.")));
150
150
  return false;
151
151
  }
152
152
  if (typeof contribution.label !== "string" || isFalsyOrWhitespace(contribution.label)) {
153
- user.collector.error(( localize(10626, "Expected 'label' to be a non-empty string.")));
153
+ user.collector.error(( localize(10691, "Expected 'label' to be a non-empty string.")));
154
154
  return false;
155
155
  }
156
156
  if (contribution.when !== undefined && (typeof contribution.when !== "string" || isFalsyOrWhitespace(contribution.when))) {
157
- user.collector.error(( localize(10627, "Expected 'when' to be a non-empty string.")));
157
+ user.collector.error(( localize(10692, "Expected 'when' to be a non-empty string.")));
158
158
  return false;
159
159
  }
160
160
  }
@@ -86,7 +86,7 @@ let NativeFilesystemMcpDiscovery = class NativeFilesystemMcpDiscovery extends Fi
86
86
  this.suffix = "";
87
87
  if (remoteAuthority) {
88
88
  this.suffix = " " + ( localize(
89
- 10628,
89
+ 10693,
90
90
  " on {0}",
91
91
  labelService.getHostLabel(Schemas.vscodeRemote, remoteAuthority)
92
92
  ));
@@ -81,6 +81,9 @@ let PluginMcpDiscovery = class PluginMcpDiscovery extends Disposable {
81
81
  id: `${collectionId}.${name}`,
82
82
  label: name,
83
83
  launch,
84
+ variableReplacement: {
85
+ target: ConfigurationTarget.USER
86
+ },
84
87
  cacheNonce: String(hash(launch))
85
88
  };
86
89
  }
@@ -14,19 +14,19 @@ var McpContextKeys;
14
14
  (function(McpContextKeys) {
15
15
  McpContextKeys.serverCount = ( new RawContextKey("mcp.serverCount", undefined, {
16
16
  type: "number",
17
- description: ( localize(10669, "Context key that has the number of registered MCP servers"))
17
+ description: ( localize(10734, "Context key that has the number of registered MCP servers"))
18
18
  }));
19
19
  McpContextKeys.hasUnknownTools = ( new RawContextKey("mcp.hasUnknownTools", undefined, {
20
20
  type: "boolean",
21
- description: ( localize(10670, "Indicates whether there are MCP servers with unknown tools."))
21
+ description: ( localize(10735, "Indicates whether there are MCP servers with unknown tools."))
22
22
  }));
23
23
  McpContextKeys.hasServersWithErrors = ( new RawContextKey("mcp.hasServersWithErrors", undefined, {
24
24
  type: "boolean",
25
- description: ( localize(10671, "Indicates whether there are any MCP servers with errors."))
25
+ description: ( localize(10736, "Indicates whether there are any MCP servers with errors."))
26
26
  }));
27
27
  McpContextKeys.toolsCount = ( new RawContextKey("mcp.toolsCount", undefined, {
28
28
  type: "number",
29
- description: ( localize(10672, "Context key that has the number of registered MCP tools"))
29
+ description: ( localize(10737, "Context key that has the number of registered MCP tools"))
30
30
  }));
31
31
  })(McpContextKeys || (McpContextKeys = {}));
32
32
  let McpContextKeysController = class McpContextKeysController extends Disposable {
@@ -71,7 +71,7 @@ let McpLanguageModelToolContribution = class McpLanguageModelToolContribution ex
71
71
  const toolSet = store.add(
72
72
  this._toolsService.createToolSet(source, server.definition.id, referenceName, {
73
73
  icon: Codicon.mcp,
74
- description: ( localize(10673, "{0}: All Tools", server.definition.label))
74
+ description: ( localize(10738, "{0}: All Tools", server.definition.label))
75
75
  })
76
76
  );
77
77
  return {
@@ -191,7 +191,7 @@ let McpToolImplementation = class McpToolImplementation {
191
191
  });
192
192
  const isSandboxedServer = sandboxEnabled === true;
193
193
  const mcpToolWarning = ( localize(
194
- 10674,
194
+ 10739,
195
195
  "Note that MCP servers or malicious conversation content may attempt to misuse '{0}' through tools.",
196
196
  this._productService.nameShort
197
197
  ));
@@ -200,7 +200,7 @@ let McpToolImplementation = class McpToolImplementation {
200
200
  if (!isSandboxedServer) {
201
201
  confirm = {};
202
202
  if (!tool.definition.annotations?.readOnlyHint) {
203
- confirm.title = ( new MarkdownString(( localize(10675, "Run {0}", title))));
203
+ confirm.title = ( new MarkdownString(( localize(10740, "Run {0}", title))));
204
204
  confirm.message = ( new MarkdownString(tool.definition.description, {
205
205
  supportThemeIcons: true
206
206
  }));
@@ -214,9 +214,9 @@ let McpToolImplementation = class McpToolImplementation {
214
214
  const mcpUiEnabled = this._configurationService.getValue(mcpAppsEnabledConfig);
215
215
  return {
216
216
  confirmationMessages: confirm,
217
- invocationMessage: ( new MarkdownString(( localize(10676, "Running {0}", title)))),
218
- pastTenseMessage: ( new MarkdownString(( localize(10677, "Ran {0} ", title)))),
219
- originMessage: ( localize(10678, "{0} (MCP Server)", server.definition.label)),
217
+ invocationMessage: ( new MarkdownString(( localize(10741, "Running {0}", title)))),
218
+ pastTenseMessage: ( new MarkdownString(( localize(10742, "Ran {0} ", title)))),
219
+ originMessage: ( localize(10743, "{0} (MCP Server)", server.definition.label)),
220
220
  toolSpecificData: {
221
221
  kind: "input",
222
222
  rawInput: context.parameters,