A server and the protocol details AshAi.Mcp.Client.connect/1 settled on.
erais:modernfor revisions that carry their version on every request (2026-07-28 on) and:legacyfor theinitialize-based revisions.session_idis the legacyMcp-Session-Id, ornil.server_info,capabilities, andinstructionscome fromserver/discoverorinitialize, when the client made one of those requests.
Holds no process or socket; Req pools the HTTP connections underneath.