Commit d84c910
committed
feat: Refactor MCP route extensions
- Move `TransportManager` to separate file and generalize.
- Refactored `mcpStreamableHttp` and `mcpStatelessStreamableHttp` to use config object.
- Added integration tests (`KtorStreamableHttpExtensionsTest`) to validate route registrations, subpath handling, and sibling route isolation.1 parent 58dfa97 commit d84c910
5 files changed
Lines changed: 571 additions & 117 deletions
File tree
- kotlin-sdk-server/src
- commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server
- jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/server
0 commit comments