Skip to content

Conversation

@hashemix
Copy link
Member

📌 Summary

This PR introduces several enhancements and refactorings to the sdk:

✨ Major Feature:

  • Added support for Streamable HTTP for MCP Servers, to align with protocol specifications such as support of long-lived connections as well as none-streamable responses, batch messages, and DNS Rebinding protection.

🛠 Refactoring & Structural Improvements:

  • Refactored transport layer and associated traits
    Improved the separation of concerns and modularity by restructuring transport logic and key traits.

🔐 Security Enhancements:

  • Introduced DNS rebinding protection middleware
    Middleware added for both SSE and Streamable HTTP to mitigate DNS rebinding attacks.

✅ Testing & Compliance:

  • Implemented unit tests for HTTP streaming
    Tests ensure compliance with the official protocol and validate stream behavior under various conditions.

🔍 Related Issues

💡 Additional Notes

Readme and examples will be updated in following pull requests.
Streamable HTTP support for client will be released soon.

@hashemix hashemix merged commit 1864ce8 into main Aug 12, 2025
1 check passed
@hashemix hashemix mentioned this pull request Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants