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

Function getRuntimeLabelForServer

src/cm/lsp/runtimeActions.ts:108–114  ·  view source on GitHub ↗
(
	server: LspServerDefinition,
	context?: LspRuntimeContext,
)

Source from the content-addressed store, hash-verified

106}
107
108export async function getRuntimeLabelForServer(
109 server: LspServerDefinition,
110 context?: LspRuntimeContext,
111): Promise<string> {
112 const provider = await getProvider(server, context);
113 return provider?.label || "Unavailable";
114}

Callers

nothing calls this directly

Calls 1

getProviderFunction · 0.85

Tested by

no test coverage detected