Class McpServerStreamableHttpWebFluxAutoConfiguration

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

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

    • McpServerStreamableHttpWebFluxAutoConfiguration

      public McpServerStreamableHttpWebFluxAutoConfiguration()
  • Method Details

    • webFluxStreamableServerTransportProvider

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

      @Bean public org.springframework.web.reactive.function.server.RouterFunction<?> webFluxStreamableServerRouterFunction(io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider webFluxProvider)