flutter_agent_lens
1.8.2, released 4 weeks ago by an unverified publisher
MCP server connecting AI assistants to running Flutter applications for debugging.
What it does
Connects AI assistants like Claude or Cursor to running Flutter apps via the Dart VM Service over WebSockets. Provides tools to inspect widget trees, track rebuild frequencies, profile CPU and memory, capture network traffic, and read console logs.
AI-written summary of version 1.8.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to use AI assistants to debug, profile, or optimize running Flutter apps
- You need to inspect widget hierarchies, memory allocations, and performance metrics from an external LLM tool
Skip it when
- Your application only runs in release mode (VM Service is disabled)
- You are not using an MCP-compatible assistant
Strengths
- Direct integration with AI tools via Model Context Protocol
- Comprehensive coverage of debugging capabilities including memory audits, jank diagnostics, and network capture
Weaknesses
- Requires debug or profile mode to function
- Dependent on external AI client configuration (e.g., Claude Desktop or Cursor)
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 7
Activate globally via 'dart pub global activate flutter_agent_lens' and configure your MCP client JSON.
{
"mcpServers": {
"flutter_agent_lens": {
"command": "flutter-agent-lens"
}
}
}Alternatives
Packages that do the same job and could replace flutter_agent_lens.
- sentry_dart_plugin
Uploads debug symbols and source maps to Sentry for server-side symbolication.
89Compare - fdb
CLI for AI agents to interact with running Flutter apps on device.
74Compare - fluttersdk_telescope
Passive runtime inspector for Flutter capturing HTTP, logs, exceptions, and DB queries.
73Compare
Works with
Packages commonly used together with flutter_agent_lens: ones it builds on, ones built on it, and its own family.
- vm_serviceflutter_agent_lens depends on itA library to communicate with a service implementing the Dart VM service protocol.
- argsflutter_agent_lens depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- stream_channelflutter_agent_lens depends on itAn abstraction for two-way communication channels based on the Dart Stream class.
- imageflutter_agent_lens depends on itPure Dart library to load, manipulate, encode, and decode various image formats.
- dtdflutter_agent_lens depends on itClient library for communicating with the Dart Tooling Daemon (DTD).
- dart_mcpflutter_agent_lens depends on itA Dart library for building Model Context Protocol (MCP) servers and clients.