Transport
The protocol stays transport-agnostic. The current reference implementation ships two MDP-side transports:
ws/wssfor direct bidirectional sessionshttp/httpsloop mode for runtimes that prefer request/response polling
Transport auth is independent from the message set. In the reference server it can arrive:
- directly in
Authorization,Cookie, orx-mdp-auth-*headers - through
POST /mdp/auth, which issues an auth cookie that the browser can carry into a laterws/wssupgrade
Both transports preserve the same message model:
registerClientunregisterClientcallClientcallClientResultpingpong
That means registry, routing, and MCP bridge logic stay unchanged when the transport changes.