In server/index.ts

- Add last-event-id to STREAMABLE_HTTP_HEADERS_PASSTHROUGH.
This commit is contained in:
cliffhall 2025-04-24 11:39:48 -04:00
commit 7b9cd1e74d

View file

@ -22,7 +22,7 @@ import mcpProxy from "./mcpProxy.js";
import { randomUUID } from "node:crypto";
const SSE_HEADERS_PASSTHROUGH = ["authorization"];
const STREAMABLE_HTTP_HEADERS_PASSTHROUGH = ["authorization", "mcp-session-id"];
const STREAMABLE_HTTP_HEADERS_PASSTHROUGH = ["authorization", "mcp-session-id", "last-event-id"];
const defaultEnvironment = {
...getDefaultEnvironment(),