Cleanbev MCP server for detecting unused Flutter/Dart assets

Cleanbev MCP server for detecting unused Flutter/Dart assets

mcp-koukibadr•bykoukibadr

An MCP server offering Cleanbev's asset-cleanup workflow, which scans Dart/Flutter projects to find unused assets and asks for confirmation before deleting them.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Scans a Dart/Flutter project to find declared asset files and their usages in code.
  • •Identifies assets that are defined but never referenced in code.
  • •Asks for confirmation before deleting any files, removing only confirmed assets.
  • •Supports a custom assets path, an ignore file, and text or JSON output formats.

BEST FOR

  • •Flutter/Dart developers who want to locate and remove unused asset files from their projects.
  • •Teams wanting to inspect unused assets in a machine-readable format.
  • •Projects needing to exclude certain assets or directories from scanning.

ABOUT MCP-KOUKIBADR

Cleanbev MCP server for detecting unused Flutter/Dart assets is cataloged as an MCP server attributed to koukibadr. An MCP server offering Cleanbev's asset-cleanup workflow, which scans Dart/Flutter projects to find unused assets and asks for confirmation before deleting them. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Cleanbev MCP server for detecting unused Flutter/Dart assets are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does Cleanbev delete unused assets without asking?

No. It asks for confirmation and removes only the assets you approve.

Which directory does Cleanbev scan by default, and can it be changed?

It defaults to the assets directory and can be pointed elsewhere with the --assets-path option.

What are the requirements for using Cleanbev?

It requires Dart SDK 3.11.0 or later.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 5370cbc54bd4 · 采集于 2026-11-13 11:22:46 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Cleanbev

A powerful command-line tool for Dart and Flutter projects that automatically detects unused assets and helps keep your project clean. Cleanbev scans your project for asset references, identifies unused files, and prompts you for confirmation before removing them.

Features

  • 🔍 Automatic Asset Detection: Scans your project to find all asset files and their usage
  • ⚠️ Unused Asset Identification: Identifies assets that are defined but never referenced in code
  • ✅ Safe Deletion: Asks for confirmation before removing any files
  • 🚀 Easy to Use: Simple command-line interface with clear feedback
  • 📊 Detailed Reports: Shows exactly which assets are unused and where used assets are referenced

Installation

As an MCP Server

Install in VS Code Install in VS Code Insiders Install in Visual Studio Install in Cursor

As a Command-Line Tool

1- Activate it globally:

dart pub global activate cleanbev

2 - Run it directly from your project root directory:

dart pub global run cleanbev

Usage

Basic Usage

Run cleanbev in your project root:

cleanbev

By default, it scans the assets/ directory defined in your project.

Custom Asset Path

Specify a custom assets directory:

cleanbev --assets-path assets/images

The default assets directory is assets.

Ignore assets setup

By default cleanbev scan all the folder and its subfolders, you can define .cleanbevignore and add all the assets or path that will be ignored while scanning.

Output format

You can change the output format of cleanbev scan result by providing the --output-format or -o option. By default the output format is text, also you can set it to json.

How It Works

  1. Scanning: Cleanbev reads your pubspec.yaml to find all declared assets
  2. Analysis: It searches your Dart/Flutter code for references to each asset
  3. Reporting: Displays a list of unused assets found
  4. Confirmation: Asks for your approval before deleting any files
  5. Cleanup: Removes only the assets you confirm

Example Output

$ dart pub global run cleanbev --assets-path assets/images

Checking assets in dart files...

✓ Asset assets/images/logo_white_bg.png is not used in the project. Do you want to delete it? · no
Asset assets/images/logo_white_bg.png has not been deleted.

✓ Asset assets/images/download_image-car.jpeg is not used in the project. Do you want to delete it? · yes
Asset assets/images/download_image-car.jpeg has been deleted.

✓ Asset assets/images/home_banner_image.jpg is not used in the project. Do you want to delete it? · no
Asset assets/images/home_banner_image.jpg has not been deleted.

✓ Asset assets/images/onboarding_events.jpg is not used in the project. Do you want to delete it? · no
Asset assets/images/onboarding_events.jpg has not been deleted.

Requirements

  • Dart SDK >= 3.11.0

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Cleanbev MCP server for detecting unused Flutter/Dart assets from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-koukibadr)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools