diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index 5efa721..358aa9c 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -119,13 +119,22 @@ const Sidebar = ({ args: args.trim() ? args.split(/\s+/) : [], env: { ...env }, }; - } else { + } + if (transportType === "sse") { return { type: "sse", url: sseUrl, note: "For SSE connections, add this URL directly in Client", }; } + if (transportType === "streamable-http") { + return { + type: "streamable-http", + url: sseUrl, + note: "For Streamable HTTP connections, add this URL directly in Client", + }; + } + return {}; }, [transportType, command, args, env, sseUrl]); // Memoized config entry generator @@ -266,44 +275,6 @@ const Sidebar = ({ className="font-mono" /> -