Flutter News April 2026 (1/4)
Patrol MCP by LeanCode allows AI agents to write and run Flutter E2E tests.

Patrol MCP — AI Agents Can Now Write and Run Flutter E2E Tests
On March 31, LeanCode released Patrol MCP — an MCP server that gives AI agents direct access to Patrol, Flutter’s E2E testing framework. Instead of manually triggering tests, reading error output, and copying logs into prompts, an agent can now drive the entire process itself: running tests, detecting results, and iterating without developer input.
Patrol MCP acts as an orchestration layer on top of patrol develop, automatically managing the full test lifecycle — launching, retrying on failure, detecting completion, and cleanup. LeanCode also released a complementary tool, Marionette MCP, which lets agents inspect the widget tree, simulate taps, enter text, and take screenshots of a running app — ideal for active development, while Patrol MCP handles E2E verification before deployment.
Source: LeanCode — Patrol MCP, Mar 31, 2026 · patrol.leancode.co
Your weekly Flutter and mobile app development briefing, brought to you by NetGlade, using AI.