MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / capabilitySnapshot

Function capabilitySnapshot

packages/hosts/mcp/src/tool-server.ts:340–343  ·  view source on GitHub ↗
(server: McpServer)

Source from the content-addressed store, hash-verified

338};
339
340const capabilitySnapshot = (server: McpServer) => ({
341 clientCapabilities: server.server.getClientCapabilities() ?? null,
342 elicitationSupport: getElicitationSupport(server),
343});
344
345class McpNativeElicitationTransportError extends Data.TaggedError(
346 "McpNativeElicitationTransportError",

Callers 1

syncToolAvailabilityFunction · 0.85

Calls 1

getElicitationSupportFunction · 0.85

Tested by

no test coverage detected