Commit fc9b09a
authored
fix: upgrade @modelcontextprotocol/sdk to v1.17.2 for transport handling fix (#96)
Upgrades the MCP SDK to version 1.17.2 which includes a critical fix for
transport handling in multi-client scenarios.
The previous SDK version had a bug where the Protocol class would overwrite
its transport reference, causing responses to be sent to the wrong client
when multiple clients were connected. This was particularly problematic for
StreamableHTTP transport in production environments.
The fix ensures that each request maintains its proper transport context
through closure capture, guaranteeing responses are sent to the correct client.
All existing tests pass with the new version, confirming compatibility.
Related: modelcontextprotocol/typescript-sdk#8201 parent 9ab340c commit fc9b09a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments