Flutter Tools
Provides diagnostics and fixes for Dart and Flutter files. Requires the Flutter SDK.
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.0node-pty: ^1.0.0which: ^4.0.0
Dev Dependencies
@types/node: ^18.19.0@types/which: ^3.0.3typescript: ^5.3.3
Scripts
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.
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
- Ensure the Flutter SDK is installed and available in your PATH.
- Start the MCP server using the configured command.
- Use the
get_diagnosticsandapply_fixestools as needed.
Example
node /path/to/flutter-tools/build/index.js
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
DevContainer MCP Server
Manage DevContainer environments using natural language prompts in any MCP-compatible editor.
Code Runner MCP
Execute JavaScript and Python code in a secure sandbox. Supports Deno for JS/TS and Pyodide for Python, with configurable permissions.
MCPizer
Enables AI assistants to call any REST API or gRPC service by automatically converting their schemas into MCP tools.
MCP Quickstart
A basic MCP server from the Quickstart Guide, adapted for OpenAI's Chat Completions API.
Create MCP App
Bootstrap Model Context Protocol (MCP) servers and clients in TypeScript with best practices, examples, and proper tooling setup.
DevBrain
Finds relevant code snippets, developer articles, and blog posts based on your queries.
WinTerm MCP
Provides programmatic access to the Windows terminal, enabling AI models to interact with the command line interface.
WOOFi Pro
Provides over 40 comprehensive trading tools for WOOFi Pro and Orderly Network integration.
Model Context Protocol servers
A collection of reference implementations for the Model Context Protocol (MCP), demonstrating secure and controlled access to tools and data sources for Large Language Models (LLMs).
Phabricator
Interacting with Phabricator API