dart-mcp
5
The Dart MCP Server is a Model Context Protocol server facilitating AI-powered development by exposing Dart SDK commands. It supports multiple platforms and functions seamlessly without configuration, enhancing workflows for Dart and Flutter development environments.
Dart MCP Server
A distributable Model Context Protocol (MCP) server that exposes Dart SDK commands for AI-powered development. This server bridges the gap between AI coding assistants and Dart/Flutter development workflows by implementing the Model Context Protocol (MCP).
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.
Prerequisites
- Node.js: 18.x or higher
- Dart SDK: 3.0 or higher installed and available in your PATH
Installation
- Via Smithery:
npx -y @smithery/cli install @egyleader/dart-mcp --client claude
- Using npx:
npx @egyleader/dart-mcp-server
- Global Installation:
npm install -g @egyleader/dart-mcp-server
- From Source: Clone, install dependencies, build, and run.
Integration with MCP Clients
- Windsurf / Codeium IDE Configuration: Add configuration in your IDE's
mcp_config.json
file for integration.
License
Licensed under the MIT License.