Flutter Tools MCP Server

A Model Context Protocol server for Flutter/Dart tools

Local serverstdioTypeScript

What is the Flutter Tools MCP server?

Connect Flutter Tools to Claude, Cursor or any other MCP client and it stops being a tab you switch to. A Model Context Protocol server for Flutter/Dart tools. The flutter tools mcp server is what makes that connection.

What the server does

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.

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • get_diagnostics — The get_diagnostics tool exposed by this server
  • apply_fixes — The apply_fixes tool exposed by this server

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Flutter Tools's toolset — get_diagnostics, apply_fixes — is a fair guide to whether it matches your workflow. It is maintained by dkpoulsen; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
get_diagnosticsThe get_diagnostics tool exposed by this server.
apply_fixesThe apply_fixes tool exposed by this server.

How to install the Flutter Tools MCP server

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

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Flutter Tools to get diagnostics.
  • Use Flutter Tools to apply fixes.

Frequently asked questions

It connects Flutter Tools to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (get_diagnostics, apply_fixes) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Flutter Tools directly.