MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getServer

Function getServer

src/cm/lsp/serverRegistry.ts:395–397  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

393}
394
395export function getServer(id: string): LspServerDefinition | null {
396 return registry.get(toKey(id)) ?? null;
397}
398
399export function listServers(): LspServerDefinition[] {
400 return Array.from(registry.values());

Callers 1

getFunction · 0.90

Calls 2

toKeyFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected