You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -245,10 +245,10 @@ public class CustomMcpSyncClientCustomizer implements McpSyncClientCustomizer {
245
245
@Override
246
246
public void customize(String serverConfigurationName, McpClient.SyncSpec spec) {
247
247
248
-
// Customize the request configuration
248
+
// Customize the request timeout configuration
249
249
spec.requestTimeout(Duration.ofSeconds(30));
250
250
251
-
// Sets the root URIs that the server connecto this client can access.
251
+
// Sets the root URIs that this client can access.
252
252
spec.roots(roots);
253
253
254
254
// Sets a custom sampling handler for processing message creation requests.
@@ -298,7 +298,7 @@ public class CustomMcpAsyncClientCustomizer implements McpAsyncClientCustomizer
298
298
}
299
299
----
300
300
======
301
-
The `serverConfigurationName` parameter is the name of the server configuration that the customizer is being applied to and the the MCP Client is created for.
301
+
The `serverConfigurationName` parameter is the name of the server configuration that the customizer is being applied to and the MCP Client is created for.
302
302
303
303
The MCP client auto-configuration automatically detects and applies any customizers found in the application context.
304
304
@@ -384,9 +384,9 @@ spring:
384
384
385
385
== Example Applications
386
386
387
-
- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/web-search/brave-chatbot[Brave Wet Search Chatbot] - A chatbot that uses the Model Context Protocol to interact with a web search server.
388
-
- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/client-starter/starter-default-client[Default MCP Client Starter] - A simple example of using the the default `spring-ai-starter-mcp-client` MCP Client Boot Starter.
389
-
- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/client-starter/starter-webflux-client[WebFlux MCP Client Starter] - A simple example of using the `spring-ai-starter-mcp-client-webflux` the MCP Client Boot Starter.
387
+
- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/web-search/brave-chatbot[Brave Web Search Chatbot] - A chatbot that uses the Model Context Protocol to interact with a web search server.
388
+
- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/client-starter/starter-default-client[Default MCP Client Starter] - A simple example of using the default `spring-ai-starter-mcp-client` MCP Client Boot Starter.
389
+
- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/client-starter/starter-webflux-client[WebFlux MCP Client Starter] - A simple example of using the `spring-ai-starter-mcp-client-webflux` MCP Client Boot Starter.
0 commit comments