Dart MCP Server

dart-format

Format Dart code files and directories with customizable options, ensuring consistent style and structure. Optionally set exit code 1 to detect formatting changes.

Input Schema

NameRequiredDescriptionDefault
optionsNoAdditional format options
pathsYesFiles or directories to format
setExitIfChangedNoReturn exit code 1 if there are any formatting changes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "options": { "description": "Additional format options", "items": { "type": "string" }, "type": "array" }, "paths": { "description": "Files or directories to format", "items": { "type": "string" }, "type": "array" }, "setExitIfChanged": { "default": false, "description": "Return exit code 1 if there are any formatting changes", "type": "boolean" } }, "required": [ "paths" ], "type": "object" }

You must be authenticated.

Other Tools from Dart MCP Server

Related Tools

ID: vuwii9l5gu