runStreamableHttp

Convenience: start a Streamable HTTP server for server on port, bound to a single host. Sets StreamableHttpOptions.bindAddresses = [host] and forwards to runStreamableHttp(server, port, opts). Blocks until exit.

  1. void runStreamableHttp(McpServer server, ushort port, StreamableHttpOptions opts)
  2. void runStreamableHttp(McpServer server, ushort port, string host)
    @safe
    void
    runStreamableHttp
    (,
    ushort port
    ,
    string host
    )