leancodepl/marionette_mcp

MCP server enabling AI agents to interact with Flutter apps at runtime - let them inspect widgets, simulate taps, enter text, scroll, and take screenshots.

What it solves

Marionette MCP bridges the gap between AI agents and running Flutter applications. It allows developers to give AI agents direct control over their app, enabling the agent to interact with the interface, verify behavior, and perform testing tasks automatically.

How it works

By adding the marionette_flutter package to your app, you create a connection that allows an MCP-compatible agent (like Claude Code or Cursor) to communicate with your app in debug mode. The agent uses a set of provided tools to "see" the screen, tap buttons, enter text, scroll, and read logs. It can also trigger hot reloads and generate detailed reports of its actions.

Who it’s for

This tool is designed for Flutter developers who want to automate manual testing, debugging, or UI verification workflows using AI agents. It is particularly useful for those who want to turn verified agent interactions into automated tests.

Highlights

  • Visual Interaction: Agents can "see" the screen, take screenshots, and identify interactive elements.
  • Full Control: Supports actions like tapping, typing, scrolling, pinching, and pressing hardware buttons.
  • Verification: Allows agents to check logs, adjust device configurations (like dark mode or text scale), and verify UI states.
  • Development Workflow: Enables hot reloads and hot restarts directly through agent commands.
  • Reporting: Automatically generates steps.md and report.md files to document every action taken during a session.
  • Extensible: Developers can register custom app actions to expand the agent's capabilities.

Related

  • Project
  • Project
  • Project
  • Project
  • Project