rouse-context/usage
Jason Monk 6403c38af6 Upgrade MCP Kotlin SDK to 0.10.0 for protocol version 2025-11-25
Claude's client sends protocolVersion "2025-11-25" in its initialize
request. SDK 0.4.0 only supported 2024-11-05 and fell back to that
version, which modern clients may reject. SDK 0.10.0 advertises
2025-11-25 and negotiates down to 2025-06-18 / 2025-03-26 / 2024-11-05.

Breaking changes from the SDK upgrade:
- Types moved from io.modelcontextprotocol.kotlin.sdk to .sdk.types
- Tool.Input renamed to ToolSchema
- CallToolRequest.arguments moved to CallToolRequest.params.arguments
  (now nullable JsonObject?)
- Transport.send gains TransportSendOptions? parameter
- Server.connect() renamed to Server.createSession()
- addTool/addResource handlers receive ClientConnection receiver

Also bumps Kotlin 2.1.10 -> 2.2.21, AGP 8.8.2 -> 8.10.0, and
KSP 2.1.10-1.0.31 -> 2.2.21-2.0.5 to satisfy SDK metadata version
requirements.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 09:58:16 -04:00
..
src Upgrade MCP Kotlin SDK to 0.10.0 for protocol version 2025-11-25 2026-04-07 09:58:16 -04:00
build.gradle.kts Add Usage Stats MCP integration for device usage data 2026-04-06 18:08:49 -04:00