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>
New :usage module exposes UsageStatsManager data as MCP tools:
- get_usage_summary: per-app screen time breakdown for a period
- get_app_usage: detailed single-app usage with daily breakdown
- get_usage_events: raw usage events (app open/close)
- compare_usage: compare two periods, show biggest changes
Wired into app via UsageIntegration with AppOpsManager permission check.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>