MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / saveServerList

Function saveServerList

app/src/modules/hub.js:72–74  ·  view source on GitHub ↗
(list)

Source from the content-addressed store, hash-verified

70}
71
72function saveServerList(list) {
73 localStorage.setItem(STORAGE_KEY, JSON.stringify(normalizeServerList(list)));
74}
75
76function findDuplicateServer(list, wsUrl, excludeId = null) {
77 return list.find(server => server.id !== excludeId && getServerDedupKey(server) === `ws:${wsUrl}`);

Callers 6

addServerFunction · 0.70
saveServerFunction · 0.70
removeServerFunction · 0.70
migrateServerListFunction · 0.70
connectToServerFunction · 0.70
saveServerDialogFunction · 0.70

Calls 1

normalizeServerListFunction · 0.70

Tested by

no test coverage detected