flutter_agent_lens 1.0.0 copy "flutter_agent_lens: ^1.0.0" to clipboard
flutter_agent_lens: ^1.0.0 copied to clipboard

Agent-first MCP server to debug, profile, and optimize running Flutter apps.

example/example.dart

import 'dart:io';

import 'package:dart_mcp/stdio.dart';
import 'package:flutter_agent_lens/flutter_agent_lens.dart';

/// Starts the Flutter Agent Lens MCP server over stdio.
///
/// Run a Flutter app in debug mode first, then launch this server and connect
/// your MCP client (e.g. Claude Desktop) to it.
///
/// ```bash
/// dart run example/example.dart
/// ```
void main() async {
  final server = FlutterAgentLensServer(
    channel: stdioChannel(input: stdin, output: stdout),
  );
  await server.done;
  exit(0);
}
10
likes
160
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Agent-first MCP server to debug, profile, and optimize running Flutter apps.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, dart_mcp, path, stream_channel, vm_service

More

Packages that depend on flutter_agent_lens