McpServer.stateless

Construct a stateless server (the default mode). On the draft protocol this is modern stateless (per-request _meta, MRTR); on pre-draft it is legacy stateless (no-op initialize, no session id, correlation features error). No Mcp-Session-Id is ever minted. See the README "Statefulness" section.

  1. McpServer stateless(string name, string version_, Nullable!string instructions)
    class McpServer
    static @safe
    stateless
    (
    string name
    ,
    string version_
    ,
    Nullable!string instructions = Nullable!string.init
    )
  2. McpServer stateless(Implementation serverInfo, Nullable!string instructions)