Skip to content
pubscout

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.

$ flutter pub add flutter_agent_lens
Source repository

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.

Works with

Packages commonly used together with flutter_agent_lens: ones it builds on, ones built on it, and its own family.