From 59e4a3d6b66c386e531a6347aabc5df733e03b93 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 09:33:28 +0000 Subject: [PATCH 1/2] chore(deps): bump rmcp from 0.17.0 to 1.2.0 Bumps [rmcp](https://github.com/modelcontextprotocol/rust-sdk) from 0.17.0 to 1.2.0. - [Release notes](https://github.com/modelcontextprotocol/rust-sdk/releases) - [Commits](https://github.com/modelcontextprotocol/rust-sdk/compare/rmcp-v0.17.0...rmcp-v1.2.0) --- updated-dependencies: - dependency-name: rmcp dependency-version: 1.2.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4f99aff..3e7505e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1465,9 +1465,9 @@ checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c" [[package]] name = "rmcp" -version = "0.17.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a0ce46f9101dc911f07e1468084c057839d15b08040d110820c5513312ef56a" +checksum = "ba6b9d2f0efe2258b23767f1f9e0054cfbcac9c2d6f81a031214143096d7864f" dependencies = [ "async-trait", "base64", @@ -1489,9 +1489,9 @@ dependencies = [ [[package]] name = "rmcp-macros" -version = "0.17.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abad6f5f46e220e3bda2fc90fd1ad64c1c2a2bd716d52c845eb5c9c64cda7542" +checksum = "ab9d95d7ed26ad8306352b0d5f05b593222b272790564589790d210aa15caa9e" dependencies = [ "darling 0.23.0", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index ef5d4d4..a49f8ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ mcp-execution-server = { path = "crates/mcp-server", version = "0.6.6" } mcp-execution-skill = { path = "crates/mcp-skill", version = "0.6.6" } rayon = "1.11" regex = "1.12" -rmcp = "0.17" +rmcp = "1.2" schemars = "1.2" serde = "1.0" serde_json = "1.0" From 43aca2af4198b7d97b25be1520f426910d1b606c Mon Sep 17 00:00:00 2001 From: "Andrei G." Date: Mon, 16 Mar 2026 13:21:58 +0100 Subject: [PATCH 2/2] fix: use Default pattern for non-exhaustive ServerInfo in rmcp 1.x rmcp 1.0.0 made InitializeResult (ServerInfo) non-exhaustive, preventing direct struct construction from external crates. Use Default::default() with field mutation instead. --- crates/mcp-server/src/service.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/crates/mcp-server/src/service.rs b/crates/mcp-server/src/service.rs index d4e3e4f..4848def 100644 --- a/crates/mcp-server/src/service.rs +++ b/crates/mcp-server/src/service.rs @@ -517,17 +517,17 @@ impl GeneratorService { #[tool_handler] impl ServerHandler for GeneratorService { fn get_info(&self) -> ServerInfo { - ServerInfo { - protocol_version: ProtocolVersion::V_2025_06_18, - capabilities: ServerCapabilities::builder().enable_tools().build(), - server_info: Implementation::from_build_env(), - instructions: Some( - "Generate progressive loading TypeScript files for MCP servers. \ - Use introspect_server to discover tools, then save_categorized_tools \ - with your categorization." - .to_string(), - ), - } + let mut info = ServerInfo::default(); + info.protocol_version = ProtocolVersion::V_2025_06_18; + info.capabilities = ServerCapabilities::builder().enable_tools().build(); + info.server_info = Implementation::from_build_env(); + info.instructions = Some( + "Generate progressive loading TypeScript files for MCP servers. \ + Use introspect_server to discover tools, then save_categorized_tools \ + with your categorization." + .to_string(), + ); + info } }