- Home
- MCP servers
- Flutter Tools
Flutter Tools
- javascript
8
GitHub Stars
javascript
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"dkpoulsen-flutter-tools": {
"command": "node",
"args": [
"/path/to/flutter-tools/build/index.js"
]
}
}
}The Flutter Tools MCP Server provides utilities to analyze Dart/Flutter files and automatically apply fixes, enabling you to diagnose and remedy issues directly through an MCP client.
How to use
You will connect an MCP client to the Flutter Tools MCP Server to run diagnostics and apply fixes on your Dart/Flutter projects. Use the available tools to inspect a file for Flutter/Dart issues and then apply suggested fixes in place. Start the server with the configured runtime command, then issue tool calls from your client to request diagnostics or apply fixes. The two core tools are get_diagnostics and apply_fixes.
How to install
Prerequisites you need before starting: Node.js and a Flutter SDK installed on your machine, with both binaries available in your PATH.
Configure MCP to run the server locally using the stdio method. The server runs as a small Node process that starts the Flutter Tools runtime.
{
"mcpServers": {
"flutter_tools": {
"command": "node",
"args": ["/path/to/flutter-tools/build/index.js"],
"env": {}
}
}
}
Additional notes
When you start the MCP server, ensure Node.js can execute the script at the given path. The Flutter Tools runtime expects a Dart/Flutter project file to analyze or fix, so point tools at the Dart/Flutter file you want to inspect or modify.
Available tools
get_diagnostics
Get Flutter/Dart diagnostics for a file. Accepts a single input: the path to the Dart/Flutter file.
apply_fixes
Apply Dart fix suggestions to a file. Accepts a single input: the path to the Dart/Flutter file.