17
18
export class TestMcpService implements IMcpService {
20
>
public servers = observableValue<readonly IMcpServer[]>(this, []);
21
>
public readonly enablementModel: IEnablementModel = new TestEnablementModel();
22
>
resetCaches(): void {
23
>
24
>
}
25
>
resetTrust(): void {
26
27
}
29
>
cancelAutostart(): void {
30
31
}
33
>
autostart() {
34
return observableValue<IAutostartResult>(this, { working: false, starting: [], serversRequiringInteraction: [] });
35
}
37
>
public lazyCollectionState = observableValue(this, { state: LazyCollectionState.AllKnown, collections: [] });
38
39
activateCollections(): Promise<void> {