dart-mcp
If you are the rightful owner of dart-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A distributable Model Context Protocol (MCP) server that exposes Dart SDK commands for AI-powered development.
The Dart MCP Server is a powerful tool designed to integrate AI coding assistants with Dart and Flutter development workflows. By implementing the Model Context Protocol (MCP), it provides seamless access to a wide range of Dart SDK commands, enhancing the development process with AI capabilities. The server supports various operations such as code analysis, compilation, project creation, documentation generation, and more. It is designed to work across multiple platforms including macOS, Linux, and Windows, and requires minimal configuration to get started. With intelligent path handling and project auto-detection, the Dart MCP Server ensures that developers can focus on coding without worrying about setup complexities. It is compatible with any MCP client, making it a versatile choice for developers looking to integrate AI into their Dart development environment.
Features
- Intelligent Path Handling: Automatically resolves relative paths to absolute paths.
- Project Auto-Detection: Identifies Dart/Flutter projects in common locations.
- Cross-Platform Support: Works on macOS, Linux, and Windows.
- Zero Configuration: Works out of the box with sensible defaults.
- MCP Integration: Compatible with any MCP client, including Windsurf and Cline.
Tools
dart-analyze
Analyze errors, warnings and lints in Dart code
dart-compile
Compile Dart into multiple formats (exe, AOT/JIT snapshot, JavaScript)
dart-create
Create a new Dart project from a template
dart-doc
Generate API documentation for Dart projects
dart-fix
Apply automatic repair to Dart source code
dart-format
Format Dart source code according to style guide
dart-info
Display diagnostic information for installed Dart tools
dart-package
Processing packages (get, add, upgrade, obsolete, etc.)
dart-run
Run the Dart program, support passing parameters
dart-test
Run tests, support filtering and reporting options