Arenukvern/mcp_flutter
MCP Toolkit for Flutter AI Agent Driven Development (MCP/CLI + custom client side tools) - via closed feedback loop (visual & semantic snapshot) and high client side customization adaptable for any Flutter app. Nowadays it is often called as agentic harness.
What it solves
AI assistants often work blind when dealing with mobile apps. This toolkit solves that by letting an AI agent inspect a running Flutter app's state, take semantic snapshots, interact with widgets (tap, type), hot-reload, and read logs — all without leaving the chat conversation. It also enables the app itself to register custom tools, so the agent can call app-specific actions at runtime.
How it works
The project consists of two main parts: a Dart MCP server (the binary flutter-mcp-toolkit) and a Flutter package (mcp_toolkit). The server connects to a running Flutter app in debug mode and exposes 31 MCP tools (grouped under fmt_* prefixes) across four categories: inspection, interaction, debug, and lifecycle. For example, it can take a semantic snapshot, tap a widget, type into a form, hot-reload, and fetch logs. The app can also register its own custom MCP tools at runtime. The toolkit is also evolving into a chain of declarative automation APIs, where the same observe/act/verify vocabulary works across interactive MCP tools, a CLI, a programmatic Dart harness (flutter_mcp_harness), and a build/lifecycle runner called oka, all driven by a universal AutomationDriver contract.
Who it’s for
Flutter developers who want to give AI coding assistants (like Codex, Zed, Cursor, Intent, Claude Code, Cline) the ability to inspect and drive their app during development. It's also for teams building automation pipelines, since the same vocabulary can be reused in scripts, CI, or repeated test scenarios.
Highlights
- 31 MCP tools (with optional debug tools) to inspect, interact, debug, and manage lifecycle of a running Flutter app.
- Dynamic tool registration: Flutter apps can expose their own MCP tools and resources at runtime.
- Works with popular AI agents: Claude Code, Cursor, Codex, Cline, Zed, and more.
- Part of a broader "automation chain" that unifies interactive MCP, CLI, programmatic Dart scenarios, and a build/lifecycle runner under a single observe/act/verify vocabulary.
Related
- Project
- Project
- Project
- Project
- Project