Skill

dart-mcp-tools

Install
1
Install the plugin
$
npx claudepluginhub xmgrex/ccx-arsenal --plugin pdca-debug-suite

Want just this skill?

Add to a custom plugin, then install with one command.

Description

Dart/Flutter MCP tools reference for app lifecycle, hot reload/restart, logging, widget inspection, and code analysis. Use when debugging Flutter applications.

Tool Access

This skill uses the workspace's default tool permissions.

Skill Content

Dart MCP Tools

Dart/Flutter開発向けMCPツールリファレンス。

Device Management

ToolPurpose
mcp__dart__list_devices利用可能なデバイス/シミュレーター/エミュレーターを一覧表示
mcp__dart__list_running_apps実行中のFlutterアプリを一覧表示

App Lifecycle

ToolPurpose
mcp__dart__launch_appFlutterアプリをデバイスで起動
mcp__dart__stop_app実行中のFlutterアプリを停止
mcp__dart__hot_reloadHot reload(状態を維持してコード反映)
mcp__dart__hot_restartHot restart(状態をリセットして再起動)

Debugging & Logs

ToolPurpose
mcp__dart__get_app_logsアプリケーションログを取得
mcp__dart__get_runtime_errorsランタイムエラーを取得
mcp__dart__connect_dart_tooling_daemonDartツーリングデーモンに接続

Widget Inspection

ToolPurpose
mcp__dart__get_widget_treeWidgetツリー構造を取得
mcp__dart__get_selected_widget選択中Widgetの詳細を取得
mcp__dart__set_widget_selection_modeWidget選択モードを有効化
mcp__dart__get_active_locationアクティブなコード位置を取得

Code Quality

ToolPurpose
mcp__dart__analyze_filesDart analyzerを実行
mcp__dart__dart_fix自動修正を適用
mcp__dart__run_testsテストを実行

Typical Workflow

1. mcp__dart__list_devices        # デバイス確認
2. mcp__dart__launch_app          # アプリ起動
3. (コード変更)
4. mcp__dart__hot_restart         # 再起動
5. mcp__dart__get_app_logs        # ログ取得
6. 分析・修正・繰り返し

Tips

Hot Reload vs Hot Restart

Hot ReloadHot Restart
UI変更、レイアウト調整initState変更、状態クラス変更
状態維持クリーンな状態でテスト
高速やや遅い

Log Capture

  1. hot_restart で古いログをクリア
  2. 1アクションを実行
  3. 即座に get_app_logs で取得
  4. ノイズが少なく分析しやすい

Widget Tree Debugging

  1. set_widget_selection_mode で選択モード有効化
  2. デバイス上でWidgetをタップ
  3. get_selected_widget で詳細取得
  4. get_active_location でソースコード位置を特定
Stats
Stars1
Forks0
Last CommitJan 30, 2026
Actions

Similar Skills