Class McpServerStreamableHttpWebMvcAutoConfiguration

java.lang.Object
org.springframework.ai.mcp.server.autoconfigure.McpServerStreamableHttpWebMvcAutoConfiguration

@AutoConfiguration(before=McpServerAutoConfiguration.class) @ConditionalOnClass(io.modelcontextprotocol.spec.McpSchema.class) @EnableConfigurationProperties({McpServerProperties.class,McpServerStreamableHttpProperties.class}) @Conditional({McpServerStdioDisabledCondition.class,EnabledStreamableServerCondition.class}) public class McpServerStreamableHttpWebMvcAutoConfiguration extends Object
Author:
Christian Tzolov
  • Constructor Details

    • McpServerStreamableHttpWebMvcAutoConfiguration

      public McpServerStreamableHttpWebMvcAutoConfiguration()
  • Method Details

    • webMvcStreamableServerTransportProvider

      @Bean @ConditionalOnMissingBean public io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider webMvcStreamableServerTransportProvider(org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapperProvider, McpServerStreamableHttpProperties serverProperties)
    • webMvcStreamableServerRouterFunction

      @Bean public org.springframework.web.servlet.function.RouterFunction<?> webMvcStreamableServerRouterFunction(io.modelcontextprotocol.server.transport.WebMvcStreamableServerTransportProvider webMvcProvider)