MCP Server ๐ค
Start the MCP (Model Context Protocol) server for AI assistant integration with very_good mcp.
This command relies on the Dart MCP Server. This is an experimental package and may change or become unstable without notice. Use it with caution at your own risk.
Usageโ
very_good mcp [arguments]
-h, --help Print this usage information.
Run "very_good help" to see global options.
The MCP server exposes Very Good CLI functionality through the Model Context Protocol, allowing AI assistants to interact with the CLI programmatically. This enables automated project creation, testing, and package management through MCP-compatible tools.
Configurationโ
- Claude Desktop
- Claude Code
- Cursor
- VS Code / GitHub Copilot
- Windsurf
Add to claude_desktop_config.json:
{
"mcpServers": {
"very_good_cli": {
"command": "very_good",
"args": ["mcp"]
}
}
}
Add to .claude/settings.json:
{
"mcpServers": {
"very_good_cli": {
"command": "very_good",
"args": ["mcp"]
}
}
}
Add to .cursor/mcp.json:
{
"mcpServers": {
"very_good_cli": {
"command": "very_good",
"args": ["mcp"]
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"very_good_cli": {
"command": "very_good",
"args": ["mcp"],
"type": "stdio"
}
}
}
Add to ~/.windsurf/mcp.json:
{
"mcpServers": {
"very_good_cli": {
"command": "very_good",
"args": ["mcp"]
}
}
}
Available Toolsโ
The MCP server exposes the following tools to AI assistants:
createโ
Create new Dart or Flutter projects from any of the available templates.
testโ
Run tests with optional coverage and optimization. Supports both dart test and flutter test via a dart parameter.
See the test command for more details.
packages_getโ
Install or update Dart/Flutter package dependencies.
See the get packages command for more details.
packages_check_licensesโ
Check packages for license compliance.
See the check licenses command for more details.