Skip to content

MCP: AUTO mode over STDIO, probing with server/discover (#1670) - #1729

Merged
jlouvel merged 4 commits into
feature/mcp-sdk-modern-clientfrom
feature/1670-mcp-stdio-auto
Nov 28, 2026
Merged

jlouvel merged 4 commits into
feature/mcp-sdk-modern-clientfrom
feature/1670-mcp-stdio-auto

Close the modern STDIO client before the stream, which a slow subscri…

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

Annotations

Check warning on line 541 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpStdioAutoTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

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

Check warning on line 158 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/internal/McpModernStdioTransport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty array instead of null.

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

Check warning on line 284 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/internal/McpStdioChannel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

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

Check warning on line 420 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpStdioAutoTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

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

Check warning on line 549 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpStdioAutoTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "TimeUnit.sleep()".

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

Check warning on line 391 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpStdioAutoTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "TimeUnit.sleep()".

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

Check warning on line 447 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpStdioAutoTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "TimeUnit.sleep()".

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

Check warning on line 285 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/internal/McpStdioChannel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

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

Check warning on line 526 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpStdioAutoTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this block of code, fill it in, or add a comment explaining why it is empty.

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

Check warning on line 152 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/internal/McpModernStdioTransport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

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

Check warning on line 254 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/internal/McpStdioChannel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

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

Check warning on line 387 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpStdioAutoTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

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

Check warning on line 392 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/internal/McpStdioChannel.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

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

Check warning on line 127 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/internal/McpModernStdioTransport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "e" with an unnamed pattern.

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