feat: Add lightweight Disconnect button
This commit is contained in:
parent
fa7f9c80cd
commit
9ab213bc89
1 changed files with 31 additions and 11 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue