Skip to content

Commit f45a81b

Browse files
committed
fix: upgrade @modelcontextprotocol/sdk to v1.17.2 for transport handling fix
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#820
1 parent 0b92b2e commit f45a81b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"zod": "^3.25.50"
7171
},
7272
"peerDependencies": {
73-
"@modelcontextprotocol/sdk": "^1.12.0",
73+
"@modelcontextprotocol/sdk": "^1.17.2",
7474
"next": ">=13.0.0"
7575
},
7676
"peerDependenciesMeta": {

0 commit comments

Comments
 (0)