Skip to content

Commit fc9b09a

Browse files
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#820
1 parent 9ab340c commit fc9b09a

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)