Skip to content
pubscout

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.

$ flutter pub add dart_mcp_server
Source repository

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.

Works with

Packages commonly used together with dart_mcp_server: ones it builds on, ones built on it, and its own family.