flutter_profile_mcp 1.0.4
flutter_profile_mcp: ^1.0.4 copied to clipboard
MCP server for Flutter performance profiling — 27 AI-queryable tools via vm_service. Ask Claude why your app is slow.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flutter_profile_mcpUse it
The package has the following executables:
$ flutter-profile-mcp
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_profile_mcpThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_profile_mcp: ^1.0.4Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_profile_mcp/analysis/cpu_analyzer.dart';
import 'package:flutter_profile_mcp/analysis/jank_analyzer.dart';
import 'package:flutter_profile_mcp/analysis/rebuild_collector.dart';
import 'package:flutter_profile_mcp/server.dart';