You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/mcp/inspectorClient.ts
+26-2Lines changed: 26 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -854,10 +854,34 @@ export class InspectorClient extends InspectorClientEventTarget {
854
854
}
855
855
856
856
/**
857
-
* Disconnect from the MCP server
857
+
* Disconnect from the MCP server.
858
+
* @param safeDisconnectTimeout If > 0, poll every 10ms until SDK _responseHandlers is empty or this many ms have elapsed, then close. Default 0 = close immediately.
0 commit comments