glint_mcp 0.7.0
glint_mcp: ^0.7.0 copied to clipboard
MCP server that lets AI agents drive running Flutter apps on simulators, emulators and iPhones, with zero app code, render-tree perception and real input.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate glint_mcpUse it
The package has the following executables:
$ glint
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add glint_mcpWith Flutter:
$ flutter pub add glint_mcpThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
glint_mcp: ^0.7.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:glint_mcp/glint.dart';
import 'package:glint_mcp/instructions.dart';
import 'package:glint_mcp/interaction.dart';
import 'package:glint_mcp/mcp.dart';
import 'package:glint_mcp/observability.dart';
import 'package:glint_mcp/perception.dart';
import 'package:glint_mcp/runtime.dart';
import 'package:glint_mcp/semantic.dart';