From 731ee588c2a2a7b57d0f06fdc1f38785f22367e9 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Fri, 24 Jan 2025 13:55:43 +0000 Subject: [PATCH] Fix Authorization header passthrough Node.js headers are lowercase --- server/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/index.ts b/server/src/index.ts index 1428e80..c215f34 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -14,7 +14,7 @@ import express from "express"; import { findActualExecutable } from "spawn-rx"; import mcpProxy from "./mcpProxy.js"; -const SSE_HEADERS_PASSTHROUGH = ['Authorization']; +const SSE_HEADERS_PASSTHROUGH = ['authorization']; const defaultEnvironment = { ...getDefaultEnvironment(),