flutter-mcp-toolkit

MCP serverSearch

This integration lets your AI inspect and work with Flutter apps and games while they run in debug mode. Once it is added, your AI can see what is on screen, search through the app, and interact with it for you.

Unavailable. This server has no hosted endpoint yet, so Ahel can't serve it.

Add to setup to save this item as a reference. Ahel cannot run it, and signing in will not install it.

What your AI can do with it

  • Take snapshots of what a debug app or game is showing
  • Search through an app's screens and content
  • Interact with a running debug app or game on your behalf
  • Use custom tools set up for your app

Getting started

  1. Save this item in Your setup as a reference.
  2. Read the source or reference documentation for its setup requirements. Saving it here does not connect it to your AI.
  3. Check this page for availability before trying to install it through Ahel.

From the project's README

As published by arenukvern/mcp_flutter in README.md.

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

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; see OpenAI Agentic Harness for an example of this pattern.

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.

![NOTICE]: Version 4 is now stable. Earlier 4.0.0-dev.* builds were prerelease testing builds of the new architecture.

Get started in 4 steps

# 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 below).

πŸ“° News

Install from marketplaces

PlatformCommand / link
Any agent (recommended)flutter-mcp-toolkit init <agent> β€” see AI agent setup
Claude Code (git catalog)/plugin marketplace add Arenukvern/mcp_flutter then install flutter-mcp-toolkit
Codex (git catalog)codex plugin marketplace add Arenukvern/mcp_flutter
Cursor (local plugin)flutter-mcp-toolkit init cursor
Skills onlynpx skills add Arenukvern/mcp_flutter -a <agent> -y (add MCP via init or manual JSON)
MCP registriesOfficial MCP Registry β€” server io.github.Arenukvern/flutter-mcp-toolkit (OCI image: ghcr.io/arenukvern/flutter-mcp-toolkit), Smithery, MseeP

Docker / MCP Registry install

The official registry serves an OCI image from GHCR. Point any MCP client at it:

{
  "mcpServers": {
    "flutter-mcp-toolkit": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--network=host",
        "ghcr.io/arenukvern/flutter-mcp-toolkit:4.0.0"
      ]
    }
  }
}

See Docker guide for flags, version pinning, and networking notes.

Maintainers submitting to official stores: marketplace submission runbook. Full matrix: marketplace distribution.

Documentation

Published packages

PackagePub.devRole
mcp_toolkit Flutter app package for runtime MCP tools/resources and toolkit bootstrap.
flutter_mcp_toolkit_core Pure-Dart shared command/result/capability types.
flutter_mcp_toolkit_capability_kernel Capability kernel contracts for composable MCP units.
flutter_mcp_toolkit_capability_core Server-side fmt_* capability implementation.

The server binary lives in mcp_server_dart and is shipped through GitHub Release artifacts as flutter-mcp-toolkit, fmtk, and flutter-mcp-toolkit-server; it is not a pub.dev package.

Development support

NeedStart here
Contribute code or docsCONTRIBUTING.md Β· Contribution guide
Add or credit contributorsContributors guide Β· .all-contributorsrc
Report vulnerabilitiesSECURITY.md
Validate local changessteward probe --json --profile quick Β· make check-contracts
Maintain releasesRelease train notes Β· flutter-mcp-toolkit-repo-maintainer
Install or update agent skillsAI agent setup Β· Marketplace distribution

What it does

The default toolkit surface exposes 30 MCP tools under the fmt_* capability prefix across four categories:

  • Inspection β€” semantic snapshot, view details, errors, screenshots, VM info
  • Interaction β€” tap, scroll, type, fill forms, hot-reload, navigate, wait_for
  • Debug β€” recent logs, evaluate Dart expressions
  • Lifecycle β€” discover apps, hot-reload, hot-restart

See the flutter-mcp-toolkit-{guide,inspect,control,debug} skills for the full reference (installed by flutter-mcp-toolkit init or npx skills add Arenukvern/mcp_flutter). Install options: AI agent setup.

Dynamic Tools Registration

Flutter apps can register custom tools and resources at runtime. See how it works in this short YouTube video. The same arguments.connection targeting is supported by the CLI's exec, batch, daemon command/execute, daemon watch/start, and snapshot step args.

[!NOTE] There is official MCP Server for Flutter from Flutter team which exposes Dart tooling. The main goal of this project is to bring power of MCP server tools by creating them in Flutter app, using dynamic MCP tools registration and close feedback loop for AI Agent. See how it works in short YouTube video. See Quick Start for more details. See original motivation behind the idea.

⚠️ Note on Dump RPCs

Dump RPC methods (like dump_render_tree) can produce huge token output and are disabled by default. Enable with --dumps. See mcp_server_dart README for the full flag surface.

πŸ”’ Security

Generally, since you use MCP server to connect to Flutter app in Debug Mode, it should be safe to use. However, I still recommend to review how it works in ARCHITECTURE.md, how it can be modified to improve security if needed.

This MCP server is verified by MseeP.ai.

πŸ”§ Troubleshooting

  1. Connection Issues

    • Ensure your Flutter app is running in debug mode
    • Verify the port matches in both Flutter app and MCP server
    • Check if the port is not being used by another process
    • Safest explicit targeting: use arguments.connection.uri and paste exact Flutter machine app.debugPort.wsUri
    • If response includes connection_selection_required, retry with arguments.connection.targetId using one URI from availableTargets (or set arguments.connection.uri directly)
  2. AI Tool Not Detecting Inspector

    • Restart the AI tool after configuration changes
    • Verify the configuration JSON syntax
    • Check the tool's logs for connection errors
  3. Dynamic Tools Not Appearing

    • Ensure mcp_toolkit package is properly initialized in your Flutter app
    • Check that tools are registered using MCPToolkitBinding.instance.addEntries()
    • Use fmt_list_client_tools_and_resources to verify registration
    • Hot reload your Flutter app after adding new tools

The Flutter MCP Server is registered with Smithery's registry, making it discoverable and usable by other AI tools through a standardized interface.

Integration Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                 β”‚     β”‚  Flutter App with     β”‚     β”‚                 β”‚
β”‚  Flutter App    β”‚<--->β”‚  mcp_toolkit          β”‚<--->β”‚ flutter-mcp-    β”‚
β”‚  (Debug Mode)   β”‚     β”‚  (VM Svc. Extensions  β”‚     β”‚ toolkit-server  β”‚
β”‚                 β”‚     β”‚  + Dynamic Tools)     β”‚     β”‚                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

🀝 Contributing

Contributions are welcome! See CONTRIBUTING.md (maintainer releases, binary checksums) and the contribution guide. Pull requests and issues: GitHub.

✨ 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.

Shortened here. Read the whole README on GitHub.

Signals

GitHub stars
385
Forks
46
Last commit
Oct 2026
Advanced
Delivery
flutter-mcp-toolkit MCP server β†’ your Ahel connector (mcp.ahel.ai) β†’ your AI.
Item type
mcp-server
Key
io-github-arenukvern-flutter-mcp-toolkit
Source
github.com/arenukvern/mcp_flutter