Skip to content

MCP client: let a call pass per-call state to the request customizer (#1770) - #1771

Merged
jlouvel merged 3 commits into
3.0from
feature/mcp-client-call-context
Nov 30, 2026
Merged

jlouvel merged 3 commits into
3.0from
feature/mcp-client-call-context

Free the permit of an MCP call before handing over its answer (#1772)

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

Annotations

Check warning on line 101 in org.restlet.ext.mcp/src/main/java/org/restlet/ext/mcp/internal/McpWorkers.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

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

Check warning on line 92 in org.restlet.ext.mcp/src/test/java/org/restlet/ext/mcp/McpWorkersTestCase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

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