MCPcopy
hub / github.com/CopilotKit/CopilotKit / close

Method close

packages/runtime/src/lib/runtime/mcp-tools-utils.ts:27–27  ·  view source on GitHub ↗

An optional method for cleanup if the underlying client requires explicit disconnection.

()

Source from the content-addressed store, hash-verified

25 tools(): Promise<Record<string, MCPTool>>;
26 /** An optional method for cleanup if the underlying client requires explicit disconnection. */
27 close?(): Promise<void>;
28}
29
30/**

Callers 15

stopMethod · 0.65
closeMethod · 0.65
stopMethod · 0.65
stopFunction · 0.65
showMethod · 0.65
cleanupMethod · 0.65
startFunction · 0.65
startFunction · 0.65
handleDebugEventsFunction · 0.65
closeStreamFunction · 0.65

Calls

no outgoing calls

Tested by 15

startFunction · 0.52
closeFunction · 0.52
startFunction · 0.52
startFunction · 0.52
createHonoMultiServerFunction · 0.52
createNodeMultiServerFunction · 0.52
createExpressMultiServerFunction · 0.52
createHonoSingleServerFunction · 0.52
createNodeSingleServerFunction · 0.52
singleEndpointSuiteFunction · 0.52
multiEndpointSuiteFunction · 0.52