dart_mcp_server
1.2.2, released 3 weeks ago by tools.dart.dev
An MCP server for Dart projects, exposing developer tools to AI models.
What it does
The Dart Tooling MCP Server exposes Dart and Flutter development tool actions to compatible AI-assistant clients. It allows AI models to interact with running applications, run tests, analyze code, and manage project dependencies via the Model Context Protocol.
AI-written summary of version 1.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to connect AI-assistant clients like Gemini CLI, Cursor, or GitHub Copilot to your Dart or Flutter project.
- You want AI models to perform actions like hot reload, error inspection, and code analysis during development.
Skip it when
- You are building a production Flutter client application rather than setting up a development environment toolchain.
- Your MCP client does not support standard I/O (stdio) transport or the required MCP concepts.
Strengths
- Integrates seamlessly with popular AI agents and IDEs supporting the Model Context Protocol.
- Provides extensive tooling coverage for Dart and Flutter development workflows.
Weaknesses
- Still experimental (WIP) and subject to rapid evolution.
- Requires specific toolchain versions and setup steps for each AI client.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 23
Requires Dart 3.9.0-163.0.dev or later and configuration in your MCP client's settings file.
{
"mcpServers": {
"dart": {
"command": "dart",
"args": [
"mcp-server"
]
}
}
}Alternatives
Packages that do the same job and could replace dart_mcp_server.
- mcp_dart
Dart and Flutter SDK for building Model Context Protocol clients, servers, and AI tools.
94Compare - flutter_local_ai
Unified API for on-device AI inference using native OS models.
89Compare - anthropic_sdk_dart
Dart client for the Anthropic API with streaming and tool support
86Compare - nobodywho
Run local LLMs, vision, embeddings, RAG, tool calling, STT, and TTS on mobile and desktop.
80Compare
Works with
Packages commonly used together with dart_mcp_server: ones it builds on, ones built on it, and its own family.
- vm_servicedart_mcp_server depends on itA library to communicate with a service implementing the Dart VM service protocol.
- yamldart_mcp_server depends on itA Dart library for parsing YAML documents into Dart data structures.
- mimedart_mcp_server depends on itUtilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
- package_configdart_mcp_server depends on itRead and write Dart package configuration files.
- pooldart_mcp_server depends on itManage a finite pool of resources to control concurrent operations.
- asyncdart_mcp_server depends on itUtility classes and helpers that extend Dart's async library.
- processdart_mcp_server depends on itPluggable, mockable process invocation abstraction for Dart.
- argsdart_mcp_server depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.