chore: Pin rmcp commit (#5014)

This commit is contained in:
Thien Tran 2025-05-19 14:07:09 +08:00 committed by GitHub
parent 3dea599b9a
commit 16514050b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -33,11 +33,12 @@ tauri-plugin-store = "2"
hyper = { version = "0.14", features = ["server"] } hyper = { version = "0.14", features = ["server"] }
reqwest = { version = "0.11", features = ["json", "blocking", "stream"] } reqwest = { version = "0.11", features = ["json", "blocking", "stream"] }
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", branch = "main", features = [ rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", rev = "c1c4c9a0c9afbfbbf9eb42d6f8b00d8546fbdc2c", features = [
"client", "client",
"transport-sse", "transport-sse-client",
"transport-child-process", "transport-child-process",
"tower", "tower",
"reqwest",
] } ] }
uuid = { version = "1.7", features = ["v4"] } uuid = { version = "1.7", features = ["v4"] }
env = "1.0.1" env = "1.0.1"

View File

@ -63,7 +63,7 @@ pub async fn run_mcp_commands(
}); });
let service = let service =
().serve(TokioChildProcess::new(&mut cmd).map_err(|e| e.to_string())?) ().serve(TokioChildProcess::new(cmd).map_err(|e| e.to_string())?)
.await .await
.map_err(|e| e.to_string())?; .map_err(|e| e.to_string())?;