Bump rmcp (#5096)
This commit is contained in:
@@ -12,7 +12,7 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
goose = { path = "../goose" }
|
||||
rmcp = { version = "0.7.0", features = ["server", "client", "transport-io", "macros"] }
|
||||
rmcp = { version = "0.8.1", features = ["server", "client", "transport-io", "macros"] }
|
||||
anyhow = "1.0.94"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio-stream = { version = "0.1", features = ["io-util"] }
|
||||
|
||||
@@ -76,7 +76,7 @@ pub async fn oauth_flow(
|
||||
let mut oauth_state = OAuthState::new(mcp_server_url, None).await?;
|
||||
let redirect_uri = format!("http://localhost:{}/oauth_callback", used_addr.port());
|
||||
oauth_state
|
||||
.start_authorization(&[], redirect_uri.as_str())
|
||||
.start_authorization(&[], redirect_uri.as_str(), Some("goose"))
|
||||
.await?;
|
||||
|
||||
let authorization_url = oauth_state.get_authorization_url().await?;
|
||||
|
||||
Reference in New Issue
Block a user