# flutter-mcp-toolkit
[](https://mcptoplist.com/server/glama%2FArenukvern%2Fmcp_flutter)
_Inspect and drive a running Flutter app from your AI assistant._
[](https://skills.sh/arenukvern/mcp_flutter)
[](https://pub.dev/packages/mcp_toolkit)
[](https://github.com/Arenukvern/mcp_flutter/actions/workflows/contract_gates.yml)
[](https://github.com/Arenukvern/mcp_flutter/actions/workflows/intentcall_eval.yml)
[](https://github.com/Arenukvern/mcp_flutter/actions/workflows/skill_assets_drift.yml)
[](https://docs.page/arenukvern/mcp_flutter/)
[](https://deepwiki.com/Arenukvern/mcp_flutter)
[](https://opensource.org/licenses/MIT)
[](https://flutter.dev)
[](https://smithery.ai/server/@Arenukvern/mcp_flutter)
[](https://registry.modelcontextprotocol.io/v0/servers/io.github.Arenukvern%2Fflutter-mcp-toolkit/versions)
[](https://github.com/Arenukvern/mcp_flutter#contributors-)

[](https://github.com/Arenukvern/skill_steward)
- ๐ **Docs:** [docs.page/arenukvern/mcp_flutter](https://docs.page/arenukvern/mcp_flutter/)
- ๐ค **Contribute:** [guide](docs/contributing/contribution_guide.mdx) ยท [contributors](docs/contributing/contributors.mdx) ยท [code of conduct](CODE_OF_CONDUCT.md) ยท [security](SECURITY.md)
`flutter-mcp-toolkit` is a Dart MCP server + Flutter package for AI agents (Codex, Zed, Cursor, Intent, Claude Code, Cline, and more). Agents can inspect a running Flutter app, take semantic snapshots, tap widgets, type into forms, hot-reload, and read logs. Apps can also register their own MCP tools and resources at runtime via MCP Toolkit โ all without leaving the conversation. The result is a closed feedback loop between agent and app.
And one step further: the toolkit is becoming a **chain of declarative automation APIs** โ the same observe/act/verify vocabulary runs through interactive MCP (`fmt_*`), the CLI, programmatic Dart scenarios (`flutter_mcp_harness`), and declarative build+lifecycle runners like [oka](https://github.com/Arenukvern/oka), all over the universal `AutomationDriver` contract. See [The Automation Chain](docs/start_here/automation_chain.mdx). (OpenAI describes this pattern as [harness engineering](https://openai.com/index/harness-engineering/).)

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.

## Get started in 4 steps
```bash
# 1. Install the binary
curl -fsSL https://raw.githubusercontent.com/Arenukvern/mcp_flutter/main/install.sh | bash
# Installs flutter-mcp-toolkit plus the short fmtk alias for repeated CLI loops.
# 2. Add the toolkit to your Flutter app
cd my-flutter-app
flutter-mcp-toolkit codegen-init # adds mcp_toolkit + emits main.dart snippet
# 3. Install skills for your AI agent
flutter-mcp-toolkit init claude-code # or: cursor | codex | cline | agents-skills | all
# Alternative (skills only): npx skills add Arenukvern/mcp_flutter -a cursor -y
# 4. Run
flutter run --debug
```
That's it. Your AI agent can now inspect and drive the running app โ and your app can expose **custom MCP tools at runtime** (see [Dynamic Tools Registration](#dynamic-tools-registration) below).
## ๐ฐ News
- **2026-10-02** โ 6.0.0 released: the **invoke tier** (ADR-0017) โ the app's intent registry is the single action source; the harness driver lists (`driver.actions()`) and invokes it (`InvokeAction`) with schema-validated args, `IntentAutomationAction.custom` routes hints, and any web surface (Jaspr, plain JS) composes via `window.__mcpActions`. `flutter_mcp_harness` 0.2.x on pub.dev; server 6.0.0 on the MCP registry.
- **2026-10-01** โ The toolkit is becoming a chain of declarative automation APIs: universal `AutomationDriver` contracts (`universal_automation_*`), the programmatic [`flutter_mcp_harness`](https://pub.dev/packages/flutter_mcp_harness) package, and [oka](https://github.com/Arenukvern/oka) as the build+lifecycle runner. New: [The Automation Chain](docs/start_here/automation_chain.mdx) guide + `flutter-mcp-automation-chain` skill.
- **2026-07-11** - v4 new Live Demos records: [v4 semantic snapshot etc.. with Grok Build CLI](https://youtu.be/P0ObCyt0k3M), [v4 with IntentCall power - WebMCP projection](https://www.youtube.com/watch?v=mX4xxVeImq0)
- **2026-05-26** โ v3.1.0: Platform-view capture routing, macOS/iOS Simulator host screenshots, web CDP tab capture (SCK โ CDP โ flutter_layer), and cross-platform showcase platform views.
## Install from marketplaces
| Platform | Command / link |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Any agent (recommended)** | `flutter-mcp-toolkit init