Skip to content

rust Update Rust crate rmcp to v3 - #19

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-rust-dependencies
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-rust-dependencies

Conversation

@renovate

@renovate renovate Bot commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
rmcp dev-dependencies major 2.2 → 3.0
rmcp dependencies major 2.2 → 3.0

Release Notes

modelcontextprotocol/rust-sdk (rmcp)

v3.12.0

Compare Source

Added
  • (deps) make chrono optional behind a default feature (#​1474)
Fixed
  • (client) cap list_all_* pagination like the MRTR round cap (#​1457)
  • (model) keep typed results for numeric cache TTLs (#​1493)
  • (transport) retain completed request-wise SSE cache for resume (#​1487)
  • (client) treat a 404 on an SSE resume GET as session expired (#​1477)
  • (macros) keep doc comment descriptions when other attributes follow (#​1485)
  • (model) keep unknown capability fields on ServerCapabilities and ClientCapabilities (#​1468)
  • (auth) accept same-origin issuers at any address (#​1467)
  • (transport) answer malformed Streamable HTTP bodies with 400 (#​1464)
  • (server) omit cache hints for legacy peers (#​1470)
  • (client) ignore late discovery replies after legacy fallback (#​1436)

v3.11.0

Compare Source

Added
  • (client) merge cache hints across list pages (#​1429)
Fixed
  • (auth) avoid refreshing short-lived access tokens on every call (#​1450)
  • (service) expose auth challenge on ServiceError::TransportSend (#​1462)
  • (auth) omit scope on refresh unless caller sets one (#​1433)
  • (auth) allow same-origin IPv6 ULA issuers (#​1393)
  • (client) accept tool results without content (#​1434)
  • (client) keep private scope when merging pages (#​1463)
  • (transport) match unix-socket media types case-insensitively (#​1453)
  • (server) omit non-object tool output for legacy peers (#​1340)
  • reject unadvertised capability methods by default (#​1446)
  • (skills) harden URI keys and catalog reads (#​1452)
  • (server) send skill text with NUL bytes as a blob (#​1439)
  • (model) validate elicitation enum defaults against min/max items in any setter order (#​1455)
  • (transport) bound buffered Streamable HTTP responses (#​1246)
  • (transport) accept any 2xx reply for notification-only POSTs (#​1424)
  • (skills) validate percent-encoded skill names (#​1431)
  • (skills) prevent symlink swaps during catalog loads (#​1438)
  • (transport) match reqwest response media types exactly (#​1390)
Other
  • add polymarket-agent and tokio-prompt-orchestrator to built with rmcp list (#​1459)

v3.10.0

Compare Source

Added
  • load skills from a directory tree (#​1409)
Fixed
  • preserve tools with dependency property-name maps (#​1428)
Other
  • (macros) document the Send limitation on async #[tool]/#[prompt] bodies (#​1396)
  • (service) clarify startup and stdio lifecycle (#​1387)

v3.9.0

Compare Source

Added
  • (auth) structure protected resource discovery errors (#​1305)
  • (transport) log followed same-origin redirects at debug level (#​1417)
  • support the Skills extension (SEP-2640) (#​1392)
Fixed
  • (model) don't treat _meta alone as a CallToolResult (#​1405)
  • (client) keep ProgressDispatcher lock off the await path (#​1310)
  • (auth) refresh with only granted scopes (#​1331)
  • streamable-http server: stateful session workers ignore config.canc (#​1427)
  • (skills) enforce manifest boundaries and capability negotiation (#​1412)
  • (transport) send SIGTERM before killing a child process on graceful shutdown (#​1379)
  • (handler) generate a tool's outputSchema for the serialize contract (#​1378)
  • (server) reject server-to-client requests on discover sessions (#​1397)
  • (auth) accept ID-JAGs without a resource claim (#​1406)
  • (rmcp) reject Mcp-Param headers with invalid characters (#​1414)
  • (transport) match explicit HTTP media types and Accept quality values (#​1382)
  • (model) accept URL elicitation requests without elicitationId (#​1383)
  • (transport) preserve protocol error replies across cancellation (#​1370)
Other
  • (transport) fix spell-check failures in response-limit tests (#​1432)
  • Merge commit from fork
  • (deps) update rstest requirement from 0.27.0 to 0.28.0 (#​1422)
  • (client) point on_*_list_changed callbacks to Peer::listen (#​1402)
  • add Voltip to built with rmcp list (#​1401)

v3.8.0

Compare Source

Added
  • (transport) expose body-free HTTP status errors (#​1386)
Fixed
  • (client) stop SSE reconnects on permanent GET errors (#​1363)

v3.7.0

Compare Source

Added
  • (auth) support OIDC ID-token subjects in enterprise exchange (#​1385)
Fixed
  • (auth) allow cross-origin resource_metadata urls (#​1302)
  • (transport) keep 401/403 status when the body is a JSON-RPC error (#​1341)
Other
  • Merge commit from fork

v3.6.0

Compare Source

Added
  • (client) cancel an abandoned tools/call, prompts/get or resources/read (#​1344)
  • (auth) add initial authorization scope selection (#​1352)
  • (transport) add non-blocking stdio_pipes transport (#​1304)
Fixed
  • (server) reject requests to 2026-07-28 clients (#​1326)
  • (streamable-http-server) look up tool schemas per request (#​1349)
  • (transport) follow same-origin 307/308 redirects in the default Streamable HTTP client (#​1367)
  • (streamable-http-server) answer a session-less non-initialize POST with 400 (#​1377)
  • (model) read a request id written in float form as that integer (#​1346)
  • (client) answer a server ping during the initialize handshake (#​1366)
  • (transport) accept nested x-mcp-header annotations (#​1359)
  • (streamable-http-client) handle error responses to initialize (#​1361)
  • (transport) bound the incoming line buffer in AsyncRwTransport (#​1049)
  • (model) reject malformed JSON-RPC messages with conflicting result and error fields (#​1283) (#​1287)
  • ship LICENSE in rmcp and rmcp-macros crates (#​1342)
  • (streamable-http-server) release the session map lock before waiting on a session (#​1323)
  • (rmcp) gate client- and server-only helpers behind their features (#​1329)
  • cancel pending request tokens after transport EOF (#​1333)
  • (rmcp) import base64-only prompt content types under the feature (#​1314)
Other
  • combine AI issue triage with a maintainer rotation as the responsible reviewer (#​1260)

v3.5.1

Compare Source

Fixed
  • (server) keep discover lifecycle bootstrap-neutral (#​1248)
  • keep handler-generated invalid params errors in-band (#​1322)
  • (model) export object! macro without macros feature (#​1318)
  • (server) default missing cache hints for 2026-07-28 peers (#​1308)
Other
  • [rmcp] Notify credential stores when a refresh token is rejected (#​1285)

v3.5.0

Compare Source

Added
  • update LATEST and add LATEST_WITH_INITIALIZE (#​1105)
Fixed
  • (model) decode float fields through serde_json::Number (#​1300)
  • (rmcp) reject duplicate sep-2243 headers (#​1274)
  • (transport) match explicit default ports in Origin allowlist (#​1270)
  • (rmcp) tolerate empty cacheScope instead of silently dropping the whole result (#​1281)
  • (model) preserve explicit null structuredContent in CallToolResult (#​1295)
Other
  • cargo fmt fixes on validate_standard_headers changes (#​1275)

v3.4.1

Compare Source

Fixed
  • (transport) fall back after JSON discover rejections (#​1288)
  • (macros) accept const paths and concat! in tool/prompt descriptions (#​1243)
Other
  • (deps) update rstest requirement from 0.26.1 to 0.27.0 (#​1276)

v3.4.0

Compare Source

Added
  • (model) add ServerConfig and ClientConfig (#​1266)
Fixed
  • (rmcp) use ServerConfig in cancellation test (#​1273)
  • (rmcp) route peer cancellation by lifecycle (#​1262)
  • run first pre-init request in service loop (#​1263)
  • (auth) let url origin decide prm discovery (#​1264)
  • (model) deprecate ServerInfo and ClientInfo aliases (#​1156)
  • (auth) ignore non-metadata JSON when probing for protected resource metadata (#​1204)
  • do not treat malformed JSON 200 as Accepted for requests (#​1208)
  • (streamable-http-server) map handler-generated HeaderMismatch to HTTP 400 (#​1259)
  • (http) enforce Origin validation semantics (#​1192)

v3.3.0

Compare Source

Added
  • add ServerHandler::negotiate_initialize (#​1247)
  • (macros) reject empty tool_router (#​1233)
  • (auth) add enterprise refresh-token and ID-JAG exchanges (#​1234)
Fixed
  • (sse) saturate exponential reconnect backoff to avoid overflow panic (#​1231)
  • resolve clippy warnings across workspace (#​1195)
  • (auth) unify refresh checks and error handling (#​1236)
Other
  • (deps) update process-wrap requirement from 9.0 to 10.0 (#​1229)

v3.2.0

Compare Source

Added
  • (auth) coordinate OAuth refreshes through credential stores (#​1232)
  • add request-state key rotation (#​1128)
Fixed
  • keep initialize on legacy protocol versions (#​1228)
  • (transport) fall back after sessionless HTTP discover rejections (#​1211)
  • allow concurrent streamable http requests (#​1186)

v3.1.4

Compare Source

Fixed
  • (rmcp) preserve elicitation requestedSchema $schema dialect (#​1176)
  • harden signing key handling (#​1166)
  • report pre-init metadata errors (#​1160)

v3.1.3

Compare Source

Fixed
  • (auth) ignore query parameters when matching resources (#​1177)
  • (auth) retain state until issuer validation (#​1167)
  • (model) preserve elicitation property order metadata (#​1150)
  • time out auto discovery probe (#​1149)
  • (client) classify discover outcome at source, not at the error type (#​1133)
Other
  • Fix typo in to_authorized_http_client doc comment (#​1158)

v3.1.2

Compare Source

Fixed
  • (auth) map 401/403 challenges on the SSE GET stream (#​1152)
  • (sse) loop instead of recursing when skipping SSE events (#​1146)
  • (auth) preserve issuer trailing slash during discovery (#​1145)

v3.1.1

Compare Source

Fixed
  • emit cache hints from handler macros (#​1120)
  • expose MRTR state to tool handlers (#​1104)
  • disambiguate input-required results (#​1103)
Other

v3.1.0

Compare Source

Added
  • classify authorization-required errors (#​1056)
  • add strict stateless protocol metadata validation (#​1091)
  • SEP-2260 stream-based enforcement of client receive-side request association (#​1055)
Fixed
  • (model) decode metadata-bearing input-required results affecting mrtr (#​1097)
  • require metadata for modern HTTP requests (#​1089)
  • honor supported_protocol_versions when negotiating initialize (#​1093)
Other
  • document the ping utility with examples (#​1106)
  • complete Tier 1 feature docs and finalize roadmap (#​1101)
  • (conformance) meeting requirements for tier 1 (#​1087)

v3.0.1

Compare Source

Fixed
  • (auth) use discovered resource for token refresh (#​1084)
  • return header mismatch for missing protocol header (#​1083)
  • negotiate stateless initialize versions (#​1080)
  • stamp server info on graceful subscription results (#​1078)

v3.0.0

Compare Source

RMCP 3.0 adds support for MCP 2026-07-28. Review the protocol key changes and the RMCP 3.0 migration guide before upgrading from 2.x.

Breaking changes

  • Sessionless Streamable HTTP: MCP 2026-07-28 removes protocol-level sessions: no Mcp-Session-Id, standalone GET stream, DELETE-based session termination, or Last-Event-ID resumption. RMCP creates a fresh handler per request, so persistent state must live outside the handler. stateful_mode is renamed to legacy_session_mode and now only controls older protocol versions; custom SSE clients must also accept an optional session ID.
  • Stateless lifecycle and discovery: the 2026-07-28 protocol removes initialize/notifications/initialized; each request carries the protocol version and client capabilities in _meta, and servers expose server/discover. RMCP clients opt into this lifecycle with serve_with_lifecycle and ClientLifecycleMode::Discover or Auto; the existing serve() path remains available for legacy initialization.
  • Subscriptions and removed methods: subscriptions/listen replaces the standalone GET stream and resources/subscribe/resources/unsubscribe. ping, logging/setLevel, and notifications/roots/list_changed are unavailable under 2026-07-28; RMCP retains their APIs for legacy protocol sessions.
  • Multi Round-Trip Requests and result types: ServerHandler::call_tool, get_prompt, and read_resource now return MRTR-aware response enums. Manual handler implementations and exhaustive ServerResult matches must handle InputRequiredResult, and result models carry an optional result_type for legacy wire compatibility.
  • Tasks: the experimental core tasks API is replaced by the io.modelcontextprotocol/tasks extension, including new task handlers, methods, and TaskManager APIs.
  • Rust model types: metadata is split into MetaObject, RequestMetaObject, and NotificationMetaObject; Annotations::last_modified is now Option<String>; and tool structured content accepts any serde_json::Value.
  • OAuth: authorization startup is consolidated around AuthorizationRequest; metadata discovery is renamed to resolve_metadata and returns provenance; and custom OAuth HTTP errors are now boxed source errors.
  • Compatibility: APIs deprecated before 3.0 have been removed, and the minimum supported Rust version is now 1.88.

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/rust-sdk@rmcp-v2.2.0...rmcp-v3.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch 2 times, most recently from 0947616 to e57fb39 Compare August 7, 2026 21:57
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch 2 times, most recently from ac7fbf2 to e520c87 Compare August 20, 2026 05:31
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch 2 times, most recently from 014996a to f6ce6f4 Compare September 1, 2026 02:03
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch 2 times, most recently from f98e5de to 8c725d7 Compare September 10, 2026 21:34
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch from 8c725d7 to 708743b Compare September 15, 2026 16:06
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch 2 times, most recently from 2602b2d to 4bc5e28 Compare September 28, 2026 00:49
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch from 4bc5e28 to 21c54bd Compare October 5, 2026 22:47
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch from 21c54bd to 05eb681 Compare October 13, 2026 15:45
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch 3 times, most recently from d9cd8b9 to e68216d Compare October 27, 2026 00:18
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch from e68216d to 35527a8 Compare November 5, 2026 22:53
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch 2 times, most recently from b4641b0 to a86582d Compare November 17, 2026 20:02
@renovate
renovate Bot force-pushed the renovate/major-rust-dependencies branch from a86582d to fa4d066 Compare November 26, 2026 17:44

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants