aldettinger commented on issue #9342: URL: https://github.com/apache/camel-quarkus/issues/9342#issuecomment-7350306095
## Where this stands **For users today:** adding `camel-quarkus-mcp-server` always starts an HTTP server. If you want stdio only — the shape every desktop client and IDE uses, launching the server as a subprocess — there is no clean way out. `quarkus.mcp.server.http.enabled=false` turns off the `/mcp` endpoint but leaves `quarkus-vertx-http` binding a port; Maven exclusions work but are fragile. Several MCP subprocesses on one laptop then contend for 8080. That is the main user-facing reason to go core-only, and it lands where CQ is strongest: a subprocess-launched server pays its boot cost on *every* spawn, which is exactly what a native binary is for. **Cost for users:** existing apps keep compiling, boot fine, and return 404 — silently. Mitigation: a CQ build-time warning when no transport is on the classpath. 4.0.0 already forces a POM revisit for Quarkus 4, so the extra dependency rides along in a migration guide people are already reading. If not now, realistically never. **Transport facts, checked with upstream:** - Multiple transports *are* supported; quarkiverse is adding a "Combining STDIO with Other Transports" guide section. - But EOF on stdin shuts the whole process down, by spec and by design — so stdio+HTTP is a dev-machine combo, not something you deploy. Our docs should say so. - No transport produces no upstream warning, and they are not adding one. Hence the CQ-side check. **Architecture (secondary):** the extension uses only `io.quarkiverse.mcp.server.*` types, all in core — no Java changes. Dropping the transport dep also removes CQ from the triage path for every `-http`/`-stdio`/`-websocket` CVE (patching was never ours; assessment is). *Investigated with Claude Opus 5 (Claude Code); findings verified against quarkus-mcp-server 2.1.0 and the upstream issue tracker, and reviewed by me.* -- 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]
