From 6c1d7978ab7904420813296f272f49f8243cebed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 08:10:32 +0000 Subject: [PATCH 1/2] build(deps): bump rmcp from 0.8.5 to 1.4.0 Bumps [rmcp](https://github.com/modelcontextprotocol/rust-sdk) from 0.8.5 to 1.4.0. - [Release notes](https://github.com/modelcontextprotocol/rust-sdk/releases) - [Changelog](https://github.com/modelcontextprotocol/rust-sdk/blob/main/release-plz.toml) - [Commits](https://github.com/modelcontextprotocol/rust-sdk/compare/rmcp-v0.8.5...rmcp-v1.4.0) --- updated-dependencies: - dependency-name: rmcp dependency-version: 1.4.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.lock | 98 +++++++++++------------------------------------------- Cargo.toml | 2 +- 2 files changed, 21 insertions(+), 79 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ea8770d..62489b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,7 +19,7 @@ dependencies = [ "inquire", "log", "percent-encoding", - "rand 0.10.1", + "rand", "regex-lite", "reqwest", "rmcp", @@ -260,7 +260,7 @@ checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" dependencies = [ "cfg-if", "cpufeatures", - "rand_core 0.10.0", + "rand_core", ] [[package]] @@ -401,9 +401,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.21.3" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" +checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" dependencies = [ "darling_core", "darling_macro", @@ -411,11 +411,10 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.21.3" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" +checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" dependencies = [ - "fnv", "ident_case", "proc-macro2", "quote", @@ -425,9 +424,9 @@ dependencies = [ [[package]] name = "darling_macro" -version = "0.21.3" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" +checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" dependencies = [ "darling_core", "quote", @@ -740,7 +739,7 @@ dependencies = [ "cfg-if", "libc", "r-efi 6.0.0", - "rand_core 0.10.0", + "rand_core", "wasip2", "wasip3", ] @@ -1349,10 +1348,10 @@ dependencies = [ ] [[package]] -name = "paste" -version = "1.0.15" +name = "pastey" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" +checksum = "c5a797f0e07bdf071d15742978fc3128ec6c22891c31a3a931513263904c982a" [[package]] name = "percent-encoding" @@ -1402,15 +1401,6 @@ dependencies = [ "zerovec", ] -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - [[package]] name = "prettyplease" version = "0.2.37" @@ -1451,16 +1441,6 @@ version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" -[[package]] -name = "rand" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" -dependencies = [ - "rand_chacha", - "rand_core 0.9.5", -] - [[package]] name = "rand" version = "0.10.1" @@ -1469,26 +1449,7 @@ checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207" dependencies = [ "chacha20", "getrandom 0.4.2", - "rand_core 0.10.0", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.5", -] - -[[package]] -name = "rand_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" -dependencies = [ - "getrandom 0.3.4", + "rand_core", ] [[package]] @@ -1630,10 +1591,11 @@ dependencies = [ [[package]] name = "rmcp" -version = "0.8.5" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5947688160b56fb6c827e3c20a72c90392a1d7e9dec74749197aa1780ac42ca" +checksum = "f542f74cf247da16f19bbc87e298cd201e912314f4083e88cdd671f44f5fcb53" dependencies = [ + "async-trait", "base64", "bytes", "chrono", @@ -1641,9 +1603,9 @@ dependencies = [ "http", "http-body", "http-body-util", - "paste", + "pastey", "pin-project-lite", - "rand 0.9.4", + "rand", "rmcp-macros", "schemars", "serde", @@ -1660,9 +1622,9 @@ dependencies = [ [[package]] name = "rmcp-macros" -version = "0.8.5" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01263441d3f8635c628e33856c468b96ebbce1af2d3699ea712ca71432d4ee7a" +checksum = "7caa6743cc0888e433105fe1bc551a7f607940b126a37bc97b478e86064627eb" dependencies = [ "darling", "proc-macro2", @@ -2852,26 +2814,6 @@ dependencies = [ "synstructure", ] -[[package]] -name = "zerocopy" -version = "0.8.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.8.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "zerofrom" version = "0.1.6" diff --git a/Cargo.toml b/Cargo.toml index 94441ec..38a1963 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ serde = { version = "1.0.228", features = ["derive"] } serde_yaml = "0.9.34" serde_json = "1.0.149" schemars = { version = "1.2", features = ["derive"] } -rmcp = { version = "0.8.0", features = [ +rmcp = { version = "1.4.0", features = [ "server", "transport-io", "transport-streamable-http-server", From 7d44ced06ac258a4cc647d269d8589d0461ea0ad Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 7 May 2026 08:17:50 +0000 Subject: [PATCH 2/2] =?UTF-8?q?fix(mcp):=20fix=20build=20breaks=20after=20?= =?UTF-8?q?rmcp=200.8.5=20=E2=86=92=201.4.0=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/542281ed-3051-461e-8816-5248e9d7ab5f Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com> --- src/mcp.rs | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/mcp.rs b/src/mcp.rs index a72ca3d..d80dd04 100644 --- a/src/mcp.rs +++ b/src/mcp.rs @@ -1370,13 +1370,8 @@ agent attempted work but couldn't finish (e.g., API timeouts, build failures, re #[tool_handler] impl ServerHandler for SafeOutputs { fn get_info(&self) -> ServerInfo { - ServerInfo { - instructions: Some( - "A set of tools that generate SafeOutput compatible results.".into(), - ), - capabilities: ServerCapabilities::builder().enable_tools().build(), - ..Default::default() - } + ServerInfo::new(ServerCapabilities::builder().enable_tools().build()) + .with_instructions("A set of tools that generate SafeOutput compatible results.") } } @@ -1439,10 +1434,7 @@ pub async fn run_http( info!("Starting SafeOutputs HTTP server on port {}", port); - let config = StreamableHttpServerConfig { - sse_keep_alive: Some(std::time::Duration::from_secs(15)), - stateful_mode: true, - }; + let config = StreamableHttpServerConfig::default(); let session_manager = Arc::new(LocalSessionManager::default());