Marionette MCP: Give AI control of your Flutter app
summary
Open-source Marionette MCP runs a local MCP server that connects to a debug Flutter app via the VM service so an LLM can observe the running widget tree (not raw pixels) and execute taps, text entry, scrolls, hot reloads and custom Dart extensions. It exposes get interactive elements instead of the full tree (reduces dumps from ~150k tokens to ~3.6k), adds compact mode for lower cost, and in demos implements and verifies a new “personal note” feature end-to-end in minutes; a CLI variant exists for locked-down environments.
AI-written summary · about
chapters (12)
- 0:00Introduction and background
- 1:02Verification in AI agents
- 3:10Origin of Marionette MCP
- 6:49Why pixels are a bad API
- 8:59How Marionette works
- 11:49Eyes and hands tools
- 13:35Closing the agent loop
- 17:06Real-life demo use case
- 21:41Decision models with Marionette
- 27:03Cost and performance benefits
- 28:50Enterprise and alternatives
- 29:11Closing and call to action
