Skip to content

mcp_dart 2.4.0

Choose a tag to compare

@github-actions github-actions released this 31 Jul 01:30
· 21 commits to main since this release
b104df0

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 SseClientTransport for compatibility with
    legacy HTTP+SSE servers. It enforces the first endpoint event, 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.