跳到正文
FunCoding

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.

Star
401
许可证
MIT
最近提交
2026年11月27日
flutter-mcp-toolkit logo

flutter-mcp-toolkit

MCP Toplist

Inspect and drive a running Flutter app from your AI assistant.

skills.sh pub: mcp_toolkit Contract Gates intentcall eval gates skill-assets-drift release train release engine: dart_changesets Docs Ask DeepWiki License: MIT Flutter Official MCP Registry Glama MCP All Contributors maintained with Skill Steward

Docs: docs.page/arenukvern/mcp_flutter · llms.txt · Contribute: guide

flutter-mcp-toolkit is a Dart MCP server plus the mcp_toolkit Flutter package. An agent can discover your debug app, read semantic UI snapshots, tap and type, hot-reload, and call custom tools your app registers at runtime — a closed loop with runtime proof instead of guessing.

Watercolor comic infographic explaining flutter-mcp-toolkit: install fmtk, add it to a Flutter app, connect an AI agent, then inspect, tap, reload, and prove changes in a closed feedback loop.

The picture's story: the toolkit gives an AI assistant a shared window and control loop into a running Flutter app, so it can inspect state, act like a user, hot reload, read proof, and use custom tools from your app instead of guessing.

Screen recording of the flutter-mcp-toolkit harness driving a debug Flutter app and returning UI frames to an AI assistant.

See it in Cursor (~6 MB)

An early capture of the toolkit in Cursor: the agent grabs a screenshot of a running debug app and reads the UI back. Today's tool is fmt_get_screenshots; a fresh recording is coming with the demo rethink.

Early screen recording of Cursor's agent calling the toolkit's screenshot tool (then named view_screenshots) on a running Flutter debug app and describing the captured UI.

See it in action

Existing walkthroughs (YouTube):

  • Dynamic tools in Cursor — short video
  • Grok Build (2026, June) — video
  • IntentCall / WebMCP projection — video
  • Cursor MCP setup — video

Full list and suggested watch order: Video walkthroughs.

Evaluate in 30 seconds

QuestionAnswer
What is it?MCP server (flutter-mcp-toolkit-server) + in-app mcp_toolkit bootstrap over the VM service.
What can an agent do?Inspect UI/errors, drive widgets, reload, screenshots (Flutter render pipeline), dynamic app tools.
When to use this vs Dart MCP?Dart MCP: Dart/Flutter tooling (analyzer, tests). This toolkit: a running debug app (UI + your app-defined tools).
When not to use it?Release builds, no debug VM, or you only need static analysis — use Dart MCP or CI instead.
Supported install targetsRelease binaries: macOS Apple Silicon and Linux x64 (details). Intel macOS is not supported.
Fastest proofQuickstart → doctor → agent calls fmt_discover_debug_apps + fmt_semantic_snapshot.
Tool listGenerated: docs/reference/tools.mdx (regenerate with make docs-reference).

Five-minute quickstart

1. Marketplace (recommended) — see client setup:

Claude Code: /plugin marketplace add Arenukvern/mcp_flutter
             /plugin install flutter-mcp-toolkit@flutter-mcp-toolkit
Cursor:      flutter-mcp-toolkit init cursor   # needs CLI on PATH — install script first
Codex:       codex plugin marketplace add Arenukvern/mcp_flutter

2. Install script (recommended for server + CLI on PATH) — curl:

curl -fsSL https://raw.githubusercontent.com/Arenukvern/mcp_flutter/main/install.sh | bash

2b. Claude Desktop (MCPB) — install flutter-mcp-toolkit.mcpb from the latest release: one bundle with macOS (Apple Silicon) + Linux x64 server binaries, installed directly by MCPB-aware clients. The bundle does not include the flutter-mcp-toolkit CLI — steps 3–4 still need it, so keep the install script too. macOS binaries are unsigned — clear the quarantine attribute if Gatekeeper blocks them (details).

3. Instrument the app — cd my_flutter_app && flutter-mcp-toolkit codegen-init (paste main() snippet before runApp).

4. Run and verify — flutter run --debug then flutter-mcp-toolkit doctor.

Connect the MCP server in your host (flutter-mcp-toolkit-server on stdio). Example for Claude Code:

claude mcp add flutter-mcp-toolkit -- flutter-mcp-toolkit-server

First agent prompt: “Discover debug Flutter apps, connect, and return a semantic snapshot.”

Full steps: docs/quickstart.mdx.

Screen recording of flutter-mcp-toolkit exec invoking a fmt_* tool against a connected debug app

What do you want to do?

GoalStart here
See what is on screenSee the UI
Tap, type, scrollDrive the UI
Debug errors + reload loopDebug a running app
Custom MCP tools in your appCustom tools
Scripts / CI one-shotsCI and scripts
Checked-in E2EE2E scenarios
Several apps at onceMultiple apps

Harness automating a Flutter web debug target through flutter_mcp_harness

Packages

PackageRole
mcp_toolkitFlutter app bootstrap, VM extensions, dynamic tools
flutter_mcp_toolkit_core / capability_*Shared contracts and fmt_* server capabilities
flutter_mcp_harnessProgrammatic automation (packages/harness)

Server binary: GitHub Releases (flutter-mcp-toolkit, fmtk, flutter-mcp-toolkit-server) — not on pub.dev. See mcp_server_dart/README.md.

News (recent)

  • 2026-11 — Docs-first refresh, generated tool reference, registry publish hardening.
  • 2026-10-02 — 6.0.0 invoke tier / harness composition (automation chain).

Older releases: CHANGELOG.md.

Security & trust

Debug-mode only by design. Overview: how it works. Assessed by MseeP.ai.

MseeP.ai Security Assessment Badge

Listings: official MCP Registry, Glama, MseeP, and marketplace installs above.

Contributing

CONTRIBUTING.md · contribution guide · make check-contracts before PRs.

✨ Contributors

Huge thanks to all contributors for making this project better!

This roster is maintained with all-contributors. To add someone, update .all-contributorsrc and regenerate the README table, or use the all-contributors bot/CLI from a PR. More detail: docs/contributing/contributors.mdx.

Henry Mao
Henry Mao

🚇
Marwen
Marwen

📖
Lawrence Sinclair
Lawrence Sinclair

📖 🛡️
Frank Fiegel
Frank Fiegel

🚇
Harish Anbalagan
Harish Anbalagan

📓 🐛
Torben Keller
Torben Keller

📓 🐛
Isfun
Isfun

📓 🐛 🔬 💻
Cosy Studio
Cosy Studio

📓 🐛 🔬
Luke Memet
Luke Memet

📓 🔬 🚧 ✅
Commentatk Media
Commentatk Media

💻 🚧 📖
Umit Arslan
Umit Arslan

💻 🚧
Joel Kitching
Joel Kitching

💻 🚧
Jean-Luc Thumm
Jean-Luc Thumm

🚧
Miguel Casagrande
Miguel Casagrande

💻 🚧
drown0315
drown0315

💻 🚧 🐛
druyang
druyang

💻 🚧 🐛
dipsy
dipsy

💻 🚧 🐛
wenyue
wenyue

💻 🚧
Christophe
Christophe

📖 📦
Piotr Mitkowski
Piotr Mitkowski

💻 🚧 🐛
Kuljeet Singh
Kuljeet Singh

💻 🚧 🐛

📖 Learn More

Star History

Star History Chart

📄 License

MIT - Feel free to use in your projects!


Flutter and Dart are trademarks of Google LLC.

同类 MCP Server

官方

Memory

Knowledge graph-based persistent memory system

MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star

Honcho

Memory that reasons: continual learning for stateful agents. Better context, fewer tokens.

PLplastic-labs/honcho8.4k近 7 天新增 102 个 star

PDF Craft

Convert scanned PDFs to Markdown or EPUB, and translate PDF and EPUB books via MCP.

OOoomol-lab/pdf-craft6.8k近 7 天新增 35 个 star

精选

gemini-notebook-mcp-cli

命令行和 MCP Server 访问 Gemini Notebook。

JAjacob-bd/gemini-notebook-mcp-cli6.6k近 7 天新增 78 个 star

精选

Zotero MCP

在智能体里搜索、阅读和引用 Zotero 文献库中的论文。

5454yyyu/zotero-mcp6.1k近 7 天新增 97 个 star