Skip to main content
Glama
dkpoulsen

Flutter Tools MCP Server

by dkpoulsen

FlutterツールMCPサーバー

概要

flutter-tools MCPサーバーは、Flutter SDKと連携するためのツールを提供します。get_diagnosticsとapply_fixes get_diagnosticsつの主要なツールが提供されています。これらのツールは、Dart/Flutterファイルの分析と修正に役立ちます。

Related MCP server: Pub.dev MCP Server

ツール

診断情報を取得する

**説明:**ファイルの Flutter/Dart 診断を取得します。

入力スキーマ:

{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "Path to the Dart/Flutter file"
    }
  },
  "required": ["file"]
}

使用例:

{
  "name": "get_diagnostics",
  "arguments": {
    "file": "/path/to/your/file.dart"
  }
}

修正を適用する

説明: Dart 修正提案をファイルに適用します。

入力スキーマ:

{
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "Path to the Dart/Flutter file"
    }
  },
  "required": ["file"]
}

使用例:

{
  "name": "apply_fixes",
  "arguments": {
    "file": "/path/to/your/file.dart"
  }
}

依存関係

  • @modelcontextprotocol/sdk : ^1.0.0

  • node-pty : ^1.0.0

  • which :^4.0.0

開発依存関係

  • @types/node : ^18.19.0

  • @types/which : ^3.0.3

  • typescript :^5.3.3

スクリプト

  • build : TypeScript コードをコンパイルし、コンパイルされた JavaScript ファイルに実行権限を設定します。

  • prepare : buildスクリプトを実行します。

  • watch : TypeScript コードをコンパイルし、変更を監視して自動的に再コンパイルします。

インストール

MCP サーバーをインストールするには、MCP 設定ファイルに次の構成を追加します。

{
  "mcpServers": {
    "flutter-tools": {
      "command": "node",
      "args": ["/path/to/flutter-tools/build/index.js"],
      "env": {}
    }
  }
}

/path/to/flutter-tools/build/index.jsを、コンパイルされた JavaScript ファイルへの実際のパスに置き換えます。

使用法

  1. Flutter SDK がインストールされ、PATH で使用可能であることを確認します。

  2. 設定されたコマンドを使用して MCP サーバーを起動します。

  3. 必要に応じて、 get_diagnosticsおよびapply_fixesツールを使用します。

node /path/to/flutter-tools/build/index.js

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to search, analyze, and retrieve detailed information about Dart and Flutter packages from pub.dev. Supports package discovery, version management, dependency analysis, and documentation access.
    6
    22
    5
    MIT
  • A
    license
    C
    quality
    C
    maintenance
    Enables comprehensive control of Android devices via ADB for Flutter development, UI testing, and visual QA workflows. Provides 60+ tools for device management, UI inspection, app testing, performance profiling, and debugging through natural language.
    77
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dkpoulsen/flutter-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server