From 09be28d35b24a653c77bf4828aba658f24098939 Mon Sep 17 00:00:00 2001 From: Hazel Date: Thu, 11 Jun 2026 13:52:14 -0700 Subject: [PATCH 1/2] Create a new MCP session for each request --- pom.xml | 2 +- src/main/resources/application.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0cd14f0533..f2e41f8f1d 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ io.quarkiverse.mcp quarkus-mcp-server-bom - 1.10.1 + 1.13.0 pom import diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 01ded9785f..17fed2fdc8 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -216,6 +216,10 @@ quarkus: server: http: root-path: /v1/mcp + streamable: + # It performs an automatic initialization when the first message from the client is not initialize. + # A new MCP session is created for each request. + auto-init: true traffic-logging: enabled: true text-limit: 1000 From 3cf49e5c77811f462f76bfecbfbe74899e611302 Mon Sep 17 00:00:00 2001 From: Hazel Date: Thu, 11 Jun 2026 13:59:54 -0700 Subject: [PATCH 2/2] add link --- src/main/resources/application.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 17fed2fdc8..354232535c 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -219,6 +219,7 @@ quarkus: streamable: # It performs an automatic initialization when the first message from the client is not initialize. # A new MCP session is created for each request. + # https://docs.quarkiverse.io/quarkus-mcp-server/1.13.x/reference-configuration.html#quarkus-mcp-server-http_quarkus-mcp-server-http-streamable-auto-init auto-init: true traffic-logging: enabled: true