Path: blob/main/src/vs/platform/mcp/common/nativeMcpDiscoveryHelper.ts
3294 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { Platform } from '../../../base/common/platform.js';6import { URI } from '../../../base/common/uri.js';7import { createDecorator } from '../../instantiation/common/instantiation.js';89export const INativeMcpDiscoveryHelperService = createDecorator<INativeMcpDiscoveryHelperService>('INativeMcpDiscoveryHelperService');1011export const NativeMcpDiscoveryHelperChannelName = 'NativeMcpDiscoveryHelper';1213export interface INativeMcpDiscoveryData {14// platform and homedir are duplicated by the remote/native environment, but here for convenience15platform: Platform;16homedir: URI;17winAppData?: URI;18xdgHome?: URI;19}2021export interface INativeMcpDiscoveryHelperService {22readonly _serviceBrand: undefined;2324load(): Promise<INativeMcpDiscoveryData>;25}262728