Skip to content

feat(rmcp)!: upgrade integration to rmcp 3.4 - #372

Merged
benbrandt merged 2 commits into
mainfrom
dependabot/cargo/rmcp-3.4.0
Sep 24, 2026
Merged

benbrandt merged 2 commits into
mainfrom
dependabot/cargo/rmcp-3.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Upgrade the public rmcp dependency from 2.2.0 to 3.4.0, including the adapter/API and fixture changes needed to make the original dependency bump pass.

  • Return CallToolResponse from manual handlers, use ServerConfig / ClientConfig, and remove obsolete ToolExecution metadata.
  • Include required modern tool-list cache metadata (ttlMs: 0, cacheScope: private) while preserving the existing default/legacy response shape.
  • Update examples and verified trace expectations for rmcp 3.
  • Add real adapter integration tests using MCP 2026-07-28 without initialize: direct tool call before discovery, discovery, per-request version validation, exact cache policy, and MRTR with elicitation, nonempty input responses, opaque retry state, and fresh metadata.

Release compatibility

Breaking for agent-client-protocol-rmcp: rmcp is a public dependency. Its next release must be 4.x for rmcp 3.x services; the core ACP SDK remains 2.x. Manifest version changes remain with release-plz. The migration guide, compatibility table, changelog and release-review note document this.

Rust MSRV remains 1.88.

Scope

This is the prerequisite for the latest-only MCP-over-ACP modernization tracked in agentclientprotocol/agent-client-protocol#2222. It does not change the unstable ACP wire lifecycle or claim full MCP conformance. The modern transport will target 2026-07-28 only; preserving the dependency integration's current behavior here is not a commitment to a legacy mode in that transport.

rmcp 3.4 implements the modern request model, but ProtocolVersion::LATEST still defaults to 2025-11-25. Modern callers must select 2026-07-28 explicitly and send per-request metadata.

Validation

  • just test — full workspace/all features and doctests passed.
  • cargo +1.88.0 check --workspace --all-targets --all-features --locked — passed.
  • cargo clippy --all-targets --all-features --locked — passed.
  • cargo hack check -p agent-client-protocol-rmcp --feature-powerset --no-dev-deps — all four combinations passed.
  • cargo fmt --all -- --check, mdbook build, git diff --check — passed.
  • Independent source review found no merge blockers; its two test-strengthening suggestions were incorporated.

The complete platform/feature CI matrix should pass before merge; do not bypass required checks.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 21, 2026
Bumps [rmcp](https://github.com/modelcontextprotocol/rust-sdk) from 2.2.0 to 3.4.0.
- [Release notes](https://github.com/modelcontextprotocol/rust-sdk/releases)
- [Changelog](https://github.com/modelcontextprotocol/rust-sdk/blob/main/release-plz.toml)
- [Commits](modelcontextprotocol/rust-sdk@rmcp-v2.2.0...rmcp-v3.4.0)

---
updated-dependencies:
- dependency-name: rmcp
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rmcp-3.4.0 branch from e68c6ad to 77b6d68 Compare September 23, 2026 12:49
Adapt tool responses and configuration types, retain existing default-protocol behavior, and verify real modern MCP requests and MRTR through the adapter.

BREAKING CHANGE: rmcp is a public dependency of agent-client-protocol-rmcp. Supplied services must migrate to rmcp 3.x; release the integration as 4.x while keeping the core ACP SDK on 2.x.
@benbrandt benbrandt changed the title build(deps): bump rmcp from 2.2.0 to 3.4.0 feat(rmcp)!: upgrade integration to rmcp 3.4 Sep 24, 2026
@benbrandt
benbrandt enabled auto-merge (squash) September 24, 2026 11:11
@benbrandt
benbrandt disabled auto-merge September 24, 2026 11:18
@benbrandt
benbrandt enabled auto-merge (squash) September 24, 2026 11:18
@benbrandt
benbrandt merged commit 52d9283 into main Sep 24, 2026
14 checks passed
@benbrandt
benbrandt deleted the dependabot/cargo/rmcp-3.4.0 branch September 24, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant