Package selection guidance compiled from public package information, community data, and project usage.
Patrol MCP is a server-side package that enables AI assistants to manage, automate, and monitor interactive development sessions in Flutter applications. Built for developers using Patrol, it integrates voice input, speech-to-text (STT), and text-to-speech (TTS) capabilities to streamline testing and debugging workflows. The server runs on Linux, macOS, and Windows, allowing seamless control of Flutter app interactions through natural language commands. It enhances productivity by enabling hands-free operation during development cycles.
Use cases
Automated UI testing with voice commands
Hands-free debugging during development
Real-time monitoring of Flutter app behavior
Voice-controlled session automation
Integration with AI-powered development assistants
Key features
Voice-driven control of Flutter sessions
Support for STT and TTS integration
Cross-platform server deployment
Real-time interaction monitoring
Seamless Patrol ecosystem integration
Suitable for
Flutter developers using Patrol
AI-assisted development teams
Test automation engineers
Accessibility-focused development workflows
DevOps environments prioritizing efficiency
Considerations
Requires Patrol setup for full functionality
Limited to Flutter development context
Needs compatible AI assistant infrastructure
Platform-specific server configuration required
May require additional network setup for remote access
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Patrol
A powerful, multiplatform E2E UI testing framework for Flutter apps that overcomes the limitations of integration_test by handling native interactions. Developed by LeanCode since 2022, battle-tested and shaped by production-grade experience.
Patrol is an open-source framework created and maintained by LeanCode.
However, if your company wants to scale fast and accelerate Patrol’s
adoption, we offer a set of value-added services on top of the core framework.
[!NOTE]
Patrol 4.7.0 adds Swift Package Manager support for iOS and macOS!
If you migrate your project to SPM, a few small setup changes are needed — see the iOS setup guide for details.
Patrol custom finders
Flutter's finders are powerful, but not very intuitive to use.
We took them and made something awesome.
Thanks to Patrol's custom finders, you'll take your tests from this:
Flutter's default integration_test package can't interact with the OS your
Flutter app is running on. This makes it impossible to test many critical
business features, such as:
granting runtime permissions
signing into the app which through WebView or Google Services
The CLI is needed to enable Patrol's native automation feature in integration
tests. It also makes development of integration tests much faster thanks to [Hot
Restart].
To run widget tests, you can continue to use flutter test.
See .github/WORKFLOWS.md for detailed documentation about all GitHub Actions workflows, including test schedules, Flutter versions, and deployment pipelines.