feat: Add lightweight Disconnect button

This commit is contained in:
Maxwell Gerber 2025-03-31 18:54:44 -07:00
commit 9ab213bc89
No known key found for this signature in database
GPG key ID: BB9C1A99266069B0

View file

@ -145,6 +145,7 @@ const App = () => {
handleCompletion,
completionsSupported,
connect: connectMcpServer,
disconnect: disconnectMcpServer,
} = useConnection({
transportType,
command,
@ -458,6 +459,7 @@ const App = () => {
bearerToken={bearerToken}
setBearerToken={setBearerToken}
onConnect={connectMcpServer}
onDisconnect={disconnectMcpServer}
stdErrNotifications={stdErrNotifications}
logLevel={logLevel}
sendLogLevelRequest={sendLogLevelRequest}