Skip to content

build(cargo): update rmcp dependency#427

Merged
JeanMertz merged 1 commit intomainfrom
prr4
Mar 10, 2026
Merged

build(cargo): update rmcp dependency#427
JeanMertz merged 1 commit intomainfrom
prr4

Conversation

@JeanMertz
Copy link
Collaborator

This commit updates the rmcp dependency to the latest version from the official Model Context Protocol Rust SDK repository.

The update requires several changes in the jp_mcp crate to align with the new API, including:

  • Switching from CallToolRequestParam and ReadResourceRequestParam to the new CallToolRequestParams and ReadResourceRequestParams structs.
  • Updating TokioChildProcess initialization to use the new builder pattern.
  • Refactoring error handling to accommodate changes in the rmcp error types and service initialization flow.

This commit updates the `rmcp` dependency to the latest version from the
official Model Context Protocol Rust SDK repository.

The update requires several changes in the `jp_mcp` crate to align with
the new API, including:

- Switching from `CallToolRequestParam` and `ReadResourceRequestParam`
  to the new `CallToolRequestParams` and `ReadResourceRequestParams`
  structs.
- Updating `TokioChildProcess` initialization to use the new builder
  pattern.
- Refactoring error handling to accommodate changes in the `rmcp` error
  types and service initialization flow.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz JeanMertz merged commit 58d4a96 into main Mar 10, 2026
11 checks passed
@JeanMertz JeanMertz deleted the prr4 branch March 10, 2026 19:42
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