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

Function capabilitySnapshot

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

Source from the content-addressed store, hash-verified

396};
397
398const capabilitySnapshot = (server: McpServer) => ({
399 clientCapabilities: server.server.getClientCapabilities() ?? null,
400 elicitationSupport: getElicitationSupport(server),
401});
402
403class McpNativeElicitationTransportError extends Data.TaggedError(
404 "McpNativeElicitationTransportError",

Callers 1

syncToolAvailabilityFunction · 0.85

Calls 1

getElicitationSupportFunction · 0.85

Tested by

no test coverage detected