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

Function capabilitySnapshot

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

Source from the content-addressed store, hash-verified

325};
326
327const capabilitySnapshot = (server: McpServer) => ({
328 clientCapabilities: server.server.getClientCapabilities() ?? null,
329 elicitationSupport: getElicitationSupport(server),
330});
331
332class McpNativeElicitationTransportError extends Data.TaggedError(
333 "McpNativeElicitationTransportError",

Callers 1

syncToolAvailabilityFunction · 0.85

Calls 1

getElicitationSupportFunction · 0.85

Tested by

no test coverage detected