Skip to content

refactor(@angular/cli): add architect target discovery to list_projects MCP tool - #33208

Merged
clydin merged 1 commit into
angular:mainfrom
clydin:feat/mcp-list-projects-targets
May 19, 2026
Merged

refactor(@angular/cli): add architect target discovery to list_projects MCP tool#33208
clydin merged 1 commit into
angular:mainfrom
clydin:feat/mcp-list-projects-targets

Conversation

@clydin

@clydin clydin commented May 16, 2026

Copy link
Copy Markdown
Member

Enhance the list_projects MCP tool to extract and provide configured architect targets (e.g., lint, e2e, serve, deploy) in the tool's output schema.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds the ability to extract and list available architect targets (such as build, test, and lint) for Angular projects within the MCP tools. The changes include updating the project output schema, adding a new use case to the documentation, and implementing the logic to retrieve target keys from the workspace configuration. A new test suite, projects_spec.ts, was also introduced to verify that targets are correctly identified and returned. The reviewer provided feedback to improve the formatting of user-facing strings by removing commas immediately following the 'e.g.' abbreviation.

Comment thread packages/angular/cli/src/commands/mcp/tools/projects.ts Outdated
Comment thread packages/angular/cli/src/commands/mcp/tools/projects.ts
@clydin
clydin force-pushed the feat/mcp-list-projects-targets branch from 166c2dc to cb9fdda Compare May 16, 2026 14:46
…ts MCP tool

Enhance the `list_projects` MCP tool to extract and provide configured architect targets (e.g., `lint`, `e2e`, `serve`, `deploy`) in the tool's output schema.
@clydin
clydin force-pushed the feat/mcp-list-projects-targets branch from cb9fdda to 6c088c3 Compare May 16, 2026 14:48
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label May 16, 2026
@clydin
clydin requested a review from alan-agius4 May 16, 2026 14:48
@clydin clydin added the target: rc This PR is targeted for the next release-candidate label May 16, 2026
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 19, 2026
@clydin
clydin merged commit d32bfd9 into angular:main May 19, 2026
64 of 65 checks passed
@clydin

clydin commented May 19, 2026

Copy link
Copy Markdown
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

@clydin
clydin deleted the feat/mcp-list-projects-targets branch May 19, 2026 10:42
@angular-automatic-lock-bot

Copy link
Copy Markdown

This pull request has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jun 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/cli target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants