Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Jul 28, 2025

When the MCP server is initialized outside of an Angular workspace, workspace-specific tools such as list_projects should not be registered as they will not function correctly.

…pace

When the MCP server is initialized outside of an Angular workspace, workspace-specific tools such as  should not be registered as they will not function correctly.
@clydin clydin added target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 28, 2025
@clydin clydin requested a review from alan-agius4 July 28, 2025 16:21
@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 Jul 29, 2025
@clydin clydin merged commit 193b394 into angular:main Jul 29, 2025
33 of 34 checks passed
@clydin
Copy link
Member Author

clydin commented Jul 29, 2025

The changes were merged into the following branches: main, 20.1.x

@clydin clydin deleted the mcp/workspace-specific-tools branch July 29, 2025 14:03

// If run outside an Angular workspace (e.g., globally) skip the workspace specific tools.
// Currently only the `list_projects` tool.
if (!context.workspace) {

Choose a reason for hiding this comment

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

Isn't this condition reverted?

@angular-automatic-lock-bot
Copy link

This issue 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 Aug 29, 2025
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: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants