flutter-tools
flutter mcp server
Documentation
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.jsFrequently asked questions
What is flutter-tools?
flutter-tools is flutter mcp server
How do I install flutter-tools?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is flutter-tools open source?
Yes — it is hosted on GitHub at https://github.com/dkpoulsen/flutter-tools and has 7 stars.
Related MCP tools
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. Built for the Model Context Protocol to enhance AI capabiliti
Fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的mcp框架。 JavaScript-based implementation. Trusted by 12000+ developers.
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities JavaScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP