Croway opened a new pull request, #2119:
URL: https://github.com/apache/camel-spring-boot/pull/2119

   Follow-up of 
[CAMEL-27241](https://issues.apache.org/jira/browse/CAMEL-27241) (Spring AI 
2.1.0) and #2117 
([CAMEL-27174](https://issues.apache.org/jira/browse/CAMEL-27174)): the MCP 
server starter runs on Spring AI 2.1.0, but three places still named Spring AI 
2.0.2. Docs, comments and test assertions only; no behaviour change.
   
   - `usage.adoc` (and the regenerated docs page): the Origin-rejection note 
now names the Spring AI 2.1 WebMVC transports, `STREAMABLE`, `STATELESS` and 
`MODERN`. On 2.1.0 all three still answer an Origin rejection with HTTP 403 and 
a plain-text `Invalid Origin header` body, before MCP dispatch.
   - `CamelMcpServerTransportAutoConfiguration` / 
`CamelMcpServerStatelessTransportAutoConfiguration` comments: in 2.1.0 the 
Streamable HTTP and stateless transport builders still only take the deprecated 
`ServerTransportSecurityValidator` (only the 2026-07-28 transport takes 
`ServerHttpHeaderValidator`), so the adapter stays; its removal condition now 
names both builders.
   - `SpringBootMcpServerStatelessTest` and `SpringBootMcpServerModernTest` now 
also assert the rejection body, as `SpringBootMcpServerTest` already does for 
Streamable HTTP, so the note is covered for all three transports.
   
   Testing: the starter's 69 tests pass locally on CSB `main` built against the 
Camel 4.24.0-SNAPSHOT of today (Spring AI 2.1.0, Spring Boot 4.2.0, MCP Java 
SDK 2.2.0).
   
   _Claude Code on behalf of Croway_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to