Each tool takes an options list that passes flags straight through, so behaviour past the named parameters is whatever you send. The named parameters are where the useful control sits: dart-fix separates reporting from applying, dart-format's setExitIfChanged is the difference between a formatter and a check, and dart-compile takes the output format and destination directly rather than through a flag string.
A wrapper over the Dart command line, exposing analyze, compile, create, doc, fix, format, info, package, run and test as separate calls, each taking a path or working directory plus a pass-through options list.
- Static checks and cleanup: dart-analyze over a path, dart-fix to report the available fixes and apply them when asked, dart-format across several paths with setExitIfChanged for a check that can fail a build.
- Tests and scripts: dart-test runs the tests at a path from a working directory, dart-run executes a script with its arguments.
- Build outputs: dart-compile writes a chosen format to an output path, dart-doc generates documentation into an output directory.
- Project setup: dart-create scaffolds from a template into an output directory, dart-package runs a package command with its arguments, dart-info reports the installed toolchain.
A Dart installation on the host, and a project directory for the tools that take a path or workingDir.
One command — npx -y @egyleader/dart-mcp-server
