Use RMCP for StreamableHTTP OAuth support (#3845)

This commit is contained in:
Jack Amadeo
2025-08-06 09:02:38 -04:00
committed by GitHub
parent ee450254b6
commit 6b93260fd0
13 changed files with 221 additions and 553 deletions
@@ -96,8 +96,9 @@ impl McpClientTrait for MockClient {
if let Some(handler) = self.handlers.get(name) {
match handler(&arguments) {
Ok(content) => Ok(CallToolResult {
content,
content: Some(content),
is_error: None,
structured_content: None,
}),
Err(e) => Err(Error::UnexpectedResponse),
}