build: bump rmcp 3.0.0 -> 3.1.0 - #323
Merged
Merged
Conversation
Picks up stateless-protocol conformance fixes from the rmcp 3.1.0 release. Document the one runtime-observable change: transport-http now unconditionally rejects non-initialize stateless POSTs at protocol >= 2026-07-28 that omit request _meta.
bug-ops
enabled auto-merge (squash)
August 5, 2026 02:10
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.
Summary
rmcp(andrmcp-macros) from 3.0.0 to 3.1.0, picking up stateless-protocol conformance fixes tied to MCP spec 2026-07-28.transport-http's stateless (non-initialize) POST handling now unconditionally rejects a/mcprequest at protocol>= 2026-07-28that omits_meta.protocolVersion/_meta.clientCapabilities, returningHTTP 400/-32602where 3.0.0 accepted it. Not gated bystateless_protocol_metadata_required(mcpls does not set it). Scope: only affects non-rmcp/hand-rolled HTTP clients at that protocol version;transport-httpis opt-in and off by default in release binaries.rmcp 3.0.0version reference in atransport.rsdoc comment.No source changes were needed beyond the doc comment fix — verified by building against both versions and A/B testing the HTTP wire behavior.
Closes #296.
Test plan
cargo build --workspace --all-featurescargo clippy --all-targets --all-features --workspace -- -D warningscargo nextest run --workspace --all-features --lib --bins(643 passed)cargo nextest run --workspace --all-features(674 passed)cargo nextest run --workspace --all-features -- --ignorede2e MCP protocol/handshake suite (13 passed)cargo test --doc --workspace --all-features(12 passed)cargo audit— 0 vulnerabilities, 0 yankedcargo deny check advisories bans licenses sources— all passcargo +nightly fmt --all -- --checkRUSTFLAGS="-D warnings" RUSTDOCFLAGS="--deny rustdoc::broken_intra_doc_links" cargo doc --no-deps --all-features --workspace