Repository navigation
flutter_webmcp 0.2.0
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.