Summary
Upgrade quarkus.mcp.server.version from 1.13.1 to 2.0 (CR1 now, GA when released) in root pom.xml.
This brings MCP Server API 1.0.0 (stable), stateless protocol groundwork, generic type schema fixes, DNS rebinding protection, and stdio cancellation fixes.
Breaking changes (verified non-impacting)
- SSE artifact removal — we already use
quarkus-mcp-server-http
- JSON-RPC batching removed — not used,
whenBatch() not called
McpProtocolVersion enum→class — not referenced
McpRequest.protocolVersion() return type change — not used
- Error code renumbering — no hardcoded error codes
ToolOutputGuardrail/ToolInputGuardrail null rejection — we use custom CDI guardrails
OutputSchemaGenerator.generate(Type) — no custom generators
- Metrics config phase change — already have
metrics.enabled=true
- Tracing scoped per-server — use
@WithSpan directly
Acceptance criteria
Summary
Upgrade
quarkus.mcp.server.versionfrom1.13.1to2.0(CR1 now, GA when released) in rootpom.xml.This brings MCP Server API 1.0.0 (stable), stateless protocol groundwork, generic type schema fixes, DNS rebinding protection, and stdio cancellation fixes.
Breaking changes (verified non-impacting)
quarkus-mcp-server-httpwhenBatch()not calledMcpProtocolVersionenum→class — not referencedMcpRequest.protocolVersion()return type change — not usedToolOutputGuardrail/ToolInputGuardrailnull rejection — we use custom CDI guardrailsOutputSchemaGenerator.generate(Type)— no custom generatorsmetrics.enabled=true@WithSpandirectlyAcceptance criteria
pom.xml:25version property updatedmvn compilepasses across all modulesquarkus.mcp.server.tools.structured-content.compatibility-mode=true(may be unnecessary with 2.0's fixed generic type schema generation)