We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4352d32 + 51d28cd commit 19e12e2Copy full SHA for 19e12e2
server/src/index.ts
@@ -53,8 +53,8 @@ const getHttpHeaders = (req: express.Request): Record<string, string> => {
53
lowerKey === "authorization" ||
54
lowerKey === "last-event-id"
55
) {
56
- // Exclude the proxy's own authentication header
57
- 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") {
58
const value = req.headers[key];
59
60
if (typeof value === "string") {
0 commit comments