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

Function capabilitySnapshot

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

Source from the content-addressed store, hash-verified

314};
315
316const capabilitySnapshot = (server: McpServer) => ({
317 clientCapabilities: server.server.getClientCapabilities() ?? null,
318 elicitationSupport: getElicitationSupport(server),
319});
320
321class McpNativeElicitationTransportError extends Data.TaggedError(
322 "McpNativeElicitationTransportError",

Callers 1

syncToolAvailabilityFunction · 0.85

Calls 1

getElicitationSupportFunction · 0.85

Tested by

no test coverage detected