Flutter Tools

by dkpoulsen

3 stars
390 downloads
Not rated
GitHub

About

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

Details

Author
dkpoulsen
Repository
dkpoulsen/flutter-tools
GitHub stars
3
Downloads
390
Categories
Developer Tools, Other, Productivity, Design, File Management, AI, Automation
Tags
#integration, #mobile

- Get diagnostics for a Dart/Flutter file with get_diagnostics.
- Apply Dart fix suggestions to a file with apply_fixes.
- Integrates with MCP for AI‑assisted development workflows.
- Written in TypeScript and compiled to JavaScript.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Flutter Tools
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/flutter-tools/build/index.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

get_diagnostics

Get Flutter/Dart diagnostics for a file. Parameters: file (string) - Path to the Dart/Flutter file.

apply_fixes

Apply Dart fix suggestions to a file. Parameters: file (string) - Path to the Dart/Flutter file.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

Linux

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

Macos

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

Windows

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

Theflutter-toolsMCP server provides tools for interacting with the Flutter SDK. It offers two main tools:get_diagnosticsandapply_fixes. These tools help in analyzing and fixing Dart/Flutter files.

Description:Get Flutter/Dart diagnostics for a file.

{ "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" } }

Description:Apply Dart fix suggestions to a file.

{ "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: Compiles the TypeScript code and sets the executable permissions on the compiled JavaScript file.
- prepare: Runs thebuildscript.
- watch: Compiles the TypeScript code and watches for changes, recompiling automatically.

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.jswith the actual path to the compiled JavaScript file.
- Ensure the Flutter SDK is installed and available in your PATH.
- Start the MCP server using the configured command.
- Use theget_diagnosticsandapply_fixestools as needed.

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

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Open-source TypeScript to native Swift compiler for Apple platforms — AI agents write 5-15x less code for App Intents, SwiftUI, and WidgetKit.

A real-time MCP server providing Flutter/Dart documentation and pub.dev package information to AI assistants, supporting over 50,000 packages on demand.

A Model Context Protocol (MCP) server for Flutter packages, designed to integrate with AI assistants like Claude.

22 tools for 3D and AR development — generates correct, compilable SceneView code for Android (Jetpack Compose) and iOS (SwiftUI). 858 tests.

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

Local stdio MCP server that lets AI coding agents read and maintain structured architecture, rules, and decisions directly from your repository.

Official Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.

Remote, no-auth MCP server providing AI-powered codebase context and answers

Extentos is a multi-vendor development platform for adding smart-glasses capabilities to existing iOS and Android apps. The simplest analogy is Stripe for smart glasses

An MCP server tailored for React Native–first development using Gluestack UI

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.