Skip to content

Bump io.modelcontextprotocol:kotlin-sdk from 0.11.1 to 0.12.0 in the app-dependencies group#59

Merged
rfc2822 merged 1 commit intomainfrom
dependabot/gradle/app-dependencies-4e1288e52a
May 6, 2026
Merged

Bump io.modelcontextprotocol:kotlin-sdk from 0.11.1 to 0.12.0 in the app-dependencies group#59
rfc2822 merged 1 commit intomainfrom
dependabot/gradle/app-dependencies-4e1288e52a

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 6, 2026

Bumps the app-dependencies group with 1 update: io.modelcontextprotocol:kotlin-sdk.

Updates io.modelcontextprotocol:kotlin-sdk from 0.11.1 to 0.12.0

Release notes

Sourced from io.modelcontextprotocol:kotlin-sdk's releases.

0.12.0

Description

Adds sampling-with-tools per SEP-1577, JSON Schema dialect declaration on tool schemas, server-side tool name validation, and capability extensions; fixes SSE reconnect on the same session and stops swallowing CancellationException.

Breaking Changes

Sampling messages can carry tool calls and results (SEP-1577) by @​devcrocod in #718

SamplingMessage.content is now typed as a new SamplingMessageContent supertype, with MediaContent (text/image/audio), ToolUseContent, and ToolResultContent as variants. MediaContent still exists and now extends SamplingMessageContent, so most source code that constructs sampling messages compiles unchanged — but the binary signatures of SamplingMessage, CreateMessageResult, and related types have changed. ClientCapabilities.sampling is also now a typed Sampling object instead of a raw JsonObject. Recompilation is required; consumers reading sampling as JsonObject must migrate to the typed accessors.

watchosX64 and tvosX64 Kotlin/Native targets removed by @​devcrocod in #727

These targets have been deprecated upstream. Migrate to the corresponding ARM/simulator targets (watchosArm64, watchosSimulatorArm64, tvosArm64, tvosSimulatorArm64).

Features

  • Add $schema field to ToolSchema, declaring JSON Schema 2020-12 as the default dialect (SEP-1613) by @​devcrocod in #696
  • Validate tool names at registration time on the server, following the MCP tool naming standard (SEP-986) by @​devcrocod in #695
  • Add extensions field to ClientCapabilities and ServerCapabilities for advertising supported MCP extensions during the initialize handshake by @​eritscher in #678

Fixed

  • Validate the mcp-protocol-version HTTP header on initialization requests and correct DEFAULT_NEGOTIATED_PROTOCOL_VERSION to match the spec by @​devcrocod in #697
  • Propagate CancellationException instead of logging it as an error by @​devcrocod in #706
  • Evict stale GET SSE stream mapping on reconnect so a new GET on the same session is no longer silently rejected by the leftover entry from the previous stream by @​amr in #716

Maintenance

  • Add kotlinlang MCP server sample with search and get_page tools by @​devcrocod in #713
  • Migrate detekt to a buildSrc convention plugin with a fully explicit, version-locked YAML config by @​devcrocod in #729
  • Add Streamable HTTP integration tests for pagination, bad-request handling, and logging by @​jskjw157 in #613
  • Remove unused OpenAPI Generator plugin and configuration by @​devcrocod in #683
  • Remove Codecov configuration in favor of kover by @​devcrocod in #691
  • Remove redundant JUnit XML report configuration by @​devcrocod in #728
  • Remove IDEA files tied to the incompatible detekt IDE plugin by @​devcrocod in #714
  • Add Node.js setup to the release workflow so TypeScript integration tests run on macOS runners by @​devcrocod in #684

Dependencies

  • Kotlin to v2.3.21 in #704, #723
  • kotlinx.serialization-json to v1.11.0 in #687

New Contributors

Full Changelog: modelcontextprotocol/kotlin-sdk@0.11.1...0.12.0

Commits
  • c339d8c release: bump version to 0.12.0 (#731)
  • 64804a0 refactor: explicit locked detekt config (#729)
  • a238fc0 fix(server): evict stale GET SSE stream mapping on reconnect (#716)
  • 66d9efb test(streamable-http): add missing integration tests for pagination, bad requ...
  • f434fca feat!: SEP-1577 sampling with tools (#718)
  • 7474a33 chore: drop deprecated watchosX64 and tvosX64 targets (#727)
  • 12ace76 chore: remove redundant JUnit XML report configuration (#728)
  • ec606db chore(deps): bump kotlin from 2.2.21 to 2.3.21 in /samples/weather-stdio-serv...
  • 1d93042 chore(deps): bump kotlin from 2.2.21 to 2.3.21 in /samples/kotlin-mcp-server ...
  • 9817b17 chore(deps): bump org.jetbrains.kotlin.jvm from 2.2.21 to 2.3.21 in /samples/...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the app-dependencies group with 1 update: [io.modelcontextprotocol:kotlin-sdk](https://github.com/modelcontextprotocol/kotlin-sdk).


Updates `io.modelcontextprotocol:kotlin-sdk` from 0.11.1 to 0.12.0
- [Release notes](https://github.com/modelcontextprotocol/kotlin-sdk/releases)
- [Commits](modelcontextprotocol/kotlin-sdk@0.11.1...0.12.0)

---
updated-dependencies:
- dependency-name: io.modelcontextprotocol:kotlin-sdk
  dependency-version: 0.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: app-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 6, 2026
@rfc2822 rfc2822 merged commit 062de3c into main May 6, 2026
4 checks passed
@rfc2822 rfc2822 deleted the dependabot/gradle/app-dependencies-4e1288e52a branch May 6, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant