patrol_mcp 0.2.0
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:
runauto-selects a device (Android before iOS, real before emulator/simulator) or targets one you pass asdevice, and a newdevicestool lists what's attached. A--deviceinPATROL_FLAGSstill wins. - Simplified setup: drop the
run-patrolwrapper and point your MCP config straight atdart run patrol_mcp; FVM-pinned projects use the pinned Flutter automatically. See the README. - More reliable runs and cleanup:
runreturns a failed run instead of hanging when the app exits before the test finishes (needspatrol4.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.
screenshotandnative-treework with multiple devices attached.quitisn't misreported as a crash, and errors clearly when there's no active session.- Structured output from
run/status/native-tree;runworks from a different working directory (PROJECT_ROOT); starts on Windows.
0.1.4 #
- Relax
patrol_cliconstraint to^4.3.0sopatrol_mcpresolves alongside anypatrolversion from 4.5.0 onward. Fixes the version-solving conflict withpatrol ^4.6.0reported in #3075.
0.1.3 #
- Bump
patrol_clito4.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.