Class McpServerStatelessWebMvcAutoConfiguration

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

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

    • McpServerStatelessWebMvcAutoConfiguration

      public McpServerStatelessWebMvcAutoConfiguration()
  • Method Details

    • webMvcStatelessServerTransport

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

      @Bean public org.springframework.web.servlet.function.RouterFunction<?> webMvcStatelessServerRouterFunction(io.modelcontextprotocol.server.transport.WebMvcStatelessServerTransport webMvcStatelessTransport)