Class HttpStreamableMcpServer


public class HttpStreamableMcpServer extends AbstractHttpMcpServer
HttpStatelessMcpServer sets up and runs a Model Context Protocol (MCP) server that listens for HTTP requests on a specified port.

This server loads GenAI tools, configures server capabilities, and exposes the MCP API over HTTP using Jetty.

Since:
1.2.0
Author:
Viktor Tovstyi
  • Constructor Details

    • HttpStreamableMcpServer

      public HttpStreamableMcpServer(String name, String version)
      Constructs a new HttpStatelessMcpServer with the given name and version.
      Parameters:
      name - the server name to report in the MCP API
      version - the server version to report in the MCP API
  • Method Details