Repository navigation
deps: upgrade rmcp 1.8 -> 3.3 - #145
Merged
Merged
Conversation
- RawResourceTemplate + AnnotateAble::no_annotation -> ResourceTemplate - PromptMessageRole -> Role; PromptMessageContent::Text -> ContentBlock::Text - read_resource / get_prompt return ReadResourceResponse / GetPromptResponse (the MRTR-aware wrappers), converted from the existing results via Into - ResourceContents is now non_exhaustive; test match gains a wildcard arm Negotiated protocol version stays 2025-11-25 and the streamable HTTP server keeps its legacy session mode by default, so the tool, resource, prompt, and HTTP surfaces are unchanged.
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.
Upgrades the MCP SDK from rmcp 1.8 to 3.3, split out of the grouped Dependabot update (#144), which failed to build on this bump.
Changes
RawResourceTemplate+AnnotateAble::no_annotation→ResourceTemplatePromptMessageRole→Role;PromptMessageContent::Text→ContentBlock::Textread_resource/get_promptnow return rmcp 3's MRTR-awareReadResourceResponse/GetPromptResponse, converted from the existing results withIntoResourceContentsis#[non_exhaustive]; the test helper match gains a wildcard armCompatibility
ProtocolVersion::LATESTis still2025-11-25).StreamableHttpServerConfig::default()keepslegacy_session_mode: true(the old stateful default); allowed hosts are still set explicitly and Origin validation stays in nbox's own middleware.schemars 1.x, so the=1.2.1pin still resolves to a single instance.syn 3,darling 0.24,base64 0.23) all declare MSRV ≤ 1.88.Verification
cargo clippy --all-targets --all-features -- -D warningsand--no-default-features: cleancargo test --all-features: 1381 passed;--no-default-features: 1281 passed