From 3ceeb271010e0f985ecfa46fe2650e826f394265 Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Thu, 1 May 2025 14:19:17 +0300 Subject: [PATCH] feat(docs): add SSE endpoint configuration property to MCP client docs - Add new connections.[name].sse-endpoint property with default value /sse - Update table format to include default values column - Clarify that connections.[name].url is a base URL endpoint Related to #2724 Signed-off-by: Christian Tzolov --- .../pages/api/mcp/mcp-client-boot-starter-docs.adoc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc index 860f0c673..9743ddede 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc @@ -176,15 +176,21 @@ Currently, the Claude Desktop format supports only STDIO connection types. Properties for Server-Sent Events (SSE) transport are prefixed with `spring.ai.mcp.client.sse`: -[cols="2,4"] +[cols="3,4,3"] |=== -|Property |Description +|Property |Description | Default Value |`connections` |Map of named SSE connection configurations +|- |`connections.[name].url` -|URL endpoint for SSE communication with the MCP server +|Base URL endpoint for SSE communication with the MCP server +|- + +|`connections.[name].sse-endpoint` +|the sse endpoint (as url suffix) to use for the connection +|`/sse` |=== Example configuration: @@ -200,6 +206,7 @@ spring: url: http://localhost:8080 server2: url: http://otherserver:8081 + sse-endpoint: /custom-sse ---- == Features