From dd6f5287ca3e87cca792a383b78412bbc394fb9d Mon Sep 17 00:00:00 2001 From: Santthosh Selvadurai Date: Wed, 30 Apr 2025 22:21:59 -0700 Subject: [PATCH] Fix to the Authorization header bug for Streamable-HTTP Reference issue [https://github.com/modelcontextprotocol/inspector/issues/369] --- client/src/lib/hooks/useConnection.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/lib/hooks/useConnection.ts b/client/src/lib/hooks/useConnection.ts index 27bc11a..f23f449 100644 --- a/client/src/lib/hooks/useConnection.ts +++ b/client/src/lib/hooks/useConnection.ts @@ -335,6 +335,7 @@ export function useConnection({ transportType === "streamable-http" ? new StreamableHTTPClientTransport(mcpProxyServerUrl as URL, { sessionId: undefined, + ...transportOptions, }) : new SSEClientTransport(mcpProxyServerUrl as URL, transportOptions);