Skip to content

chore(deps): Bump rmcp from 1.8.0 to 2.1.0 - #550

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rmcp-2.1.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rmcp-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 24, 2026

Copy link
Copy Markdown
Contributor

Bumps rmcp from 1.8.0 to 2.1.0.

Release notes

Sourced from rmcp's releases.

rmcp-macros-v2.1.0

Added

  • [breaking] align model types with MCP 2025-11-25 spec (#927)

Fixed

  • fill missing fully qualified syntax in prompt_handler macros (#866)

Other

  • align README examples with v2 model API (#928)

rmcp-v2.1.0

Added

  • add SEP-414 trace context meta accessors (#910)
  • add SEP-2575 meta helpers (#942)

Fixed

  • (transport) make AsyncRwTransport::receive cancel-safe (#941) (#947)
  • (auth) preserve refresh_token when refresh response omits it (#949)
  • block redirect header leaks (#936)
  • don't respond to unparsable messages (#940)
  • negotiate protocol version in handler (#930)

rmcp-macros-v2.0.0

Added

  • [breaking] align model types with MCP 2025-11-25 spec (#927)

Fixed

  • fill missing fully qualified syntax in prompt_handler macros (#866)

Other

  • align README examples with v2 model API (#928)

rmcp-v2.0.0

Migration guide: modelcontextprotocol/rust-sdk#926

Added

  • [breaking] (rmcp) add Audio variant to PromptMessageContent (#865)
  • [breaking] align model types with MCP 2025-11-25 spec (#927)
  • deprecate roots/sampling/logging types (#923)

Fixed

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [rmcp](https://github.com/modelcontextprotocol/rust-sdk) from 1.8.0 to 2.1.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-v1.8.0...rmcp-v2.1.0)

---
updated-dependencies:
- dependency-name: rmcp
  dependency-version: 2.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

wikithoughts added a commit that referenced this pull request Sep 24, 2026
Dependabot PR #550 bumped rmcp 1.8.0 -> 2.1.0 but left CI red: rmcp 2.x
dropped the Annotated<T>/AnnotateAble wrapper (RawResource/RawResourceTemplate
are gone; Resource/ResourceTemplate are now flat, directly-constructible
structs with the same builder methods), renamed the tool-content union
Content -> ContentBlock, and replaced the standalone PromptMessageRole enum
with the shared Role type already used elsewhere in the model.

Same dependency bump as #550 (Cargo.lock: rmcp 1.8.0 -> 2.1.0,
rmcp-macros 1.8.0 -> 2.2.0, identical checksums), plus the three call sites
that needed updating for the new API:

- crates/mcp/src/resources.rs: RawResource::new(..).no_annotation() ->
  Resource::new(..); RawResourceTemplate::new(..).no_annotation() ->
  ResourceTemplate::new(..)
- crates/mcp/src/prompts.rs: PromptMessageRole::User -> Role::User
- crates/mcp/src/lib.rs: Content::text -> ContentBlock::text

No behavior change: the MCP tool/resource/prompt surface (names, schemas,
JSON-RPC wire shape) is unaffected — only rmcp's Rust-side constructor API
moved. All 82 indexa-mcp tests pass unchanged, including the golden-contract
tests (tool_contract_golden_list, doc_tool_count_matches_code,
prompt_contract_golden_list, resources_round_trip,
prompts_round_trip_and_validate_args) that would catch a wire-format drift.

Verified locally with the exact CI commands: cargo fmt --all -- --check,
cargo clippy --all-targets --all-features --locked (-D warnings), and
cargo test --all --locked, plus the retrieval eval and web-smoke checks
from ci.yml (run under an isolated XDG_DATA_HOME/XDG_CONFIG_HOME so they
don't touch this host's real Indexa index).

Signed-off-by: Ahmed Janabi <ahmed541991@gmail.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/rmcp-2.1.0 branch September 24, 2026 18:12
@wikithoughts

Copy link
Copy Markdown
Contributor

Superseded by #551 (merged as 0d48741).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant