Dart MCP server

  • official
  • dart mcp-server
  • works on latest Dart only (3.9.0-163.0.dev and later)
9 Likes

Does anyone have a working setup for GitHub Copilot?

I’m going to try following for now

{ 
"mcpServers": {
  "dart": {
        "type": "local",
        "command": "dart",
        "args": [
          "mcp-server"
        ],
        "tools": ["*"]
      }
  }
}

the doc says it should work out of the box if dart code extension >= v3.116

on the vs code marketplace the extension is 3.115

Should that already work worth the latest Flutter version?

https://medium.com/flutter/supercharge-your-dart-flutter-development-experience-with-the-dart-mcp-server-2edcc8107b49

Ander Dobo, Product Manager for Flutter at Google, writes in his medium article:
„requires the Dart SDK 3.9/Flutter 3.35 beta or later“

1 Like

Interesting. This will allow the agents to get proper error details. If this also includes the screenshot tool, then building UI can be automated easily.

Currently, I am using this