-
Notifications
You must be signed in to change notification settings - Fork 208
Server: Added Streamable HTTP & Bump MCP SDK version #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Server: Added Streamable HTTP & Bump MCP SDK version #166
Conversation
…m guards; bump SDK
thanks for the PR! we need to make this optional. can you share your usecase? |
The Use case is that there are some MCP clients that only support the new Http Streamable method. |
Co-authored-by: AhmedElhadidii <[email protected]>
Co-authored-by: AhmedElhadidii <[email protected]>
…-36a8041e48ba Support both Streamable HTTP and SSE transports for backward compatibility
@AhmedElhadidii this PR is lit 🔥 🔥 ! I'll check it thoroughly with n8n and I'll merge. |
btw, why was the types.d file needed? these types are exported already in the mcp package itself. thank you so much for this PR!!!! 🙏 |
Yes You're absolutely Right!👌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Summary;
-Migrate server transport from SSE to Streamable HTTP.
-Consolidate all MCP traffic to a single /mcp endpoint with StreamableHTTPServerTransport.handleRequest.
-Keep stdio mode unchanged.
-Add Linux-safe guards to avoid xcrun calls on non-macOS.
-Bump MCP SDK to ^1.13.2.