Skip to content

Commit dd88bdc

Browse files
committed
Added changeset
1 parent 78fdbb0 commit dd88bdc

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.changeset/calm-houses-listen.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@sei-js/mcp-server": patch
3+
---
4+
5+
Fix session binding and response isolation in the HTTP SSE transport.
6+
7+
- POST handler now validates `sessionId` on every request — rejects missing session IDs (400) and unknown session IDs (404)
8+
- Each POST is routed to the transport instance that owns the matching session ID, preventing cross-client request injection
9+
- Session IDs now use the MCP SDK's `transport.sessionId` rather than `Date.now()`

0 commit comments

Comments
 (0)