PackageTrack
Sign in Get early access

patrol_mcp

An MCP server that empowers AI assistants to control, automate, and monitor interactive Patrol development sessions in Flutter.

0.2.0 33K downloads/mo #1783 most downloaded on pub.dev leancodepl/patrol

What this package is like to depend on

Last release 27 days ago

28 Jul 2026

Ships fairly regularly

a new release about every 6 weeks

Nearly every release is documented

notes for 6 of 6 stable releases

Nothing withdrawn

no release was ever pulled

5 months old

6 releases · first in 2026

6 releases in the last 12 months

see the full history below

Release timeline

6 releases · Mar 2026 to Jul 2026
Release Pre-release

Releases

latest 6
  1. 0.2.0 28 Jul 2026
    Release notes Open source →
    Release notes
    • Multi-device support: run auto-selects a device (Android before iOS, real before emulator/simulator) or targets one you pass as device, and a new devices tool lists what's attached. A --device in PATROL_FLAGS still wins.
    • Simplified setup: drop the run-patrol wrapper and point your MCP config straight at dart run patrol_mcp; FVM-pinned projects use the pinned Flutter automatically. See the README.
    • More reliable runs and cleanup:
      • run returns a failed run instead of hanging when the app exits before the test finishes (needs patrol 4.7.0+); a timed-out run is distinguishable from a still-running one.
      • No orphaned processes — sessions are torn down on cancel, client disconnect, and shutdown; the server force-exits if teardown stalls.
      • screenshot and native-tree work with multiple devices attached.
      • quit isn't misreported as a crash, and errors clearly when there's no active session.
      • Structured output from run/status/native-tree; run works from a different working directory (PROJECT_ROOT); starts on Windows.
    Open source →
    Release notes
    • Add support for new features in maestro_test 0.2.0
    Open source →
  2. 0.1.4 21 May 2026
    Release notes
    • Relax patrol_cli constraint to ^4.3.0 so patrol_mcp resolves alongside any patrol version from 4.5.0 onward. Fixes the version-solving conflict with patrol ^4.6.0 reported in #3075.
    Open source →
    Release notes
    • Be more noisy when an error occurs

    • Change waiting timeout for native widgets from 10s to 2s

    Open source →
  3. 0.1.3 09 Apr 2026
    Release notes
    • Bump patrol_cli to 4.3.1.
    Open source →
    Release notes
    • Fix a bug which made flavor option required

    • Add --debug flag to maestro drive , which allows to use default, non-versioned artifacts from $MAESTRO_ARTIFACT_PATH

    Open source →
  4. 0.1.2 27 Mar 2026
    Release notes
    • Update README.
    Open source →
    Release notes
    • Fix typo in generated integration_test/app_test.dart

    • Depend on package:adb

    Open source →
  5. 0.1.1 26 Mar 2026
    Release notes
    • Fix dart formatting for full pub.dev score.
    • Add example and remove global executable entry.
    • Update README setup to use pub.dev dependency.
    Open source →
    Release notes
    • Set minimum Dart version to 2.16.

    • Fix links to package:leancode_lint in README

    Open source →
  6. 0.1.0 25 Mar 2026
    Release notes
    • Initial release.
    • MCP server for managing Patrol develop sessions.
    • Tools: run tests, take screenshots, get native view tree.
    Open source →
    Release notes
    • Add --template option for maestro bootstrap

    • Add --flavor options for maestro drive

    • Rename maestro config to maestro doctor

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive