Cover image
Try Now
2025-02-10

Flutter MCP Server

3 years

Works with Finder

1

Github Watches

2

Github Forks

3

Github Stars

Flutter Tools MCP Server

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • OffchainLabs
  • GO -Umsetzung des Ethereum -Beweises des Anteils

  • huahuayu
  • Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.

  • deemkeen
  • Steuern Sie Ihren MBOT2 mit einer Power Combo: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Message Connector Protocol )服务 , 提供了与钉钉企业应用交互的 api 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • Die Cursor & Windsurf -Community finden Regeln und MCPs

    Reviews

    5 (1)
    Avatar
    user_JkglQ3uq
    2025-04-15

    The heroku-mcp-server by Heroku has been a game-changer for me. It's incredibly user-friendly and integrates seamlessly into my workflow. The setup was quick and hassle-free, and the performance has been consistently reliable. If you're looking for a robust server management solution, I highly recommend checking it out at [Heroku MCP Server](https://mcp.so/server/heroku-mcp-server/heroku).