Skip to content

Conversation

@PabloTortosaLopez
Copy link

Status

READY

Description

Added MCP support to CLI

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

import 'package:dart_mcp/server.dart';
import 'package:dart_mcp/stdio.dart';
import 'package:mason/mason.dart';
// Note: stream_channel is a transitive dependency via dart_mcp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add it as direct dependency then?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

)
..info(
'''
- packages_check: Verify package licenses for compliance and validation in a Dart or Flutter project.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we change the name of this to be more self-explanatory?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, at this level we can put whatever name we want for the tool. Any suggestions for this one and others?
check_packages_licenses for example

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would join the current commands on the CLI with underscores, in this case: packages_check_licenses

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

marcossevilla
marcossevilla previously approved these changes Nov 18, 2025
Copy link
Member

@marcossevilla marcossevilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! but let's wait for another review from @RuiMiguel and @omartinma

@ryzizub
Copy link
Contributor

ryzizub commented Nov 18, 2025

LGTM! Thanks @RuiMiguel and @PabloTortosaLopez for finishing this up 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants