refactor: Use new serverspecifickey API

This commit is contained in:
Maxwell Gerber 2025-04-16 16:24:49 -07:00
commit 15960f5aa4
No known key found for this signature in database
GPG key ID: BB9C1A99266069B0

View file

@ -396,6 +396,7 @@ export function useConnection({
const disconnect = async () => {
await mcpClient?.close();
const authProvider = new InspectorOAuthClientProvider(sseUrl);
authProvider.clear();
setMcpClient(null);
setConnectionStatus("disconnected");