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
Похожие серверы
Scout Monitoring MCP
спонсорPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
спонсорAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
reptor-mcp
An MCP server for Reptor/SysReptor that exposes the reptor CLI tool as a programmable service, configured via environment variables.
chuk-mcp
A Python client for the Model Context Protocol (MCP), an open standard for connecting AI assistants to external data and tools.
AI Studio MCP Server
Integrates with Google AI Studio/Gemini API for PDF to Markdown conversion and content generation.
Vercel Domains MCP
Query domains on Vercel
Video Agent MCP Server
An MCP server for AI-powered video creation using the FAL AI API.
即梦AI多模态MCP
A multimodal generation service using Volcengine Jimeng AI for image generation, video generation, and image-to-video conversion.
PentestGPT-MCP
An advanced penetration testing tool for automated, LLM-driven security assessments using tools like nmap and dirb.
Ping MCP Server
An MCP server providing on-chain AI tools for seamless interaction with the Solana blockchain.
Micronaut Fun
It exposes Micronaut framework documentation and guides as MCP resources, it offers tools to search the docs and prompts to help you write tests and perform tasks in an idiomatic way
NmapMCP
Integrates the Nmap network scanning tool with MCP, enabling network scanning capabilities within MCP-compatible environments.