spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Please add a config of mcp server request timeout, default 10s is too short.

Open pcalpha opened this issue 1 year ago • 1 comments

Please add a config to modify the request time of mcp server in the McpServerAutoConfiguration.java . The mcp server has a default value of 10s, it's too short.

SyncSpecification serverBuilder = McpServer.sync(transportProvider).serverInfo(serverInfo); serverBuilder.requestTimeout(Duration.of(xxxxx))

pcalpha avatar May 16 '25 08:05 pcalpha

@tzolov Thank you very much!

pcalpha avatar May 19 '25 02:05 pcalpha