Skip to content

feat(@angular/cli): add update guide mcp tool #30722

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
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sinedied
Copy link
Contributor

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

No MCP tool to provide Angular update guidance.

What is the new behavior?

This PR introduces the update_guide MCP tool that provides the same update info as on https://angular.dev/update-guide but in a convenient way to be used by LLMs.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

The recommendations.ts is directly copied from https://github.com/angular/angular/blob/main/adev/src/app/features/update/recommendations.ts

I think a sync mechanism should be implemented, or the website could provide a JSON format that could loaded dynamically. I'm all open for suggestions regarding this, to make sure these files are synced.
Simplest idea I have: add a basic curl that fetches the files before building.

Also, regarding the windows parameter, I used Node.js platform detection to automatically infer it, but let me know if you would prefer to still have it as an option of the tool.

@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detected: feature PR contains a feature commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant