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
Máy chủ liên quan
Alpha Vantage MCP Server
nhà tài trợAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
debug-mcp
MCP server exposing .NET debugging as 34 AI-accessible tools via ICorDebug APIs — breakpoints, stepping, inspection, exception autopsy, and code analysis.
Binalyze AIR MCP Server
Interact with Binalyze AIR's digital forensics and incident response capabilities using natural language.
limelink-mcp-server
MCP server for managing Limelink dynamic links with platform-specific deep linking (iOS/Android), social previews, and UTM tracking
MCP Todo Server
A demo Todo application server built with a clean architecture using MCPServer and JSON Placeholder.
Eterna MCP
Managed MCP server for Bybit perpetual futures trading. Isolated sub-accounts, built-in risk management, 12 trading tools.
Arch Tools
53 production-ready AI tools via MCP with x402 USDC payments on Base L2 — web scraping, crypto data, AI generation, OCR, and more.
GrowthBook
Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.
atlassian-browser-mcp
rowser-backed MCP wrapper for mcp-atlassian with Playwright SSO auth. Enables AI tools to access Atlassian Server/Data Center instances behind corporate SSO (Okta, SAML, ADFS) where API tokens are not available.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
Gemini MCP Tool
A server for integrating with the Google Gemini CLI to perform AI-powered tasks.