Merge branch 'main' into tool-search

This commit is contained in:
Cliff Hall 2025-09-16 18:40:50 -04:00 • committed by GitHub
commit e5c8a315d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,8 +53,8 @@ const getHttpHeaders = (req: express.Request): Record<string, string> => {
lowerKey === "authorization" ||
lowerKey === "last-event-id"
) {
// Exclude the proxy's own authentication header
if (lowerKey !== "x-mcp-proxy-auth") {
// Exclude the proxy's own authentication header and the Client <-> Proxy session ID header
if (lowerKey !== "x-mcp-proxy-auth" && lowerKey !== "mcp-session-id") {
const value = req.headers[key];
if (typeof value === "string") {