Skip to content

MCP: replace McpModernClient with the SDK 2.2.0 modern client - #1728

Merged
jlouvel merged 3 commits into
3.0from
feature/mcp-sdk-modern-client
Nov 28, 2026
Merged

jlouvel merged 3 commits into
3.0from
feature/mcp-sdk-modern-client

Report an SDK exchange as lost only once its request reached the conn…

1dd2b69
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 28, 2026 in 1m 1s

Annotations

Check warning on line 361 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/McpTasksClient.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the record pattern instead of this pattern match variable.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaIghsKDjdPo4z66k9AR&open=AaIghsKDjdPo4z66k9AR&pullRequest=1728

Check warning on line 137 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/internal/McpModernHttpTransport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a primitive boolean expression here.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaIgubP2vcVldxuq1BAE&open=AaIgubP2vcVldxuq1BAE&pullRequest=1728

Check warning on line 444 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/McpClientAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "cleanup" with an unnamed pattern.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaIgplx1snnA0eTiLXCi&open=AaIgplx1snnA0eTiLXCi&pullRequest=1728

Check warning on line 343 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpTasksTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "client" which hides the field declared at line 70.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaIghr-7jdPo4z66k9AQ&open=AaIghr-7jdPo4z66k9AQ&pullRequest=1728

Check warning on line 185 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpModernHttpTransportTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "ignored" with an unnamed pattern.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaIgubNmvcVldxuq1BAD&open=AaIgubNmvcVldxuq1BAD&pullRequest=1728