cleanbev-mcp
v0.2.0MCP server for cleanbev – clean unused Flutter assets via AI tools
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
verify_flutter_project
Verify whether a given directory is a valid Flutter project. Checks performed: 1. Directory exists 2. pubspec.yaml is present 3. pubspec.yaml contains a valid 'flutter' SDK dependency 4. lib/ directory exists 5. A main entry point exists (lib/main.dart or bin/*.dart) Args: project_path: Absolute path to the project root directory. Returns: JSON with is_flutter (bool), checks (dict of each test), and a summary message.
| Parameter | Type | Description |
|---|---|---|
project_path * | string |
scan_assets
Scan a Flutter project for unused assets WITHOUT deleting anything. If unused_count is 0, stop — do NOT call clean_assets. Only call clean_assets if unused_count > 0 AND user confirms.
| Parameter | Type | Description |
|---|---|---|
project_path * | string |
clean_assets
Delete unused assets ONLY after the user has reviewed the scan results and explicitly confirmed. Requires confirmed=True — this is the safety gate. IMPORTANT: Always call scan_assets() first and present results to the user. Only call this tool after the user says 'yes', 'confirm', 'go ahead', etc. Args: project_path: Absolute path to the Flutter project root. confirmed: Must be True — set only after explicit user approval. Returns: JSON with deletion results or rejection message.
| Parameter | Type | Description |
|---|---|---|
project_path * | string | |
confirmed | boolean |