flutter_mcp_server 0.1.4
flutter_mcp_server: ^0.1.4 copied to clipboard
Flutter implementation of Model Context Protocol (MCP) server for exposing data and functionality to MCP clients
We analyzed this package 4 hours ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
196 out of 281 API elements (69.8 %) have documentation comments.
Some symbols that are missing documentation: flutter_mcp_server, flutter_mcp_server.CallToolResult.CallToolResult.new, flutter_mcp_server.CallToolResult.content, flutter_mcp_server.CallToolResult.isError, flutter_mcp_server.CallToolResult.isStreaming.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:flutter_mcp_server/flutter_mcp_server.dartthat imports:package:flutter_mcp_server/src/widgets/flutter_mcp_server_monitor_widget.dartthat imports:package:flutter_mcp_server/src/server/flutter_mcp_server.dartthat imports:package:flutter_mcp_common/flutter_mcp_common.dartthat imports:package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat declares support for platforms:Android,iOS,Linux,macOS.
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_server/flutter_mcp_server.dartthat imports:package:flutter_mcp_server/src/widgets/flutter_mcp_server_monitor_widget.dartthat imports:package:flutter_mcp_server/src/server/flutter_mcp_server.dartthat imports:package:flutter_mcp_common/flutter_mcp_common.dartthat imports:package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:flutter_mcp_server/flutter_mcp_server.dartthat imports:package:flutter_mcp_server/src/widgets/flutter_mcp_server_monitor_widget.dartthat imports:package:flutter_mcp_server/src/server/flutter_mcp_server.dartthat imports:package:flutter_mcp_common/flutter_mcp_common.dartthat imports:package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
Package does not support platform `Windows`.
Because:
package:flutter_mcp_server/flutter_mcp_server.dartthat imports:package:flutter_mcp_server/src/widgets/flutter_mcp_server_monitor_widget.dartthat imports:package:flutter_mcp_server/src/server/flutter_mcp_server.dartthat imports:package:flutter_mcp_common/flutter_mcp_common.dartthat imports:package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat declares support for platforms:Android,iOS,Linux,macOS.
Package does not support platform `Linux`.
Because:
package:flutter_mcp_server/flutter_mcp_server.dartthat imports:package:flutter_mcp_server/src/widgets/flutter_mcp_server_monitor_widget.dartthat imports:package:flutter_mcp_server/src/server/flutter_mcp_server.dartthat imports:package:flutter_mcp_common/flutter_mcp_common.dartthat imports:package:flutter_mcp_common/src/background/flutter_mcp_background_service.dartthat imports:package:flutter_background_service/flutter_background_service.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_mcp_server/flutter_mcp_server.dartthat imports:package:flutter_mcp_server/src/widgets/flutter_mcp_server_monitor_widget.dartthat imports:package:flutter_mcp_server/src/server/flutter_mcp_server.dartthat imports:package:flutter_mcp_common/flutter_mcp_common.dartthat imports:package:flutter_mcp_common/src/notification/flutter_mcp_notification_manager.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
ERROR: The argument type 'LogLevel' can't be assigned to the parameter type 'McpLogLevel'.
lib/src/server/flutter_mcp_server.dart:196:23
╷
196 │ _server.sendLog(LogLevel.info, 'Server started');
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/server/flutter_mcp_server.dart
ERROR: The argument type 'LogLevel' can't be assigned to the parameter type 'McpLogLevel'.
lib/src/server/flutter_mcp_server.dart:225:23
╷
225 │ _server.sendLog(LogLevel.info, 'Server stopping');
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/server/flutter_mcp_server.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
flutter_mcp_common |
^0.0.1 |
0.0.3 | 0.0.3 | |
logger |
^2.0.1 |
2.6.2 | 2.6.2 | |
mcp_server |
^0.1.1 |
0.1.9 | 1.0.3 | |
provider |
^6.0.5 |
6.1.5+1 | 6.1.5+1 | |
rxdart |
^0.27.7 |
0.27.7 | 0.28.0 | |
shared_preferences |
^2.5.2 |
2.5.4 | 2.5.4 | |
uuid |
^4.0.0 |
4.5.2 | 4.5.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.1.1` on mcp_server does not support the stable version `0.2.0`.
Try running dart pub upgrade --major-versions mcp_server to update the constraint.
The constraint `^0.27.7` on rxdart does not support the stable version `0.28.0`.
Try running dart pub upgrade --major-versions rxdart to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.