patrol_mcp 0.2.0 copy "patrol_mcp: ^0.2.0" to clipboard
patrol_mcp: ^0.2.0 copied to clipboard

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

0.2.0 #

  • 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.

0.1.4 #

  • 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.

0.1.3 #

  • Bump patrol_cli to 4.3.1.

0.1.2 #

  • Update README.

0.1.1 #

  • Fix dart formatting for full pub.dev score.
  • Add example and remove global executable entry.
  • Update README setup to use pub.dev dependency.

0.1.0 #

  • Initial release.
  • MCP server for managing Patrol develop sessions.
  • Tools: run tests, take screenshots, get native view tree.
29
likes
160
points
37.4k
downloads

Documentation

Documentation
API reference

Publisher

verified publisherleancode.co

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#testing #e2e #flutter-test #claude #ai

License

Apache-2.0 (license)

Dependencies

adb, args, dispose_scope, image, logging, mcp_dart, path, patrol_cli

More

Packages that depend on patrol_mcp