flutter-devtools-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| discover_appsA | Automatically discover running Flutter apps on this machine. Scans for Dart VM Service instances so you don't have to manually copy the URI. If an app is found, you can connect to it directly. |
| connectA | Connect to a running Flutter app via its VM Service URI. The URI is printed when you run |
| disconnectB | Disconnect from the currently connected Flutter app. |
| get_app_infoA | Get detailed information about the connected Flutter app including VM info, isolates, and available extensions. |
| get_widget_treeA | Get the current widget tree of the running Flutter app. Returns a structured representation of all widgets on screen. Widgets marked with ★ are from your project code (not framework widgets). |
| inspect_widgetA | Get detailed information about a specific widget by its ID (obtained from get_widget_tree). Returns render details, constraints, size, and state. |
| start_profilingA | Start a performance profiling session. After starting, interact with the app (scroll, tap, navigate) to generate activity, then call stop_profiling to get the analysis. The app should be running in profile mode ( |
| stop_profilingA | Stop the current profiling session and get a detailed performance analysis including frame timing, jank detection, CPU hotspots, build/layout/paint phase analysis, and actionable recommendations. |
| get_memory_snapshotA | Get a memory allocation profile of the running Flutter app. Shows heap usage, top memory-consuming classes, and potential leak indicators. |
| start_tracking_rebuildsA | Start tracking which widgets are rebuilding and how often. After starting, interact with the app, then call stop_tracking_rebuilds to see exactly which widgets rebuilt, how many times, and where they are in your code. This is the most effective way to find unnecessary rebuilds. |
| stop_tracking_rebuildsA | Stop tracking widget rebuilds and get a detailed report showing exactly which widgets rebuilt, how many times, and their source file locations. Sorted by rebuild count to highlight the most problematic widgets. |
| start_network_captureA | Start capturing HTTP network traffic from the running Flutter app. After starting, use the app to trigger API calls, then call stop_network_capture to see all requests with timing, status codes, and sizes. |
| stop_network_captureA | Stop capturing network traffic and get a detailed report of all HTTP requests including method, URL, status code, response time, and payload size. |
| save_snapshotA | Save a named memory snapshot for later comparison. Take a snapshot before making a code change, then take another after to see the impact. Use compare_snapshots to see the diff. |
| compare_snapshotsA | Compare two previously saved memory snapshots to see what changed. Shows heap usage diff, which classes grew or shrank, new allocations, and freed memory. Perfect for validating that a fix actually reduced memory usage. |
| list_snapshotsA | List all saved memory snapshots available for comparison. |
| hot_reloadA | Trigger a hot reload on the running Flutter app. Injects updated source code without restarting the app or losing state. |
| hot_restartA | Trigger a hot restart on the running Flutter app. Restarts the app from scratch but is faster than a full rebuild. |
| take_screenshotA | Capture a screenshot of the running Flutter app. Returns the screenshot as a base64-encoded PNG image. |
| toggle_debug_paintA | Toggle the debug paint overlay on the Flutter app. Shows widget borders, padding, and alignment guides. |
| evaluate_expressionB | Evaluate a Dart expression in the context of the running Flutter app. Useful for inspecting runtime values, checking state, or running diagnostics. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 21 tools
Each tool targets a distinct resource and action; connection lifecycle (discover_apps/connect/disconnect), widget inspection (get_widget_tree vs inspect_widget), and start/stop pairs are all clearly separated. The only mild overlap is among memory tools (get_memory_snapshot vs save_snapshot vs compare_snapshots), but descriptions clarify the distinction enough.
Strong verb_noun convention throughout (get_widget_tree, start_profiling, stop_network_capture, save_snapshot). A few tools are bare verbs (connect, disconnect, hot_reload, hot_restart) and some use verb_noun without a clear object noun, but the pattern is highly readable and predictable.
21 tools is on the heavier side but justified by the broad domain—connection lifecycle, profiling, memory, rebuild tracking, network capture, and app control. Each tool fills a genuine role, with the natural start/stop pairs accounting for several entries.
Coverage is comprehensive across discovery, inspection, profiling, memory diffing, network capture, rebuild tracking, and app control—no obvious workflow dead ends. Minor gaps exist around console/error-log capture, but core devtools needs are well covered.