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

Method removeCustomServer

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

Source from the content-addressed store, hash-verified

399 }
400
401 public removeCustomServer(address: string): CustomServer[] {
402 this.customServers = this.customServers.filter(s => s.address !== address);
403 this.saveCustomServersToStorage();
404 this.removeServer(address);
405
406 return [...this.customServers];
407 }
408
409 public toggleCustomServer(address: string): CustomServer[] {
410 const server = this.customServers.find(s => s.address === address);

Callers 1

removeCustomServerFunction · 0.80

Calls 2

removeServerMethod · 0.95

Tested by

no test coverage detected