Airogel Editor
Build and inspect browser-based 3D games: projects, scenes, Lua scripts, assets and publishing.
作者提供的说明(英文原文)
Inspect and drive Flutter debug apps/games: semantic snapshots, search, and custom client tools
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"flutter-toolkit": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/arenukvern/flutter-mcp-toolkit:7.0.1"
]
}
}
}在终端中运行这条命令
claude mcp add flutter-toolkit -- docker run -i --rm ghcr.io/arenukvern/flutter-mcp-toolkit:7.0.1粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"flutter-toolkit": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/arenukvern/flutter-mcp-toolkit:7.0.1"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"flutter-toolkit": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/arenukvern/flutter-mcp-toolkit:7.0.1"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 Arenukvern 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(7.0.1)于21天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:Airogel Editor, Prospre, RSS.com MCP by usefulapi
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Build and inspect browser-based 3D games: projects, scenes, Lua scripts, assets and publishing.
Log food, plan meals, fix the diary, build the grocery list and move macro targets in Prospre.
Read podcasts and episodes; create and edit episodes, chapters and transcripts in RSS.com.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Tool names on MCP are prefixed with `fmt_`, binaries and mcpServers keys were renamed — see [Migrating from v2.x to v3.0](../docs/start_here/migration_v2_to_v3.mdx).
This project now uses a shared core execution layer:
flutter-mcp-toolkit is the canonical command surface (connect, inspect, execute, diagnostics). fmtk is the short alias for the same CLI entrypoint.flutter-mcp-toolkit-server is a thin MCP protocol adapter that maps MCP tool/resource calls to the same core executor.tools/call namespace. Resource URIs are unchanged.The shared core module is available as flutter_mcp_core inside this package.
Use this sequence first on macOS:
mcp_toolkit to the app and call MCPToolkitBinding.instance.bootstrapFlutter(...).fmtk validate-runtime (or the canonical long form flutter-mcp-toolkit validate-runtime).fmt_list_client_tools_and_resources, fmt_client_tool, fmt_client_resource.Treat exec as expert mode. validate-runtime is the default first-pass proof command.
The CLI is now agent-first and exposes a canonical interface:
exec --name --args schema [--name ]capabilitiesserve (JSON-RPC 2.0 over stdio)snapshot create --name [--args ]snapshot diff --from --to bundle create --from-snapshot [--output ]doctor [--json] [--target ] [--timeout-ms ]permissions status|request|open-settings [--kind visual_capture]Safe-write flags for write-producing commands:
snapshot create: --check --diff --backup --no-overwritebundle create: --check --diff --backup --no-overwriteexec targets commands in the shared CommandCatalog (CLI command names may be bare because they appear only after --name; the CLI is not the MCP tools/call namespace): connect, session_start, session_exec, session_end, diagnose, watch, explain_errors, status, discover_debug_apps, get_vm, get_extension_rpcs, hot_reload_flutter, hot_restart_flutter, get_active_ports, get_app_errors, get_screenshots, focus_window, get_view_details, inspect_widget_at_point, capture_ui_snapshot, debug_dump_layer_tree, debug_dump_semantics_tree, debug_dump_render_tree, debug_dump_focus_tree, fmt_list_client_tools_and_resources, fmt_client_tool, fmt_client_resource, dynamicRegistryStats, semantic_snapshot, tap_widget, long_press, enter_text, reveal_search, scroll, swipe, drag, hot_reload_and_capture, evaluate_dart_expression, get_recent_logs.
MCP names. When invoked via MCP
tools/call, exposed tools use the
fmt_capability prefix (e.g.fmt_tap_widget,
fmt_hot_reload_and_capture). The dynamic-registry host trio is exposed as
fmt_list_client_tools_and_resources,fmt_client_tool, and
fmt_client_resourcewhere enabled.dynamicRegistryStatsremains available
from the CLI catalog for low-level diagnostics and is not part of the default
MCP tool surface.
Interaction tools (catalog names: semantic_snapshot → tap_widget / enter_text / reveal_search / scroll / swipe / long_press / drag) follow a Playwright-style ref model: take a snapshot, then pass ref: "s_N" (and optional snapshotId for staleness detection) into the interaction tool. reveal_search is the bounded helper for off-screen semantic targets: it snapshots, matches one narrow selector, scrolls up to maxAttempts, and returns a fresh ref/snapshotId plus trace. hot_reload_and_capture fuses reload + screenshot + fresh snapshot + errors. evaluate_dart_expression runs an ad-hoc Dart expression against the app's root library. See docs/start_here/cli_quick_recipes.mdx and docs/guides/interaction_cookbook.mdx for the full surface and golden paths.
Packaged installs include both flutter-mcp-toolkit and fmtk; examples below use dart run for source-tree development. Prefer fmtk for compact local loops and keep flutter-mcp-toolkit in onboarding, install, PATH, and MCP config docs where the searchable canonical name helps.
CLI runs the same shared command catalog/executor as MCP. Preferred debugging path: discover_debug_apps -> capture_ui_snapshot -> inspect_widget_at_point. get_active_ports and dynamicRegistryStats remain available in CLI for low-level diagnostics, but are intentionally not MCP-exposed by default.
# introspection
dart run bin/flutter_mcp_toolkit.dart schema dart run bin/flutter_mcp_toolkit.dart capabilities
dart run bin/flutter_mcp_toolkit.dart exec --name status --args '{}' dart run bin/flutter_mcp_toolkit.dart exec --name get_vm --args '{}' dart run bin/flutter_mcp_toolkit.dart exec --name get_vm --args '{"connection":{"targetId":"ws://127.0.0.1:8181/ /ws"}}' dart run bin/flutter_mcp_toolkit.dart exec --name discover_debug_apps --args '{}' dart run bin/flutter_mcp_toolkit.dart exec --name capture_ui_snapshot --args '{"connection":{"targetId":"ws://127.0.0.1:8181/ /ws"}}' dart run bin/flutter_mcp_toolkit.dart exec --name inspect_widget_at_point --args '{"x":120,"y":220,"connection":{"targetId":"ws://127.0.0.1:8181/ /ws"}}'
dart run bin/flutter_mcp_toolkit.dart exec --name session_start --args '{"mode":"uri","uri":"ws://127.0.0.1:8181/ /ws"}' dart run bin/flutter_mcp_toolkit.dart exec --name session_exec --args '{"command":"get_app_errors","arguments":{"count":4}}' dart run bin/flutter_mcp_toolkit.dart exec --name session_end --args '{}'
dart run bin/flutter_mcp_toolkit.dart snapshot create --name baseline --args '{"commands":[{"name":"status","args":{}}]}' --check --diff dart run bin/flutter_mcp_toolkit.dart snapshot diff --from baseline --to after_fix dart run bin/flutter_mcp_toolkit.dart bundle create --from-snapshot baseline --backup
dart run bin/flutter_mcp_toolkit.dart doctor --json dart run bin/flutter_mcp_toolkit.dart permissions status dart run bin/flutter_mcp_toolkit.dart permissions request dart run bin/flutter_mcp_toolkit.dart permissions open-settings dart run bin/flutter_mcp_toolkit.dart exec --name get_extension_rpcs --args '{}'
dart run bin/flutter_mcp_toolkit.dart exec --name get_screenshots --args '{"mode":"desktop_window","permissionPolicy":"auto_request_once"}' dart run bin/flutter_mcp_toolkit.dart exec --name capture_ui_snapshot --args '{"screenshotMode":"auto","permissionPolicy":"auto_request_once"}'
dart run bin/flutter_mcp_toolkit.dart --save-images --output-dir .flutter_mcp/app validate-runtime \ --target ws://127.0.0.1:8181/ /ws \ --timeout-ms 10000 \ --post-reload-delay-ms 500 \ --after-reload
dart run bin/flutter_mcp_toolkit.dart --vm-service-uri ws://127.0.0.1:8181/ /ws validate-runtime \ --timeout-ms 10000
dart run bin/flutter_mcp_toolkit.dart validate-runtime \ --target ws://127.0.0.1:8181/ /ws \ --install-skill
CLI runtime gate for app inspection:
ext.mcp.toolkit.app_errors, ext.mcp.toolkit.view_details, ext.mcp.toolkit.view_screenshots, and ext.mcp.toolkit.inspect_widget_at_point from get_extension_rpcs.mcp_toolkit is installed, initialized, and the app is hot restarted or rerun.captureHints on get_view_details or screenshot payloads (platformViewsDetected or weakSignalsDetected). Use mode: desktop_window (or keep auto, which upgrades on macOS host when strong signals are present) instead of flutter_layer.desktopCaptureRetried in the payload). You can also call focus_window then retry get_screenshots with desktop_window.doctor --json --target --timeout-ms 10000.--output-dir is set, validate-runtime mirrors its JSON envelope to /validate-runtime.json and screenshot files are written under /.mcp_screenshots/.validate-runtime tries host desktop_window first when auto selects it. Executor recovery retries focus+capture once (desktopCaptureRetried). If desktop_window still fails, validate-runtime retries once with flutter_layer (including when platform views are detected, e.g. the showcase AppKitView). Check data.summary.capturePlatformViewsDetected, captureFocusAttempted, and captureFallbackUsed. Web headful capture options: ADR 0007.doctor stays read-only. It now reports visual_capture_backend, visual_capture_permission, visual_capture_truth_mode, and app_permission_bridge.auto_request_once for exec get_screenshots, exec capture_ui_snapshot, and validate-runtime. Raw command schemas still default to check_only.desktop_window (including iOS Simulator and Chrome / web on a Mac host). Screen Recording permission belongs to the host process running flutter-mcp-toolkit, not the Flutter app. Use permissions request for the native prompt and permissions open-settings after a denial.get_view_details and view_screenshots include captureHints when native platform views are detected (AndroidView, UiKitView, AppKitView, HtmlElementView, PlatformViewLink). Texture sets weakSignalsDetected with a soft warning (no auto upgrade). Hybrid engines without platform views can use MCPToolkitBinding.captureHintsContributor in the app.get_screenshots MCP responses include routing metadata in meta and a leading JSON text block when captureHints / warnings are present.AppKitView on macOS (make showcase), HtmlElementView on web (flutter run -d chrome). Use make showcase-stop before a new macOS run.chrome / web / web-server): desktop_window uses macOS ScreenCaptureKit → Chrome CDP (Page.captureScreenshot) → flutter_layer. Global flags: --web-browser-debugging-port, --web-port. Opt-in live test: RUN_WEB_CDP_INTEGRATION=1 dart test test/web_cdp_integration_test.dart. See ADR 0007.permissions or doctor can verify bridge-backed permission tools/resources. Use --target or the global --vm-service-uri when probing those platforms.desktop_window never silently falls back. auto may fall back to flutter_layer, but responses always report requestedMode, actualMode, permissionStatus, and fallbackReason.Troubleshooting:
flutter-mcp-toolkit permissions status first. If status is still denied, open System Settings from the CLI and grant Screen Recording to the terminal or client process you are using.doctor --json shows visual_capture_truth_mode=flutter_layer on macOS, you are not getting native window p只显示了开头部分;其余内容请在仓库中阅读