You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simplify: explicit kind brand on transports replaces duck-typing discriminator
ChannelTransport gets `readonly kind?: 'channel'` (optional, back-compat).
RequestTransport / ClientTransport get `readonly kind: 'request'` (required).
isRequestTransport / isChannelTransport check the brand instead of probing
for `onrequest` / `fetch` / `start` / `send`.
The SHTTP transport classes now `implements RequestTransport` only (not also
ChannelTransport — the brands are mutually exclusive). They keep the
start/send/onmessage methods for back-compat with v1 callers, but
McpServer/Client.connect() routes them via the request-shaped path.
0 commit comments