Skip to content

Commit 3ceeb27

Browse files
committed
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 <christian.tzolov@broadcom.com>
1 parent c2843f1 commit 3ceeb27

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,21 @@ Currently, the Claude Desktop format supports only STDIO connection types.
176176

177177
Properties for Server-Sent Events (SSE) transport are prefixed with `spring.ai.mcp.client.sse`:
178178

179-
[cols="2,4"]
179+
[cols="3,4,3"]
180180
|===
181-
|Property |Description
181+
|Property |Description | Default Value
182182

183183
|`connections`
184184
|Map of named SSE connection configurations
185+
|-
185186

186187
|`connections.[name].url`
187-
|URL endpoint for SSE communication with the MCP server
188+
|Base URL endpoint for SSE communication with the MCP server
189+
|-
190+
191+
|`connections.[name].sse-endpoint`
192+
|the sse endpoint (as url suffix) to use for the connection
193+
|`/sse`
188194
|===
189195

190196
Example configuration:
@@ -200,6 +206,7 @@ spring:
200206
url: http://localhost:8080
201207
server2:
202208
url: http://otherserver:8081
209+
sse-endpoint: /custom-sse
203210
----
204211

205212
== Features

0 commit comments

Comments
 (0)