File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,10 @@ export interface IProductConfiguration {
112112 readonly accessSKUs ?: string [ ] ;
113113 } ;
114114
115+ readonly mcpGallery ?: {
116+ readonly serviceUrl : string ;
117+ } ;
118+
115119 readonly extensionPublisherOrgs ?: readonly string [ ] ;
116120 readonly trustedExtensionPublishers ?: readonly string [ ] ;
117121
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export class McpGalleryManifestService extends Disposable implements IMcpGallery
1515 readonly onDidChangeMcpGalleryManifestStatus = Event . None ;
1616
1717 get mcpGalleryManifestStatus ( ) : McpGalleryManifestStatus {
18- return ! ! this . productService . extensionsGallery ?. mcpUrl ? McpGalleryManifestStatus . Available : McpGalleryManifestStatus . Unavailable ;
18+ return ! ! this . productService . mcpGallery ?. serviceUrl ? McpGalleryManifestStatus . Available : McpGalleryManifestStatus . Unavailable ;
1919 }
2020
2121 constructor (
@@ -25,7 +25,10 @@ export class McpGalleryManifestService extends Disposable implements IMcpGallery
2525 }
2626
2727 async getMcpGalleryManifest ( ) : Promise < IMcpGalleryManifest | null > {
28- return null ;
28+ if ( ! this . productService . mcpGallery ) {
29+ return null ;
30+ }
31+ return this . createMcpGalleryManifest ( this . productService . mcpGallery . serviceUrl ) ;
2932 }
3033
3134 protected createMcpGalleryManifest ( url : string ) : IMcpGalleryManifest {
You can’t perform that action at this time.
0 commit comments