fix(deps): update mcp to v0.13.0#19
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
0ee2cad to
752e167
Compare
752e167 to
b85a799
Compare
b85a799 to
91dbce1
Compare
91dbce1 to
f09eba7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.11.0→0.13.0Release Notes
modelcontextprotocol/kotlin-sdk (io.modelcontextprotocol:kotlin-sdk)
v0.13.0Compare Source
Description
Adds a
taskscapability and a typedelicitationcapability, hardens transport lifecycle, dispatchers, and back-pressure, and enables DNS rebinding protection by default.Breaking Changes
Typed
elicitationcapability and newtaskscapability by @devcrocod in #732ClientCapabilities.elicitationis now a typedClientCapabilities.Elicitation(form,url) instead of a rawJsonObject?, and bothClientCapabilitiesandServerCapabilitiesgained a typedtaskscapability. The constructors of both types changed and are binary-incompatible; recompilation is required.Transport handlers now run on
Dispatchers.Defaultby @devcrocod in #778Handlers moved from
Dispatchers.IOtoDispatchers.Default(override viahandlerDispatcher),send()now suspends under back-pressure instead of buffering unbounded, and the two-argumentStdioServerTransport(input, output)constructor is deprecated in favor of the builder-lambda form. Also fixes astart()/close()race, consistentCancellationExceptionpropagation, and an input-Sourceleak (closes #573, #574, #708).DNS rebinding protection enabled by default by @devcrocod in #659
enableDnsRebindingProtectionnow defaults totrueonmcpStreamableHttp/mcpStatelessStreamableHttp, and theRoute.mcp()/Application.mcp()overloads gainedenableDnsRebindingProtection,allowedHosts, andallowedOriginsparameters (binary-incompatible on JVM). Onlylocalhost,127.0.0.1, and[::1]are allowed by default; opt out withenableDnsRebindingProtection = false. TheConfiguration.enableDnsRebindingProtection,.allowedHosts, and.allowedOriginsproperties are deprecated in favor of the newDnsRebindingProtectionplugin.Features
taskscapability (list,cancel, and per-request augmentation for sampling and elicitation) onClientCapabilitiesandServerCapabilities, with assertions fortasks/*andnotifications/tasks/statusenforced byClientandServerSessionby @devcrocod in #732handlerDispatcherandioDispatcher, plus an optional caller-suppliedCoroutineScope, on transports by @devcrocod in #778Fixed
onClosecallbacks onSseClientTransportwhen the SSE session ends — whether closed gracefully or terminated by an error — matching the other client transports by @jskjw157 in #738Security
TooLongFrameExceptioninstead of buffering unbounded when a peer never sends a newline terminator by @devcrocod in 6e6f805Maintenance
dev.mokksy:mokksydependency in favor ofMockEngineandembeddedServerby @devcrocod in #754Dependencies
Full Changelog: modelcontextprotocol/kotlin-sdk@0.12.0...0.13.0
v0.12.0Compare Source
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.contentis now typed as a newSamplingMessageContentsupertype, withMediaContent(text/image/audio),ToolUseContent, andToolResultContentas variants.MediaContentstill exists and now extendsSamplingMessageContent, so most source code that constructs sampling messages compiles unchanged — but the binary signatures ofSamplingMessage,CreateMessageResult, and related types have changed.ClientCapabilities.samplingis also now a typedSamplingobject instead of a rawJsonObject. Recompilation is required; consumers readingsamplingasJsonObjectmust migrate to the typed accessors.watchosX64andtvosX64Kotlin/Native targets removed by @devcrocod in #727These targets have been deprecated upstream. Migrate to the corresponding ARM/simulator targets (
watchosArm64,watchosSimulatorArm64,tvosArm64,tvosSimulatorArm64).Features
$schemafield toToolSchema, declaring JSON Schema 2020-12 as the default dialect (SEP-1613) by @devcrocod in #696extensionsfield toClientCapabilitiesandServerCapabilitiesfor advertising supported MCP extensions during the initialize handshake by @eritscher in #678Fixed
mcp-protocol-versionHTTP header on initialization requests and correctDEFAULT_NEGOTIATED_PROTOCOL_VERSIONto match the spec by @devcrocod in #697CancellationExceptioninstead of logging it as an error by @devcrocod in #706Maintenance
kotlinlangMCP server sample withsearchandget_pagetools by @devcrocod in #713buildSrcconvention plugin with a fully explicit, version-locked YAML config by @devcrocod in #729Dependencies
New Contributors
Full Changelog: modelcontextprotocol/kotlin-sdk@0.11.1...0.12.0
v0.11.1Compare Source
Description
Fixes an SSE stream crash on Netty when clients connect to the Streamable HTTP GET endpoint.
Fixed
appendSseHeaders()was called after response headers were already committed, causingUnsupportedOperationExceptionand client retry loops by @devcrocod in #681Dependencies
Full Changelog: modelcontextprotocol/kotlin-sdk@0.11.0...0.11.1
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.