flutter_webmcp 0.2.1 copy "flutter_webmcp: ^0.2.1" to clipboard
flutter_webmcp: ^0.2.1 copied to clipboard

A typed Dart API for exposing Flutter Web actions as WebMCP tools.

0.2.1 #

  • Aligned the browser bindings and compatibility tests with the WebMCP Draft Community Group Report dated 26 August 2026.
  • Expanded browser regression coverage for the current tool definition, annotations, registration options, and execution cancellation shape.
  • Tolerate experimental browser builds where registerTool returns synchronously instead of returning the draft's Promise<void>.

0.2.0 #

  • Added WebMcpToolScope for automatic Flutter lifecycle management.
  • Added typed inputs with WebMcpTypedTool<T>.
  • Added WebMcpResult helpers for text, structured, raw, and error results.
  • Added structured WebMcpToolException handling without opaque Dart promise failures.
  • Added detailed support diagnostics through WebMcp.support.
  • Added tool-call logging with status, duration, result, and local errors.
  • Made execution cancellation data tolerant of browser implementations that do not provide an AbortSignal.
  • Added VM, browser, and Flutter widget regression tests.
  • Added strict public API documentation, security guidance, package validation, and continuous integration checks for JavaScript and WebAssembly builds.

0.1.0 #

  • Initial typed imperative WebMCP API.
  • Tool registration and abort-based unregistration.
  • Feature detection, JSON Schema input, annotations, and exposed origins.
  • Dart VM fallback and tests.
0
likes
160
points
65
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A typed Dart API for exposing Flutter Web actions as WebMCP tools.

Repository (GitHub)
View/report issues
Contributing

Topics

#webmcp #mcp #flutter-web #ai-agents

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_webmcp