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 f253c89 + 3d1a942 commit a5bc0e1Copy full SHA for a5bc0e1
server/src/index.ts
@@ -39,6 +39,10 @@ const { values } = parseArgs({
39
40
const app = express();
41
app.use(cors());
42
+app.use((req, res, next) => {
43
+ res.header("Access-Control-Expose-Headers", "mcp-session-id");
44
+ next();
45
+});
46
47
const webAppTransports: Map<string, Transport> = new Map<string, Transport>(); // Transports by sessionId
48
0 commit comments