Dart MCP Server

dart-compile

Input Schema

NameRequiredDescriptionDefault
formatYesOutput format for the compilation
optionsNoAdditional compilation options
outputNoOutput file path
pathYesPath to the Dart file to compile

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "format": { "description": "Output format for the compilation", "enum": [ "exe", "aot-snapshot", "jit-snapshot", "kernel", "js" ], "type": "string" }, "options": { "description": "Additional compilation options", "items": { "type": "string" }, "type": "array" }, "output": { "description": "Output file path", "type": "string" }, "path": { "description": "Path to the Dart file to compile", "type": "string" } }, "required": [ "format", "path" ], "type": "object" }