Skip to content

analyze_files tool should return error when roots are not set. #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kenzieschmoll opened this issue Apr 22, 2025 · 0 comments
Open
Assignees
Labels

Comments

@kenzieschmoll
Copy link
Contributor

kenzieschmoll commented Apr 22, 2025

The MCP client will be responsible for setting roots, but in the case that roots are not set or where something goes wrong, we should return an error response instead of a false-positive success response.

To do this, we could require roots in the analyze_files schema like we do for the Dart CLI roots that require root(s).

@jakemac53 jakemac53 self-assigned this Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants