Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Flutter Tools

FreeNot checked

Integrates with the Flutter SDK to analyze and fix Dart/Flutter files, enabling automated code analysis and improvement suggestions for Flutter development.

GitHubEmbed

About

Integrates with the Flutter SDK to analyze and fix Dart/Flutter files, enabling automated code analysis and improvement suggestions for Flutter development.

README

Overview

The flutter-tools MCP server provides tools for interacting with the Flutter SDK. It offers two main tools: get_diagnostics and apply_fixes. These tools help in analyzing and fixing Dart/Flutter files.

Tools

get_diagnostics

Description: Get Flutter/Dart diagnostics for a file.

Input Schema:

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

Example Usage:

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

apply_fixes

Description: Apply Dart fix suggestions to a file.

Input Schema:

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

Example Usage:

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

Dependencies

  • @modelcontextprotocol/sdk: ^1.0.0
  • node-pty: ^1.0.0
  • which: ^4.0.0

Dev Dependencies

  • @types/node: ^18.19.0
  • @types/which: ^3.0.3
  • typescript: ^5.3.3

Scripts

  • build: Compiles the TypeScript code and sets the executable permissions on the compiled JavaScript file.
  • prepare: Runs the build script.
  • watch: Compiles the TypeScript code and watches for changes, recompiling automatically.

Installation

To install the MCP server, add the following configuration to your MCP settings file:

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

Replace /path/to/flutter-tools/build/index.js with the actual path to the compiled JavaScript file.

Usage

  1. Ensure the Flutter SDK is installed and available in your PATH.
  2. Start the MCP server using the configured command.
  3. Use the get_diagnostics and apply_fixes tools as needed.

Example

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

from github.com/dkpoulsen/flutter-tools

Installing Flutter Tools

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/dkpoulsen/flutter-tools

FAQ

Is Flutter Tools MCP free?

Yes, Flutter Tools MCP is free — one-click install via Unyly at no cost.

Does Flutter Tools need an API key?

No, Flutter Tools runs without API keys or environment variables.

Is Flutter Tools hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Flutter Tools in Claude Desktop, Claude Code or Cursor?

Open Flutter Tools on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Flutter Tools with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs