Skip to main content
Glama

Dart MCP Server

by egyleader

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/egyleader/dart-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server