About Cleanbev Mcp
Cleanbev Mcp wraps the cleanbev Dart CLI package as an MCP server for cleaning unused assets in Flutter projects. It is intended for AI tools that support MCP and documents setup across several development clients.
Key features
- 01Find unused Flutter assets
- 02Run cleanbev through MCP
- 03UVX package setup
- 04Multiple client configuration guides
Use cases
- 01Clean unused assets in a Flutter project
- 02Run asset cleanup from an MCP-compatible AI tool
MCP support
It wraps cleanbev as an MCP server and makes its Flutter asset cleanup capability available to MCP-compatible clients. The README provides setup instructions for several clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEcleanbev-mcp
MCP server for cleanbev — clean unused Flutter assets from any MCP-compatible AI tool.
Requirements
- Dart SDK on PATH
dart pub global activate cleanbev
Getting Started
Quick Install
Click one of the buttons below to install the MCP server in your preferred IDE:
Manual Installation
Standard config works in most tools:
{
"servers": {
"cleanbev-mcp": {
"command": "uvx",
"args": [
"--from",
"cleanbev-mcp",
"cleanbev-mcp"
],
"env": {}
}
}
}
VS Code
Click the button to install:
Or install manually:
Follow the MCP install guide, use the standard config above. You can also install the cleanbev-mcp MCP server using the VS Code CLI:
code --add-mcp '{\"name\":\"cleanbev-mcp\",\"command\":\"uvx\",\"args\":[\"--from\",\"cleanbev-mcp\",\"cleanbev-mcp\"],\"env\":{}}'
After installation, the cleanbev-mcp MCP server will be available for use with your GitHub Copilot agent in VS Code.
VS Code Insiders
Click the button to install:
Or install manually:
Follow the MCP install guide, use the standard config above. You can also install the cleanbev-mcp MCP server using the VS Code Insiders CLI:
code-insiders --add-mcp '{\"name\":\"cleanbev-mcp\",\"command\":\"uvx\",\"args\":[\"--from\",\"cleanbev-mcp\",\"cleanbev-mcp\"],\"env\":{}}'
After installation, the cleanbev-mcp MCP server will be available for use with your GitHub Copilot agent in VS Code Insiders.
Visual Studio
Click the button to install:
Or install manually:
- Open Visual Studio
- Navigate to the GitHub Copilot Chat window
- Click the tools icon (🛠️) in the chat toolbar
- Click the + "Add Server" button to open the "Configure MCP server" dialog
- Fill in the configuration:
- Server ID:
cleanbev-mcp - Type: Select
stdiofrom the dropdown - Command:
uvx - Arguments:
--from cleanbev-mcp cleanbev-mcp
- Server ID:
- Click "Save" to add the server
For detailed instructions, see the Visual Studio MCP documentation.
Cursor
Click the button to install:
Or install manually:
Go to Cursor Settings -> MCP -> Add new MCP Server. Name to your liking, use command type with the command from the standard config above. You can also verify config or add command like arguments via clicking Edit.
Claude Code
Use the Claude Code CLI to add the cleanbev-mcp MCP server:
claude mcp add cleanbev-mcp uvx --from cleanbev-mcp cleanbev-mcp
Claude Desktop
Follow the MCP install guide, use the standard config above.
Warp
Go to Settings -> AI -> Manage MCP Servers -> + Add to add an MCP Server. Use the standard config above.
Alternatively, use the slash command /add-mcp in the Warp prompt and paste the standard config from above.
GitHub Copilot CLI
GitHub Copilot CLI supports adding MCP servers interactively and through a config file.
Option 1: Interactive setup with /mcp add
- Open GitHub Copilot CLI in interactive mode.
- Run
/mcp add. - Enter Server Name:
cleanbev-mcp. - Choose Server Type:
STDIOfor command-based serversHTTPfor remote servers
- Fill in command/url settings from the standard config above and set Tools to
*. - Press
Ctrl+Sto save.
Option 2: Edit ~/.copilot/mcp-config.json
{
"mcpServers": {
"cleanbev-mcp": {
"command": "uvx",
"args": [
"--from",
"cleanbev-mcp",
"cleanbev-mcp"
],
"env": {},
"type": "local",
"tools": [
"*"
]
}
}
}
For more information, see the GitHub Copilot CLI MCP documentation.
GitHub Copilot Coding Agent
GitHub Copilot Coding Agent can use MCP servers to extend its capabilities. Use the configuration below specifically formatted for the Coding Agent:
{
"mcpServers": {
"cleanbev-mcp": {
"command": "uvx",
"args": [
"--from",
"cleanbev-mcp",
"cleanbev-mcp"
],
"env": {},
"type": "local",
"tools": [
"*"
]
}
}
}
Add this configuration to your repository settings under Copilot > Coding agent. The "tools": ["*"] setting enables all available tools from the MCP server.
For more information, see the GitHub Copilot Coding Agent MCP documentation.
Configuration Details
- Server Name:
cleanbev-mcp - Type: UVX Package
- Package:
cleanbev-mcp - From:
cleanbev-mcp
Need Help?
For more information about the Model Context Protocol, visit modelcontextprotocol.io.
For any other issues, consider opening an issue on the cleanbev GitHub repository
Contributing
Contributions to the Cleanbev MCP are welcome! If you have ideas for improvements or want to report bugs, please open an issue or submit a pull request on the cleanbev GitHub repository.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.