mcp_dart 2.4.0
mcp_dart 2.4 adds an opt-in legacy HTTP+SSE client for connecting to older
servers while keeping Streamable HTTP as the preferred remote transport.
Added
- Added an opt-in, deprecated
SseClientTransportfor compatibility with
legacy HTTP+SSE servers. It enforces the firstendpointevent, same-origin
POST routing, JSON-RPC framing, negotiated protocol-version headers, and
deterministic client-side close on VM, Flutter, and web. - Added a paired legacy SSE client example plus Dart-to-Dart and bidirectional
TypeScript/Python interoperability coverage.
Changed
- Updated all legacy HTTP+SSE client and server APIs to reference MCP
SEP-2596, its 2026-08-18 earliest removal-eligibility date, Streamable HTTP
migration, and a configurable runtime deprecation warning.