flutter_mcp_common 0.0.2 copy "flutter_mcp_common: ^0.0.2" to clipboard
flutter_mcp_common: ^0.0.2 copied to clipboard

Common utilities and platform integrations for Model Context Protocol (MCP) in Flutter applications

0
likes
140/ 160
pub points
299
downloads

We analyzed this package 14 hours ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

115 out of 121 API elements (95.0 %) have documentation comments.

Some symbols that are missing documentation: flutter_mcp_common, flutter_mcp_common.FlutterMcpBackgroundIsolate.FlutterMcpBackgroundIsolate.new, flutter_mcp_common.FlutterMcpPlatform.instance, flutter_mcp_common_web, flutter_mcp_common_web.FlutterMcpCommonWeb.FlutterMcpCommonWeb.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:flutter_mcp_common/flutter_mcp_common.dart that imports:
  • package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:flutter_mcp_common/flutter_mcp_common.dart that imports:
  • package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:flutter_mcp_common/flutter_mcp_common.dart that imports:
  • package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that declares support for platforms: Android, iOS, Linux, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_mcp_common/flutter_mcp_common.dart that imports:
  • package:flutter_mcp_common/src/background/flutter_mcp_background_service.dart that imports:
  • package:flutter_background_service/flutter_background_service.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_mcp_common/flutter_mcp_common.dart that imports:
  • package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:flutter_mcp_common/flutter_mcp_common.dart that imports:
  • package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that declares support for platforms: Android, iOS, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_mcp_common/flutter_mcp_common.dart that imports:
  • package:flutter_mcp_common/src/security/flutter_mcp_secure_storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/flutter_mcp_common/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 10 issues. Showing the first 2:

/tmp/pana_FZVQWU/lib/flutter_mcp_common.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_FZVQWU/lib/flutter_mcp_common_web.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
connectivity_plus ^4.0.2 4.0.2 6.1.4
flutter_background_service ^5.0.5 5.1.0 5.1.0
flutter_local_notifications ^15.1.0+1 15.1.3 19.1.0
flutter_secure_storage ^8.0.0 8.1.0 9.2.4
logger ^2.0.1 2.5.0 2.5.0
path_provider ^2.1.1 2.1.5 2.1.5
shared_preferences ^2.2.2 2.5.3 2.5.3
uuid ^4.0.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 1.2.4 2.0.1
crypto - 3.0.6 3.0.6
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_background_service_android - 6.3.0 6.3.0
flutter_background_service_ios - 5.0.3 5.0.3
flutter_background_service_platform_interface - 5.1.2 5.1.2
flutter_local_notifications_linux - 4.0.1 6.0.0
flutter_local_notifications_platform_interface - 7.2.0 9.0.0
flutter_secure_storage_linux - 1.2.2 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 2.1.1 4.0.0
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
sprintf - 7.0.0 7.0.0
timezone - 0.9.4 0.10.0
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^4.0.2` on connectivity_plus does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.

The constraint `^15.1.0+1` on flutter_local_notifications does not support the stable version `16.0.0`.

Try running dart pub upgrade --major-versions flutter_local_notifications to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
299
downloads

Publisher

unverified uploader

Weekly Downloads

Common utilities and platform integrations for Model Context Protocol (MCP) in Flutter applications

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, flutter_background_service, flutter_local_notifications, flutter_secure_storage, flutter_web_plugins, logger, path_provider, shared_preferences, uuid

More

Packages that depend on flutter_mcp_common