MCP server for Dart/Flutter workspace automation, providing tools for project management, code analysis, testing, and dependency management
Cockpit MCP provides 19 well-structured tools with complete JSON Schema definitions and consistent naming patterns (verb_noun: root_register, workspace_unregister, target_discover, etc.). All tools have descriptions (avg ~80 chars) and input schemas with type constraints. However, parameter descriptions are sparse or missing entirely, most params lack explanatory text beyond the name. Output schemas are not documented in the visible code. Error handling guidance is absent; tools declare risk levels (READ_ONLY, WRITE, DESTRUCTIVE) but do not specify recovery paths or actionable error messages. No evidence of pagination support for list operations. Tool composition is sound (single responsibility, clear chaining via IDs), but descriptions could be more LLM-optimized per the 50 - 200 char baseline.
Analyze selected Dart files or directories and return bounded diagnostics.
Analyze the complete Dart or Flutter workspace.
Apply Dart fixes across the workspace.
Format the workspace or selected indexed Dart files and directories.
Run bounded Dart code-intelligence requests with 1-based positions.
Run a bounded pub command in one explicit Dart or Flutter workspace.
Read or list one package: or package-root: URI without printing binary data.
Parameter descriptions are missing or minimal. Most params (e.g., 'path', 'workspaceId', 'query') lack explanatory text. LLMs cannot infer parameter semantics from names alone and will guess wrong on ambiguous inputs.
Output schemas are not documented. Tools return structured data but the response format is not visible in the provided code. LLMs cannot plan downstream tool calls or extract required fields without knowing the output structure.
No error recovery guidance. Tools declare risk levels (DESTRUCTIVE, WRITE) but do not specify what errors can occur, how to recover, or what the LLM should do next. Error responses will not guide agent behavior.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2025-06-18+ | v2 |
Search selected dependency packages with bounded structured matches.
Register an absolute project root with Supervisor.
Unregister an explicit project root.
Run Dart or Flutter tests for the workspace or selected paths.
Discover locally available launch targets.
Read one registered workspace automation target.
Inspect live capabilities and state for a target.
List registered targets for an explicit workspace.
Register a workspace-owned native or host automation target.
Rebind an explicit workspace to a checkout identity.
Register an explicit workspace checkout.
Unregister an explicit workspace.
List tools lack pagination support. target_list, analyze_files, and similar tools do not expose limit/offset or cursor parameters. Large result sets will blow context windows.
Descriptions are generic and brief (avg ~70 chars). Most lack WHEN to use the tool, prerequisites, or dependencies. E.g., 'Analyze selected Dart files' does not explain when to call it vs analyze_workspace, or what 'maxDiagnostics' controls.