Class McpServerStreamableHttpWebFluxAutoConfiguration

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

@AutoConfiguration(before=org.springframework.ai.mcp.server.common.autoconfigure.McpServerAutoConfiguration.class) @ConditionalOnClass(io.modelcontextprotocol.spec.McpSchema.class) @EnableConfigurationProperties({org.springframework.ai.mcp.server.common.autoconfigure.properties.McpServerProperties.class,org.springframework.ai.mcp.server.common.autoconfigure.properties.McpServerStreamableHttpProperties.class}) @Conditional({org.springframework.ai.mcp.server.common.autoconfigure.McpServerStdioDisabledCondition.class,org.springframework.ai.mcp.server.common.autoconfigure.McpServerAutoConfiguration.EnabledStreamableServerCondition.class}) public class McpServerStreamableHttpWebFluxAutoConfiguration extends Object
Author:
Christian Tzolov, Yanming Zhou
  • Constructor Details

    • McpServerStreamableHttpWebFluxAutoConfiguration

      public McpServerStreamableHttpWebFluxAutoConfiguration()
  • Method Details

    • webFluxStreamableServerTransportProvider

      @Bean @ConditionalOnMissingBean public io.modelcontextprotocol.server.transport.WebFluxStreamableServerTransportProvider webFluxStreamableServerTransportProvider(@Qualifier("mcpServerObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.ai.mcp.server.common.autoconfigure.properties.McpServerStreamableHttpProperties serverProperties)
    • webFluxStreamableServerRouterFunction

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