Flutter Tools MCP Server
The Flutter Tools MCP Server provides tools for analyzing and modifying Dart/Flutter files:
Get Diagnostics: Retrieve diagnostics information for Dart/Flutter files using the
get_diagnosticstool.Apply Fixes: Apply Dart fix suggestions to files using the
apply_fixestool.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Flutter Tools MCP Serverget diagnostics for lib/main.dart"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: Pub.dev MCP Server
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.jsThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceProvides advanced Flutter development tools via Model Context Protocol with features including widget analysis, documentation search, performance optimization, and code generation.Last updated19
- AlicenseAqualityCmaintenanceEnables AI assistants to search, analyze, and retrieve detailed information about Dart and Flutter packages from pub.dev. Supports package discovery, version management, dependency analysis, and documentation access.Last updated6385MIT
- Alicense-qualityDmaintenanceEnables AI coding agents to extract Figma design data and convert it into Flutter widgets and screens. Supports theme setup, component analysis, asset exports, and provides Flutter implementation guidance from Figma designs.Last updated85244MIT
- AlicenseCqualityDmaintenanceEnables comprehensive control of Android devices via ADB for Flutter development, UI testing, and visual QA workflows. Provides 60+ tools for device management, UI inspection, app testing, performance profiling, and debugging through natural language.Last updated77MIT
Related MCP Connectors
Get up-to-date, version-specific documentation and code examples from official sources directly in…
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Flaky test detection, root cause analysis, and fix suggestions for development teams.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dkpoulsen/flutter-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server