MCPcopy Create free account
hub / github.com/Roy3838/Observer / removeCustomServer

Method removeCustomServer

app/src/utils/ModelManager.ts:420–426  ·  view source on GitHub ↗
(address: string)

Source from the content-addressed store, hash-verified

418 }
419
420 public removeCustomServer(address: string): CustomServer[] {
421 this.customServers = this.customServers.filter(s => s.address !== address);
422 this.saveCustomServersToStorage();
423 this.removeServer(address);
424
425 return [...this.customServers];
426 }
427
428 public toggleCustomServer(address: string): CustomServer[] {
429 const server = this.customServers.find(s => s.address === address);

Callers 1

removeCustomServerFunction · 0.80

Calls 3

removeServerMethod · 0.95
filterMethod · 0.80

Tested by

no test coverage detected