Sourced from io.modelcontextprotocol:kotlin-sdk-client's releases.
0.9.0
What's Changed
Breaking Changes
- Server call handlers now receive a
RequestContext— handler lambdas for tools, prompts, and resources have a newcontextparameter providing access to request metadata (#515) by@rnett- Ktor extension functions moved from
RoutingtoRoute— update call sites:routing { mcpSse() }→route("/mcp") { mcpSse() }or use directly in anyRouteblock (#531) by@kpavlovStdioServerTransportrethrowsCancellationException— cancellation is no longer silently swallowed;ReadBufferparsing was also fixed (#571) by@kpavlovNew Features
kotlin-sdk-testingmodule — new artifact providing an in-process, channel-basedTestClientTransport/TestServerTransportfor unit testing MCP servers and clients without network I/O (#505) by@kpavlovStreamableHttpServerTransport.Configuration— configurable builder for the Streamable HTTP server transport (timeouts, session handling, etc.) (#560) by@kpavlov- Ktor extensions for Streamable HTTP —
mcpStreamableHttp()Ktor plugin and routing DSL for mounting a Streamable HTTP MCP server (#504 by@devcrocod, #568 by@kpavlov)$defssupport inToolSchema— JSON Schema$defs/ definitions can now be expressed in tool input schemas (#526) by@i1broBug Fixes
- Fixed SSE transport endpoint resolution for non-root mount paths (#565) by
@Amaneusz- Fixed
StdioClientTransporthanging indefinitely by adding proper read timeouts (#528) by@kpavlovImprovements
- Introduced
AbstractClientTransportbase class, simplifying client transport lifecycle management (#516) by@kpavlov- Deprecation cycle started — annotated APIs scheduled for removal in a future release (#498) by
@devcrocod- Detekt static analysis integrated into CI (#493, #507) by
@kpavlov- Code coverage reporting added via Codecov (#579, #580) by
@kpavlov- Flaky
StdioClientTransporttests replaced with real stdin pipe–based tests (#508) by@kpavlovDependency Updates
- Kotest 6.1.2, MockK 1.14.9, AtomicFU 0.31.0, Gradle 9.3.1, Kover 0.9.7
New Contributors
@jskjw157made their first contribution in modelcontextprotocol/kotlin-sdk#486@i1bromade their first contribution in modelcontextprotocol/kotlin-sdk#526@localdenmade their first contribution in modelcontextprotocol/kotlin-sdk#536@aozherelyevamade their first contribution in modelcontextprotocol/kotlin-sdk#551@rnettmade their first contribution in modelcontextprotocol/kotlin-sdk#515@Amaneuszmade their first contribution in modelcontextprotocol/kotlin-sdk#565Full Changelog: https://github.com/modelcontextprotocol/kotlin-sdk/compare/0.8.4...0.9.0
0.8.4
Changes
- feat: Ktor extensions for streamable http (#504) by
@devcrocod- fix: Add $defs to ToolSchema and tests (#526) by
@i1bro
... (truncated)
5b58814
feat: bump version to 0.9.0 (#576)1454229
test: add serialization tests and guidelines for handling
null and omitted ...3e7ea39
chore: relax Detekt rules for tests (#582)a388180
fix!(server): #575
Rethrow CancellationException in StdioServerTransport, fix...9eabb54
refactor: refactor Streamable HTTP ktor extensions (#562)
(#568)66d31d3
ci: update Codecov configuration for test and coverage upload (#580)eb94f14
chore(deps): bump dev.mokksy:mokksy from 0.6.2 to 0.8.0 (#557)c368812
ci: add Codecov coverage upload and XML report generation (#579)45fcc17
doc: update API reference URL in README.md (#578)e124262
chore(deps): bump actions/download-artifact from 7 to 8Sourced from io.modelcontextprotocol:kotlin-sdk-server's releases.
0.9.0
What's Changed
Breaking Changes
- Server call handlers now receive a
RequestContext— handler lambdas for tools, prompts, and resources have a newcontextparameter providing access to request metadata (#515) by@rnett- Ktor extension functions moved from
RoutingtoRoute— update call sites:routing { mcpSse() }→route("/mcp") { mcpSse() }or use directly in anyRouteblock (#531) by@kpavlovStdioServerTransportrethrowsCancellationException— cancellation is no longer silently swallowed;ReadBufferparsing was also fixed (#571) by@kpavlovNew Features
kotlin-sdk-testingmodule — new artifact providing an in-process, channel-basedTestClientTransport/TestServerTransportfor unit testing MCP servers and clients without network I/O (#505) by@kpavlovStreamableHttpServerTransport.Configuration— configurable builder for the Streamable HTTP server transport (timeouts, session handling, etc.) (#560) by@kpavlov- Ktor extensions for Streamable HTTP —
mcpStreamableHttp()Ktor plugin and routing DSL for mounting a Streamable HTTP MCP server (#504 by@devcrocod, #568 by@kpavlov)$defssupport inToolSchema— JSON Schema$defs/ definitions can now be expressed in tool input schemas (#526) by@i1broBug Fixes
- Fixed SSE transport endpoint resolution for non-root mount paths (#565) by
@Amaneusz- Fixed
StdioClientTransporthanging indefinitely by adding proper read timeouts (#528) by@kpavlovImprovements
- Introduced
AbstractClientTransportbase class, simplifying client transport lifecycle management (#516) by@kpavlov- Deprecation cycle started — annotated APIs scheduled for removal in a future release (#498) by
@devcrocod- Detekt static analysis integrated into CI (#493, #507) by
@kpavlov- Code coverage reporting added via Codecov (#579, #580) by
@kpavlov- Flaky
StdioClientTransporttests replaced with real stdin pipe–based tests (#508) by@kpavlovDependency Updates
- Kotest 6.1.2, MockK 1.14.9, AtomicFU 0.31.0, Gradle 9.3.1, Kover 0.9.7
New Contributors
@jskjw157made their first contribution in modelcontextprotocol/kotlin-sdk#486@i1bromade their first contribution in modelcontextprotocol/kotlin-sdk#526@localdenmade their first contribution in modelcontextprotocol/kotlin-sdk#536@aozherelyevamade their first contribution in modelcontextprotocol/kotlin-sdk#551@rnettmade their first contribution in modelcontextprotocol/kotlin-sdk#515@Amaneuszmade their first contribution in modelcontextprotocol/kotlin-sdk#565Full Changelog: https://github.com/modelcontextprotocol/kotlin-sdk/compare/0.8.4...0.9.0
0.8.4
Changes
- feat: Ktor extensions for streamable http (#504) by
@devcrocod- fix: Add $defs to ToolSchema and tests (#526) by
@i1bro
... (truncated)
5b58814
feat: bump version to 0.9.0 (#576)1454229
test: add serialization tests and guidelines for handling
null and omitted ...3e7ea39
chore: relax Detekt rules for tests (#582)a388180
fix!(server): #575
Rethrow CancellationException in StdioServerTransport, fix...9eabb54
refactor: refactor Streamable HTTP ktor extensions (#562)
(#568)66d31d3
ci: update Codecov configuration for test and coverage upload (#580)eb94f14
chore(deps): bump dev.mokksy:mokksy from 0.6.2 to 0.8.0 (#557)c368812
ci: add Codecov coverage upload and XML report generation (#579)45fcc17
doc: update API reference URL in README.md (#578)e124262
chore(deps): bump actions/download-artifact from 7 to 8