Skip to content

flutter_webmcp 0.2.0

Choose a tag to compare

@KickNext KickNext released this 26 Aug 00:15
· 7 commits to main since this release
3d5aad8

First public release of flutter_webmcp: typed Dart and Flutter lifecycle bindings for exposing Flutter Web actions as WebMCP tools.

Highlights

  • Typed tool input with WebMcpTypedTool<T>.
  • Automatic registration lifecycle with WebMcpToolScope.
  • Structured text, data, and error results.
  • Safe handling of unexpected Dart failures.
  • Support diagnostics, cancellation, cross-origin exposure, and tool-call logging.
  • Flutter Web support for both JavaScript and WebAssembly builds.

Verification

  • Tested in Chrome and ChatGPT's in-app browser.
  • pana: 160/160 points.
  • Public API documentation: 100%.
  • flutter pub publish --dry-run: 0 warnings.